5 scripts, two sprites, and exactly 1143 blocks of code later, a working 1 player tic-tac-toe game with a smart AI is here. In this game, you use the keys 1-9 to choose which spot you want to go to. The objective of the game is to get three in a row. You can win diagonal, up and down, or left and right. Player 1 is X, and goes fist, while player 2 is O, and goes second. Here is a key for the spots Top left is 1 Top middle is 2 Top right is 3 Middle left is 4 Middle middle is 5 Middle right is 6 Bottom left is 7 Bottom middle is 8 Bottom right is 9
Try my two player version here: https://scratch.mit.edu/projects/1264181522/ Decently smart, and the code inside is pretty easy to understand Code: @tacopantslover Art: @tacopantslover Music: @tacopantslover Inspiration: The original tic-tac-toe game Special Thanks: @Year3GC @dinoracer @10goto10 @francottt (bug test and be featured here)