# Tic Tac Toe notes ## Checkpoint 1 Notes Which class is responsible for each of the following behaviors? For each, explain how the behavior is accomplished. ### Checking to see whether the game is over ttt.game.TTTGame It checks whether the board is full or if a player has won to determine if the game has ended. ### Determining which actions are available at a particular state ttt.game.TTTGame It returns the list of empty spaces for the player to place symbols on. ### Showing the board ttt.view.TTTView It prints the current board, showing the current available spaces. ### Choosing which action to play on a turn ttt.player.TTTHumanPlayer It prompts the player to choose which board space to place the corresponding symbol on. ## Checkpoint 2 Notes ### TTT Strategy For each of the following board states, if you are playing as X and it's your turn, which action would you take? Why? | O | O | | O | X | X | O | ---+---+--- ---+---+--- ---+---+--- ---+---+--- X | X | | X | X | O | O | | ---+---+--- ---+---+--- ---+---+--- ---+---+--- | | | | O | | | | ### Initial game state You can get the inital game state using game.get_initial_state(). What is the current and future reward for this state? What does this mean?