Skip to content

Tofame/UltimateTicTacToeV2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Information

This project was made as a part of learning process/curriculum of PJATK University, fully developed by me.

Ultimate tic-tac-toe (also known as super tic-tac-toe, meta tic-tac-toe or (tic-tac-toe)²[1]) is a board game composed of nine tic-tac-toe boards arranged in a 3 × 3 grid.[2][3] Players take turns playing on the smaller tic-tac-toe boards until one of them wins on the larger board. Compared to traditional tic-tac-toe, strategy in this game is conceptually more difficult and has proven more challenging for computers.

RULES

Just like in regular tic-tac-toe, the two players (X and O) take turns, starting with X. The game starts with X playing wherever they want in any of the 81 empty spots. Next the opponent plays, however they are forced to play in the small board indicated by the relative location of the previous move. For example, if X plays in the top right square of a small (3 × 3) board, then O has to play in the small board located at the top right of the larger board. Playing any of the available spots decides in which small board the next player plays.

If a move is played so that it is to win a small board by the rules of normal tic-tac-toe, then the entire small board is marked as won by the player in the larger board. Once a small board is won by a player or it is filled completely, no more moves may be played in that board. If a player is sent to such a board, then that player may play in any other board. Game play ends when either a player wins the larger board or there are no legal moves remaining, in which case the game is a draw.

GAME FEATURES

Game Modes:

  • Player VS AI
  • Player1 vs Player2

Game Saving/Loading:

It's possible to save a game anywhere on your PC and then load the same file, so you can continue your game.

Moves History:

Every move is logged, and the state of the board when move was done is saved into a panel on the left side of the screen. The bottom one is the most recent move.

IMAGE

image

About

Cleaner version of UltimateTicTacToeV2

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages