Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
exe
 
 
img
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Build Status

Battleship

A classic guessing game for two players.

Installation

git clone https://github.com/mickaelpham/battleship
bundle install
gem build battleship.gemspec
gem install battleship-0.1.0.gem

This should take care of installing the battleship executable in your PATH, allowing you to start a new game from the shell:

$ battleship

Screenshots

Welcome screen

screen-01

Players prompt

screen-02

Ship positioning

screen-03

Strike result

screen-04

Last strike

screen-05

Winning screen

screen-06

Development

git clone https://github.com/mickaelpham/battleship
cd battleship
bundle install
bin/console

Then, within the Pry console:

Battleship::Game.new.run

About

A simple CLI for a classic game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published