generated from mwc/lab_tic_tac_toe
Completed notes.md for checkpoint 1 in tic tac toe
What I changed (Replace this with a description of what you changed in this commit. This should be 1-2 sentences.) Why I changed it (Describe why you made these changes. Were you working toward a goal? Did you reorganize your code? This should be 1-2 sentences.) Estimate for remaining time to finish assignment: [30 min]
This commit is contained in:
parent
5a1c0ce372
commit
c8b6d79b8f
9
notes.md
9
notes.md
|
@ -6,12 +6,21 @@ Which class is responsible for each of the following behaviors?
|
||||||
For each, explain how the behavior is accomplished.
|
For each, explain how the behavior is accomplished.
|
||||||
|
|
||||||
### Checking to see whether the game is over
|
### Checking to see whether the game is over
|
||||||
|
TTTGame checks whether the board is full and which player (if any)
|
||||||
|
wins. If a player meets a win condition (yet to be defined) or
|
||||||
|
if all spaces are full and no additional moves are possible, the
|
||||||
|
end of the game is (or should be) triggered in is_over()
|
||||||
|
|
||||||
### Determining which actions are available at a particular state
|
### Determining which actions are available at a particular state
|
||||||
|
TTTGame generates the list of available actions based on the current state
|
||||||
|
|
||||||
### Showing the board
|
### Showing the board
|
||||||
|
TTTView controls generating the board and printing it to the screen through
|
||||||
|
the print_board() and get_action() methods
|
||||||
|
|
||||||
### Choosing which action to play on a turn
|
### Choosing which action to play on a turn
|
||||||
|
TTTHumanPlayer allows the user to play an action based on the list of
|
||||||
|
available actions generated
|
||||||
|
|
||||||
|
|
||||||
## Checkpoint 2 Notes
|
## Checkpoint 2 Notes
|
||||||
|
|
|
@ -1,15 +1,14 @@
|
||||||
# This file is automatically @generated by Poetry 1.4.0 and should not be changed by hand.
|
# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand.
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "click"
|
name = "click"
|
||||||
version = "8.1.3"
|
version = "8.1.7"
|
||||||
description = "Composable command line interface toolkit"
|
description = "Composable command line interface toolkit"
|
||||||
category = "main"
|
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=3.7"
|
python-versions = ">=3.7"
|
||||||
files = [
|
files = [
|
||||||
{file = "click-8.1.3-py3-none-any.whl", hash = "sha256:bb4d8133cb15a609f44e8213d9b391b0809795062913b383c62be0ee95b1db48"},
|
{file = "click-8.1.7-py3-none-any.whl", hash = "sha256:ae74fb96c20a0277a1d615f1e4d73c8414f5a98db8b799a7931d1582f3390c28"},
|
||||||
{file = "click-8.1.3.tar.gz", hash = "sha256:7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e"},
|
{file = "click-8.1.7.tar.gz", hash = "sha256:ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de"},
|
||||||
]
|
]
|
||||||
|
|
||||||
[package.dependencies]
|
[package.dependencies]
|
||||||
|
@ -19,7 +18,6 @@ colorama = {version = "*", markers = "platform_system == \"Windows\""}
|
||||||
name = "colorama"
|
name = "colorama"
|
||||||
version = "0.4.6"
|
version = "0.4.6"
|
||||||
description = "Cross-platform colored terminal text."
|
description = "Cross-platform colored terminal text."
|
||||||
category = "main"
|
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7"
|
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7"
|
||||||
files = [
|
files = [
|
||||||
|
@ -29,5 +27,5 @@ files = [
|
||||||
|
|
||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.0"
|
lock-version = "2.0"
|
||||||
python-versions = "^3.11"
|
python-versions = "^3.10"
|
||||||
content-hash = "101b8706a8befcaae12f34f371e35e5bc371645d8ce2747a4b32cca44ff8e832"
|
content-hash = "6ff2f834d700f0c5c3eb2ff35953245e24595d88c1a1bdde10749f96f2185003"
|
||||||
|
|
|
@ -6,7 +6,7 @@ authors = ["Chris Proctor <chris@chrisproctor.net>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.11"
|
python = "^3.10"
|
||||||
click = "^8.1.3"
|
click = "^8.1.3"
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
|
|
Loading…
Reference in New Issue