Skip to content

Releases: rlucine/battleship

Version 1.2

10 Jul 00:54
Compare
Choose a tag to compare

Enable turn-by-turn printing, and update a bunch of documentation and comments.

Version 1.0

03 Apr 20:42
Compare
Choose a tag to compare

Full build for Windows (MinGW64) and Ubuntu.

Alpha 0.1

03 May 01:47
Compare
Choose a tag to compare
Alpha 0.1 Pre-release
Pre-release

All basic functionality and tests implemented. Average game is 44.37 turns, longest is 72.

Compiling

Run make all in the directory, or download one of the binaries. Currently, only gcc is supported, both on Linux and through MinGW. Visual Studio is not supported.

Usage

  • -h: Print the help screen
  • -l filename: Write CSV data to the filename.
  • -n int: Play int number of games (must be >= 1)
  • -d dirname: Write verbose game data into the dirname directory. Don't use this option for high amounts of games.
  • -c int: Only write directory data for games lasting more than int turns, where 0 <= int <= 100.