October 2017
Beginner to intermediate
464 pages
12h 35m
English
One of the most universally played childhood games is Tic-Tac-Toe. In a three-by-three matrix, each player takes turns marking an X or an O until one player gets three in a row, horizontally, vertically, or diagonally.
Sounds simple, doesn’t it? But to handle all aspects of the game is far from trivial. This chapter attacks the problem in several steps.
Creating the board and permitting moves
Determining the winner
Implementing ...
Read now
Unlock full access