BATTLESHIP - C++
ABOUT THE GAME:
Battleship is based on the battleship puzzle. Where each player will be having one “Carrier “, one “battleship” , one “cruiser ” and “destroyer”. The player has to guess the position of the battleship in the battlefield and he should destroy them to win the game.
IMPLEMENTATION:
I used c++ object oriented language to implement this game. This game can be played in two modes-
1.Single player with AI
2. Multiplayer
SINGLE PLAYER WITH AI:
In this game mode only one player can able to play. Here he is going to face computer as his opponent, where he asked to place his battleships on the board with a specified direction. Among both player and the computer the first who destroys the enemy battleship will be considered as a Winner.
MULTIPLAYER:
Over here 2 players can able to play game by facing each other as their opponents. Each one of them asked to place their battleships on the board with a specified direction. Among these 2 players, the first player who takes down the enemy battleship he will be considered as a Winner.
Battleship is based on the battleship puzzle. Where each player will be having one “Carrier “, one “battleship” , one “cruiser ” and “destroyer”. The player has to guess the position of the battleship in the battlefield and he should destroy them to win the game.
IMPLEMENTATION:
I used c++ object oriented language to implement this game. This game can be played in two modes-
1.Single player with AI
2. Multiplayer
SINGLE PLAYER WITH AI:
In this game mode only one player can able to play. Here he is going to face computer as his opponent, where he asked to place his battleships on the board with a specified direction. Among both player and the computer the first who destroys the enemy battleship will be considered as a Winner.
MULTIPLAYER:
Over here 2 players can able to play game by facing each other as their opponents. Each one of them asked to place their battleships on the board with a specified direction. Among these 2 players, the first player who takes down the enemy battleship he will be considered as a Winner.