1. The Model
This game heavily relied on the MVC structure for its own code structure. The Model refers to the structure of the board and the technicalities of the game. Functions such as "new_board", which created the board, and "has_move", which checks which player's turn it is, are a part of. |