I made the computer deterministic and updated the

code to import the LookaheadStartegy to the class player.py.

As I worked through the lab I found myself coming back to the web that
was given to us in the lab itself. When I play games like Rumicube and
tic tac toe the process of running scenarios in my head happens instantaneously.
Prepping the computer to play this way as well is complex.

The reward system is a straightforward and interesting way to evaluate the "goodness" of
a move. How good is it to do one thing rather than another? The ability to think all the way through the
options is really interesting to evaluate and think about! Overall my cognition maybe did less in
the way of changing, but developed a meta-like awareness for the process it goes through when it's
problem solving.
This commit is contained in:
Rebecca Hankey
2024-11-23 15:23:13 -05:00
parent ec7b133190
commit fb996aeba2
4 changed files with 12 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ from ttt.view import TTTView
from ttt.player import TTTHumanPlayer, TTTComputerPlayer
player0 = TTTHumanPlayer("Player 1")
player1 = TTTHumanPlayer("Player 2")
player1 = TTTComputerPlayer("Player Computer")
game = TTTGame()
view = TTTView(player0, player1)