Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 670 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 670 Bytes

ConsoleBattleship

A battleship game for Console (Linux, Windows)

Gameplay

image

Compile & Run

Linux

  • Required packages: cmake, make, gcc, libncurses-dev

Compile & Run

  1. cmake -DCMAKE_BUILD_TYPE=Release -S . -B release
  2. cmake --build release
  3. release/Battleship

Windows

Required programs:

  1. Install cmake and add it to $PATH
  2. Install MinGW and add it to $PATH

Compile & Run

  1. cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -S . -B release
  2. cmake --build release
  3. Go into the release folder and double click Battleship.exe