项目作者: vascospereira

项目描述 :
C++ battleship game
高级语言: C++
项目地址: git://github.com/vascospereira/Battleship.git
创建时间: 2017-12-06T11:55:33Z
项目社区:https://github.com/vascospereira/Battleship

开源协议:

下载


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.