(Commit summary. Replace this with a one-line description of this commit.)

initial commit
What I changed
(Replace this with a description of what you changed in this commit. This should be 1-2 sentences.)
added notes.md
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.)
explained states
Estimate for remaining time to finish assignment: [1 day]
This commit is contained in:
louiscooper136
2024-02-12 22:52:44 -05:00
parent 11fda02ae3
commit 25200368af
4 changed files with 13 additions and 7 deletions

View File

@@ -24,15 +24,21 @@ TTTHuman player class, allows user to play actions base on list of availible act
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 |
| O | O | | O x | X | X | O |
---+---+--- ---+---+--- ---+---+--- ---+---+---
X | X | | X | X | O | O | |
X | X | x | X |x X | O | O | x |
---+---+--- ---+---+--- ---+---+--- ---+---+---
| | | | O | | | |
For #1, choosing 6 wins the game For # 2 choosing 6 blocks 0 from winning.
For #3 choosing 0 gives a win on the next turn regardless of where 0 blocks.
For #4 choosing 4 means 0 has block, then if x chooses 6 then win in 2 or 3.
### 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?
I think 0 menas the game is fair, 1 is more x wins a negative is more o wins.