You can remix this project to use the Minimax algorithm with the upgrade alpha-beta in any of your games For those who don't know, this algorithm give the value of a position, and for that, it suppose that the 2 players are playing the bests moves possible It also gives you the best move (stored in "Position") You can set a max deep (do it if the game if big and complex), but you will need to program the evaluate function, else you can let it blank, and it will set a max deep of 200 000 (due to scratch limitations) Due to Scratch limitations, you can't use it if there are more than 200000 moves in a turn or/and 200000 turns