In this lab, we created a game that was based on the actual board game. This lab wasn’t particularly hard but it took some time to know what to do.

In this screenshot, I added a for loop that checks how many turns you will have. This game will take 4 turns so in the for loop it was like range(4) to run the game 4 times. At the beginning of the iteration, it will print the turn I’m on and it will ask for another input for the next turn.

In this screenshot, I added an if statement that sees if you have done 3 turns, if you have guessed 3 times it will print game over.

In this screenshot, code academy asks to add a break to end the loop.

In this last screenshot, I made the board have a grid of 6 x 6. I also made the game have 10 turns each.