Commit Graph

5 Commits

Author SHA1 Message Date
Chris Proctor 9869994bb9 Add assessment 2024-03-03 12:26:43 -05:00
Pat Wick c1b40db3e1 Made the computer player smart. Only cats games.
What I changed
Updated the LookaheadStrategy for the computer player

Why I changed it
In this case, we weren't asked to develop the strategy (thankfully!)
but instead just tasked with pointing the computer player class to
using that strategy instead of making a random choice.

Estimate for remaining time to finish assignment: [Time for Nim?]
2024-02-12 22:45:40 -05:00
Pat Wick b5ab43b8b8 added win conditions to check_winner in game.py
What I changed
I added the 8 possible tic-tac-toe win conditions to check_winner and
compare the values in the state with the symbol passed to the method

Why I changed it
It took a WHILE to figure out how to actually read the current state of
the game, but once I had that, I was able to figure out how to check
it for the symbol being sought.

Estimate for remaining time to finish assignment: [1 hour?]
I thought it was "how long did it take" now "how long remaining" originally.
2024-02-12 21:48:06 -05:00
Pat Wick c8b6d79b8f 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]
2024-02-12 20:50:40 -05:00
pwick 5a1c0ce372 Initial commit 2024-02-01 00:12:49 +00:00