The rules of the game of tic-tac-toe implemented in this project:
(1) players take turns one after another
(2) a player can be another person or a computer
(3) a victory is considered to be filling a diagonal, vertical or horizontal with symbols of the same type, either X or O.
(4) a draw is considered to be filling all the cells of the playing field without anyone winning.