ScratchData LogoScratchData
Back to Eineki's profile

APE 21

EIEineki•Created February 10, 2017
APE 21
4
2
29 views
View on Scratch

Instructions

21 is a game with 21 coins and two players. The players alternates flipping 1, 2 or three coins when it is their turn. The player that flips the last coin wins the game. On your turn, click on the chips. If you want to flip less than three chips then press the "done" button in the bottom right corner of the stage. The AI does not have any programmed strategy to follow, it try to discover the right moves by trials and errors. For every games, Pico will change his opinion on the moves he played, increasing their values when he wins and decreasing them if the user wins the game. Play the games and try to define a better learning strategy (the actual one is quite naive and needs tuning.

Project Details

Project ID144590754
CreatedFebruary 10, 2017
Last ModifiedMay 20, 2025
SharedFebruary 14, 2017
Visibilityvisible
CommentsAllowed