Skip to content
This repository was archived by the owner on Nov 11, 2023. It is now read-only.

BenSokol/EECS675-Project1

Repository files navigation

Build Status Codacy Badge GitHub

EECS675-Project1

Project Specification

The project specification is located here.

Requirements

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

To use

To compile

make

For compilation help, see this page.

To run

./battleship P N M

Where: 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²

Example

./battleship 4 3 4

Will launch 4 players (threads), each with a 3x3 board, each containing 4 targets.

License

MIT.

About

C++ Multi-Threaded CLI Battleship Simulation

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published