djj547 / battleship-game Goto Github PK
View Code? Open in Web Editor NEWA JAVA project. It is a strategy-type guessing game between the player and AI. After the player and AI finish setting up positions for their ships, they take turns to fire shots on each other's sea map. Once a shot from one side is hit, this side continues to fire another shot until he misses. The winner will be the one who destroys every ship on his opponent’s sea map. For more detail please check the README file. The code should be in the master branch. The program uses MVC pattern.