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.
Laisser un commentaire
Participez-vous à la discussion?N'hésitez pas à contribuer!