Skip to content

denisnumb/python-ultimate-tictactoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe²


Rules of the game Tic Tac Toe².

The playing field consists of 9 fields, 3 by 3 cells:

image

Each field is a separate tic-tac-toe playing field, separate from the others.


Start of the game

  • The game involves 2 players who take turns making moves - drawing signs in free cells.

  • The game begins with the 1st player choosing 1 of 9 fields from which the game will begin.


Rules of the game

  1. Transition

    • When choosing a cell position, the move goes to the field of the same position:

image

  1. Locking fields

    • When one of the players wins or the field is filled, the field is blocked and takes the value of the winner or draw.(Example 1)

    • When a move moves to a blocked field, the move moves to the nearest free field:

Example 1

image


End of the game

  • The game continues until the filled fields of one player form a row:

image

The crosses won

  • If there is no winning row of fields, the player with the most filled fields wins:

image

The crosses won

About

Python PyQt5 Ultimate TicTacToe implementation with multiplayer mode

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •