This is Group 1's implementation of Project 2 for EECS 448. This project is a continuation of the battleship game from here
Battleship is a two-player, turn-based game where both players secretly place 1 to 6 ships on a 9x10 grid. Each player takes turns to announce where on the opponent's grid they wish to fire. The opponent must announce whether or not one of the ships was hit. The first player to sink all of the opponent's ships wins the game.
This game is played through the terminal, with each player taking turns to type in their commands.
- C++ 11
- Clone this repo or
- Download the game files from github and place them in the same folder.
-
Navigate to the folder where the files are located
-
Run the following commands in terminal:
> make > ./battleship
- Navigate to
documentation/html
- Open up
index.html
- Click on the
Classes
tab and selectClass List
from the dropdown.
- Alexander Archer
- George Blue
- Alice Chen
- Edina Harsay
- Mac Hayes
- The authors of this project.
- https://www.geeksforgeeks.org/how-to-print-colored-text-in-c/
- https://stackoverflow.com/questions/2616906/how-do-i-output-coloured-text-to-a-linux-terminal
- https://stackoverflow.com/questions/7414983/how-to-use-the-ansi-escape-code-for-outputting-colored-text-on-console
- https://www.doxygen.nl/manual/docblocks.html#docexamples