Skip to content

vascospereira/Battleship

Repository files navigation

Battleship

C battleship game.

The battleship game is played by two players. Each player has a rectangular board where are launched the 'fleet'. The objective of the game is to find out the locations of opponent's ships and sank the whole fleet.

Each player's fleet has several types of ships. Generally, the following type of ships are used: aircraft carrier, battleship, cruiser, submarine and destroyer.

The game ends whenever one of the fleets is annihilated.

  • An attack to the opponent is made by sending a bomb, aiming at a specified position of the opponent's board; however, due to manufacturing problems the bomb may not fall exactly at the specified position;
  • Each player plays just once, before passing the turn to the opponent;

The game uses color text and backgrounds. The use of Visual Studio is recommended for better game experience.

Releases

No releases published

Packages

No packages published