Battleship! ----------- Revealed board (for verification purposes): +-+-+-+-+-+-+-+ 1 |0|0|0|3|3|3|5| +-+-+-+-+-+-+-+ 2 |0|0|0|0|0|2|5| +-+-+-+-+-+-+-+ 3 |0|4|4|4|4|2|5| +-+-+-+-+-+-+-+ 4 |0|0|0|0|0|0|5| +-+-+-+-+-+-+-+ 5 |0|0|0|0|0|0|5| +-+-+-+-+-+-+-+ 1 2 3 4 5 6 7 +-+-+-+-+-+-+-+ 1 | | | | | | | | +-+-+-+-+-+-+-+ 2 | | | | | | | | +-+-+-+-+-+-+-+ 3 | | | | | | | | +-+-+-+-+-+-+-+ 4 | | | | | | | | +-+-+-+-+-+-+-+ 5 | | | | | | | | +-+-+-+-+-+-+-+ 1 2 3 4 5 6 7 Enter a row to guess > 1 Enter a column to guess > 4 Hit! You just hit the Submarine +-+-+-+-+-+-+-+ 1 | | | |3| | | | +-+-+-+-+-+-+-+ 2 | | | | | | | | +-+-+-+-+-+-+-+ 3 | | | | | | | | +-+-+-+-+-+-+-+ 4 | | | | | | | | +-+-+-+-+-+-+-+ 5 | | | | | | | | +-+-+-+-+-+-+-+ 1 2 3 4 5 6 7 Enter a row to guess > 1 Enter a column to guess > 5 Hit! You just hit the Submarine +-+-+-+-+-+-+-+ 1 | | | |3|3| | | +-+-+-+-+-+-+-+ 2 | | | | | | | | +-+-+-+-+-+-+-+ 3 | | | | | | | | +-+-+-+-+-+-+-+ 4 | | | | | | | | +-+-+-+-+-+-+-+ 5 | | | | | | | | +-+-+-+-+-+-+-+ 1 2 3 4 5 6 7 Enter a row to guess > 1 Enter a column to guess > 6 Hit! You just hit the Submarine +-+-+-+-+-+-+-+ 1 | | | |3|3|3| | +-+-+-+-+-+-+-+ 2 | | | | | | | | +-+-+-+-+-+-+-+ 3 | | | | | | | | +-+-+-+-+-+-+-+ 4 | | | | | | | | +-+-+-+-+-+-+-+ 5 | | | | | | | | +-+-+-+-+-+-+-+ 1 2 3 4 5 6 7 Enter a row to guess > 1 Enter a column to guess > 7 Hit! You just hit the Carrier +-+-+-+-+-+-+-+ 1 | | | |3|3|3|5| +-+-+-+-+-+-+-+ 2 | | | | | | | | +-+-+-+-+-+-+-+ 3 | | | | | | | | +-+-+-+-+-+-+-+ 4 | | | | | | | | +-+-+-+-+-+-+-+ 5 | | | | | | | | +-+-+-+-+-+-+-+ 1 2 3 4 5 6 7 Enter a row to guess > 2 Enter a column to guess > 7 Hit! You just hit the Carrier +-+-+-+-+-+-+-+ 1 | | | |3|3|3|5| +-+-+-+-+-+-+-+ 2 | | | | | | |5| +-+-+-+-+-+-+-+ 3 | | | | | | | | +-+-+-+-+-+-+-+ 4 | | | | | | | | +-+-+-+-+-+-+-+ 5 | | | | | | | | +-+-+-+-+-+-+-+ 1 2 3 4 5 6 7 Enter a row to guess > 3 Enter a column to guess > 7 Hit! You just hit the Carrier +-+-+-+-+-+-+-+ 1 | | | |3|3|3|5| +-+-+-+-+-+-+-+ 2 | | | | | | |5| +-+-+-+-+-+-+-+ 3 | | | | | | |5| +-+-+-+-+-+-+-+ 4 | | | | | | | | +-+-+-+-+-+-+-+ 5 | | | | | | | | +-+-+-+-+-+-+-+ 1 2 3 4 5 6 7 Enter a row to guess > 4 Enter a column to guess > 7 Hit! You just hit the Carrier +-+-+-+-+-+-+-+ 1 | | | |3|3|3|5| +-+-+-+-+-+-+-+ 2 | | | | | | |5| +-+-+-+-+-+-+-+ 3 | | | | | | |5| +-+-+-+-+-+-+-+ 4 | | | | | | |5| +-+-+-+-+-+-+-+ 5 | | | | | | | | +-+-+-+-+-+-+-+ 1 2 3 4 5 6 7 Enter a row to guess > 5 Enter a column to guess > 7 Hit! You just hit the Carrier +-+-+-+-+-+-+-+ 1 | | | |3|3|3|5| +-+-+-+-+-+-+-+ 2 | | | | | | |5| +-+-+-+-+-+-+-+ 3 | | | | | | |5| +-+-+-+-+-+-+-+ 4 | | | | | | |5| +-+-+-+-+-+-+-+ 5 | | | | | | |5| +-+-+-+-+-+-+-+ 1 2 3 4 5 6 7 Enter a row to guess > 3 Enter a column to guess > 2 Hit! You just hit the Battleship +-+-+-+-+-+-+-+ 1 | | | |3|3|3|5| +-+-+-+-+-+-+-+ 2 | | | | | | |5| +-+-+-+-+-+-+-+ 3 | |4| | | | |5| +-+-+-+-+-+-+-+ 4 | | | | | | |5| +-+-+-+-+-+-+-+ 5 | | | | | | |5| +-+-+-+-+-+-+-+ 1 2 3 4 5 6 7 Enter a row to guess > 3 Enter a column to guess > 3 Hit! You just hit the Battleship +-+-+-+-+-+-+-+ 1 | | | |3|3|3|5| +-+-+-+-+-+-+-+ 2 | | | | | | |5| +-+-+-+-+-+-+-+ 3 | |4|4| | | |5| +-+-+-+-+-+-+-+ 4 | | | | | | |5| +-+-+-+-+-+-+-+ 5 | | | | | | |5| +-+-+-+-+-+-+-+ 1 2 3 4 5 6 7 Enter a row to guess > 3 Enter a column to guess > 4 Hit! You just hit the Battleship +-+-+-+-+-+-+-+ 1 | | | |3|3|3|5| +-+-+-+-+-+-+-+ 2 | | | | | | |5| +-+-+-+-+-+-+-+ 3 | |4|4|4| | |5| +-+-+-+-+-+-+-+ 4 | | | | | | |5| +-+-+-+-+-+-+-+ 5 | | | | | | |5| +-+-+-+-+-+-+-+ 1 2 3 4 5 6 7 Enter a row to guess > 3 Enter a column to guess > 5 Hit! You just hit the Battleship +-+-+-+-+-+-+-+ 1 | | | |3|3|3|5| +-+-+-+-+-+-+-+ 2 | | | | | | |5| +-+-+-+-+-+-+-+ 3 | |4|4|4|4| |5| +-+-+-+-+-+-+-+ 4 | | | | | | |5| +-+-+-+-+-+-+-+ 5 | | | | | | |5| +-+-+-+-+-+-+-+ 1 2 3 4 5 6 7 Enter a row to guess > 3 Enter a column to guess > 6 Hit! You just hit the Patrol Boat +-+-+-+-+-+-+-+ 1 | | | |3|3|3|5| +-+-+-+-+-+-+-+ 2 | | | | | | |5| +-+-+-+-+-+-+-+ 3 | |4|4|4|4|2|5| +-+-+-+-+-+-+-+ 4 | | | | | | |5| +-+-+-+-+-+-+-+ 5 | | | | | | |5| +-+-+-+-+-+-+-+ 1 2 3 4 5 6 7 Enter a row to guess > 4 Enter a column to guess > 6 Miss! There was nothing at that location +-+-+-+-+-+-+-+ 1 | | | |3|3|3|5| +-+-+-+-+-+-+-+ 2 | | | | | | |5| +-+-+-+-+-+-+-+ 3 | |4|4|4|4|2|5| +-+-+-+-+-+-+-+ 4 | | | | | |0|5| +-+-+-+-+-+-+-+ 5 | | | | | | |5| +-+-+-+-+-+-+-+ 1 2 3 4 5 6 7 Enter a row to guess > 2 Enter a column to guess > 6 Hit! You just hit the Patrol Boat +-+-+-+-+-+-+-+ 1 | | | |3|3|3|5| +-+-+-+-+-+-+-+ 2 | | | | | |2|5| +-+-+-+-+-+-+-+ 3 | |4|4|4|4|2|5| +-+-+-+-+-+-+-+ 4 | | | | | |0|5| +-+-+-+-+-+-+-+ 5 | | | | | | |5| +-+-+-+-+-+-+-+ 1 2 3 4 5 6 7 Congratulations! You sunk the enemy fleet using 15 guesses. Game over. Goodbye. Thanks for playing.