Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mikhailms/ruby-battleship

My version of battle ship game written in Ruby. Fully functional. Without GUI.
https://github.com/mikhailms/ruby-battleship

Last synced: 2 days ago
JSON representation

My version of battle ship game written in Ruby. Fully functional. Without GUI.

Awesome Lists containing this project

README

        

# Battle::Ship

TODO: Game description
To play game simply run it on your computer.
Simple rules are applied:
1.Each column is y-coordinate
2.Each row is x-coordinate
3.Type in x-coordinate first than y-coordinate
In case of program freezes at the begining just re-start it.
Good luck!
## Installation

Add this line to your application's Gemfile:

```ruby
gem 'ruby-assignment'
```

And then execute:

$ bundle

Or install it yourself as:

$ gem install ruby-assignment

## Usage

Run as usual Ruby programm either in console or IDLE

## Contributing

1. Fork it ( https://github.com/[my-github-username]/battle-ship/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request