From 2d453c58139cf9bfd0e8877ebae262e9144d83e6 Mon Sep 17 00:00:00 2001 From: Chris Proctor Date: Tue, 22 Aug 2023 16:15:37 -0400 Subject: [PATCH] Update notes --- notes.md | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/notes.md b/notes.md index 11410b1..67cc9f6 100644 --- a/notes.md +++ b/notes.md @@ -1,13 +1,35 @@ -# Reading the code in Tic Tac Toe +# 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 +### Checking to see whether the game is over -## Determining which actions are available at a particular state +### Determining which actions are available at a particular state -## Showing the board +### Showing the board + +### Choosing which action to play on a turn + + +## 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? -## Choosing which action to play on a turn