Catrobat

Tic Tac Toe (advanced with AI)

Code a version of the Game Tic Tac Toe in Pocket Code. Including an AI opponent. Devide the screen into 9 quadrants. Take turns with your DeviceAI setting X and O First one getting 3 in a row (row, collum or diagonaly) wins. You should include a victory screen for the player who has won the game.

Use the TicTacToe wiki article to look up the best strategies and include it in your AI As long as your opponent can play with you the task is completed. Although try to make your opponent as smart as possible.

Choose an interesting design for your app and make it visually appealing!

Task tags

  • ai
  • games
  • tictactoe

Students who completed this task

Ɓukasz Ameljan, PMS

Task type

  • code Code
  • web Design
close

2018