generated from mwc/lab_tic_tac_toe
I added my answers to the checkpoint 1 notes.md questions.
This experience was smooth, because I was able to find the answers from looking at some of the key words in the question, such as "showing the board" and "actions available" at a "particular state."
This commit is contained in:
11
notes.md
11
notes.md
@@ -7,12 +7,23 @@ For each, explain how the behavior is accomplished.
|
|||||||
|
|
||||||
### Checking to see whether the game is over
|
### 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
|
### 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
|
### Showing the board
|
||||||
|
|
||||||
|
ttt.view.TTTView
|
||||||
|
It prints the current board, showing the current available spaces.
|
||||||
|
|
||||||
### Choosing which action to play on a turn
|
### 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
|
## Checkpoint 2 Notes
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user