Skip to content

asdia0/Battleship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battleship

Battleship is a classic board game that involves two players attempting to destroy all the other player’s ships. This game is usually played on a 10x10 board. Turns alternate bewteen the players. Each player gets the chance to search a square each turn.

NuGet

The library's NuGet package can be found here.

Features

  • Simulate games
  • Find the optimal ship layout
  • Find the optimal square to search
  • Play against three algorithms

Example

An example program can be found here.

License

This project is licensed under the GNU General Public License v3.0 - see LICENSE for more details.

About

A simulator and solver for Battleship

Topics

Resources

License

Stars

Watchers

Forks

Languages