Adds a textual blackjack game on XMTP using message-kit against a dealer bot agent
This takes advantage of the chat interface and features of message kit to extend entertainment to XMTP. In particular, it allows the user to play a game of blackjack against the dealer, where the user can decide to bet various amounts against the dealer.
The user starts with an amount of $1000 cash, where they can bet an amount of $1-1000. Depending on the sequence of decisions to hit "h" or stand "s" they either increase or decrease their net amount.
Technologies: Message-kit and XMTP Techstack: node and typescript
The codebase was mainly adapted by the one-to-one example as providing in the message-kit source code. The blackjack game interface and game states are stored locally, which allows for ease of development and use.