Time To Code: Task V and VI

Let’s implement the final part of the game!

Finding the winner

Once the players start playing the game, it can end in a win for one player or a tie.

Remember: The win condition is three consecutive "X"s or "O"s horizontally, vertically, or diagonally.

We’ve already provided some code to check for the winner. Before we move to our task, let’s quickly go through the provided code:

Get hands-on with 1200+ tech skills courses.