• Tried playing Poker at school
    • No physical chips
    • Tried managing with a calculator, but it was too difficult
  • So, quickly made a LINE Bot

How to use: “set ” Set your chip count (like at the start of a game) ”” Bet the specified number of chips, which will be added to the pot “allin” Go all-in “win” Win all the money in the pot “win ” Win a portion of the money in the pot “now” View the current pot amount and player’s chip count

(The pot refers to the chips currently on the table)

image

  • Something like this

  • I want to be someone who can quickly implement things like this

  • Implementation

    • Rough implementation for now
    • Since bets can be made frequently in a short period of time, if the numbers are directly changed, one of the bets may not be recorded
      • To ensure the consistency of bets at the minimum, I implemented a system that accumulates the recorded data as a difference
      • Other processes (like winning the pot) are not implemented because they are troublesome
        • Generally, assuming good intentions
      • If you really want to do it properly, you need to ensure ACID Properties or something similar
        • Prepare a queue and process sequentially
  • Amazing (rickshinmi)

    • It would be even more interesting if you could set BB/SB/Anti
    • Currently, we’re just playing casually at school (without distinguishing BB/SB), but I would like to implement it more accurately (blu3mo)
  • Using a rich menu might make it more user-friendly in terms of GUI (tkgshn)