Commit Graph

3 Commits

Author SHA1 Message Date
Justin Toombs ab309c8be8 The computer player was trained to use more
effective strategies.

What I changed
I replaced the random strategy class with the lookahead strategy class.

Why I changed it
By replacing the classes, the computer player stopped responding randomly and instead used data provided to integrate
effective strategies.

Estimate for remaining time to finish assignment: [1-2 hours depending on peer assistance]
2024-02-12 22:54:26 -05:00
Justin Toombs b84640e4b3 This submit dealt with the problems of not
determining a winner and always ending with a tie
regardless of the outcome.

What I changed
I looked to find all of the possible win scenarios, which took some time to determine. I then utilized several loops
to ensure a winner is declared when three in a row is earned.

Why I changed it
While perhaps not done in the most proficient way, this helped to map out each of the win scenarios while still understanding
it at the surface level.

Estimate for remaining time to finish assignment: [2-4 hours depending on peer assistance]
2024-02-12 21:50:12 -05:00
jtoombs 84e462ac43 Initial commit 2024-02-02 23:19:46 +00:00