Solution Review: Task I to III
Let's look at the solution to the tasks from the previous lesson.
We'll cover the following...
We'll cover the following...
Task I: Create a Tic-tac-toe board
The task was to create a 3x3 array to represent the Tic-tac-toe board.
Let’s review the solution for this task in the code playground below:
- Line 6: We create a 2D array named
game_boardthat has3rows (the first square bracket) and3columns (the second square bracket).
We’ve ...