From 46e45b2b6f26d93d53342d684d10ceb24b04256e Mon Sep 17 00:00:00 2001 From: Justin Toombs Date: Mon, 12 Feb 2024 20:52:39 -0500 Subject: [PATCH] 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 --- notes.md | 8 ++++---- pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/notes.md b/notes.md index 67cc9f6..049b055 100644 --- a/notes.md +++ b/notes.md @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 41263d3..7b118a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Chris Proctor "] license = "MIT" [tool.poetry.dependencies] -python = "^3.11" +python = "^3.10" click = "^8.1.3" [tool.poetry.dev-dependencies]