U5L6-Tic-Tac-Toe

by dominic_simmons
See Code Download Embed
11-8-21: Ideas for improvement

1. Click on a square that has already been selected, do not change costumes.
2. Add some color, costumes
3. Detect wins and losses
4. Create a computer player

11-17: Fix bug so that you cannot play in a square that has already been played.

11-19: Added functions to detect wins and ties, and a variable to stop the game.

Look for repetitive code, and find applications for abstraction.

2-2-22: Alonzo now knows how to play using a strategy based on square value. Now we want to teach him to play smater

1. Play to win
2. Play to block
3. Play best available per strategy

Created January 31, 2022

Last updated February 4, 2022

Published January 31, 2022