MAMoore Designs

Battleship Game

Using JavaScript alerts, two players at the same device can play a simple game of battleship. Once player names are entered, a random placing of four ships occurs. The players then take turns guessing the locations of those ships until one player hits all their opponent's ships and emerges victorious!

This was a very basic early project I created that I will be improving with graphics in the near future. I will be making changes to the gameplay as well to eliminate the use of alerts entirely.

Click here to try out the Battleship Game (opens in new window)