Skip to Content
Test Run

Congratulations! Now you should have a game of Battleship! that is fully functional for one guess.

Make sure you play it a couple of times and try different kinds of incorrect guesses. This is a great time to stop and do some serious debugging.

In the next step, we’ll move on and look at how to give the user 4 guesses to find the battleship.



Thoroughly test your game. Make sure you try a variety of different guesses and look for any errors in the syntax or logic of your program.

Folder Icon

Take this course for free

Already have an account?