Assignments During Shelter in Place

Go ahead and start the Tic-Tac-Toe project in Unit 9.  You only need to spend about 20 mins a day on this.  You can submit help questions to me through CodeHS, or email me directly.  I will grade your work as you submit it to me on CodeHS

Lesson: 9.1 Tic Tac Toe

9.1.1 Draw the Tic Tac Toe Lines

In this project, we will be writing the game of tic tac toe as shown here. The first part is to draw the board.

Start by drawing the four lines that divide the grid into 9 squares.

9.1.2 Tic Tac Toe: Responding to Mouse Events and Using a Grid

We are writing the game of tic tac toe as shown here. In this part we will handle mouse clicks and draw the Xs and Os, and also use the grid data structure to keep track of the game.

9.1.3 Tic Tac Toe: The Full Game

Write the game of tic tac toe as shown here.

In this part we will complete the game of tic tac toe by determining the winner, and drawing a line to show who won.

Leave a Reply

Your email address will not be published. Required fields are marked *