The project specification is located here.
| Required | Prefered | |
|---|---|---|
| OS | Linux macOS |
|
| CPU | Dual core Processor or better | |
| Compiler | gcc >= 5.4 clang >= 3.4 |
gcc >= 6 clang >= 3.7 |
| C Version | c11 | |
| C++ Version | c++14 | c++17 |
makeFor compilation help, see this page.
./battleship P N MWhere: P is the number of players (threads) to spawn. N is the NxN size of the board M is the number of targets to place on the board.
The following conditions must be satisfied: P≥2, N>0, M>0, and M≤N²
./battleship 4 3 4Will launch 4 players (threads), each with a 3x3 board, each containing 4 targets.
MIT.