Article Trunk



Building a Card Playing Twitter Bot: Storing and Retrieving Game State To/From AWS DynamoDB

07.13.2018 · Posted in Computer Articles
I recently built a Twitter Bot that plays Blackjack. Here are my previous posts so far if you are catching up:

Since interaction with the Bot is via Twitter, there will be an unknown length of time between when a player chooses to reply and interact with the bot, which could be seconds, minutes, or days. Therefore, we need to store the gameplay state for each player, retrieve it on the next interaction from the user, and store it again after the response from the bot while we wait for the next player interaction.

Leave a Reply

You must be logged in to post a comment.

%d bloggers like this: