Skip to content

reedperry/boatfight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BOATFIGHT

10 boats enter. Fewer leave.

This is a simple clone of a popular ship battle game.

Currently, this is a command line application. The game is playable, but still a little rough around the edges. A (very) basic computer opponent will play against you.

To play it in its current state, you need to install the Dart VM, which comes with the Dart SDK.

Clone this repository, and from the root directory, run:

dart boatfight.dart

Roadmap:

  • Gracefully handle player firing at a location already fired at
  • Make computer agent track its shots to avoid duplicates
  • Make computer agent use a bit more logic for shot locations
  • ???

About

Ten boats enter. Fewer leave.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages