Battle

Build Status Code Climate

This gem is extraction from my Battle45 project

Installation

Add this line to your application's Gemfile:

gem 'battle'

And then execute:

$ bundle

Or install it yourself as:

$ gem install battle

Usage

# init the game
game = Battle::Game.new 'name', '[email protected]'
# register your game and get game ID
game.register!

# Fight till victory
game.nuke 0, 0 # don't forget to change coordinates

Contributing

I'm sorry but contribution aren't allowed here. It's developer challenge you should develop it by yourself.