This submit was meant to understand and state

which classes were responsible for each aspect of
the game.

What I changed
Notes.md was changed to reflect responses to Checkpoint 1.

Why I changed it
Checkpoint 1 required us to reflect on the code thus far in order to fully understand it.

Estimate for remaining time to finish assignment: 4-8 hours based on availabilty of peers
This commit is contained in:
Justin Toombs 2024-02-12 20:52:39 -05:00
parent 84e462ac43
commit 46e45b2b6f
2 changed files with 5 additions and 5 deletions

View File

@ -6,13 +6,13 @@ 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
While view.py appears to be printing the messages involved, it seems that game.py is checking when the game is over within the TTTGame class and determining who the winner is, but there is currently no win condition. It should then be triggered with the is_over method.
### Determining which actions are available at a particular state
Once again, the TTTGame class seems responsible for determining which actions are available at a particular state.
### Showing the board
The board is shown using TTTView with the methods for print_board() and get_action().
### Choosing which action to play on a turn
A player can choose which action to play on a turn from within the TTTHumanPlayer with the method for choose_action().
## Checkpoint 2 Notes

View File

@ -6,7 +6,7 @@ authors = ["Chris Proctor <chris@chrisproctor.net>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.11"
python = "^3.10"
click = "^8.1.3"
[tool.poetry.dev-dependencies]