Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mikhailms/ruby-battleship
- Owner: MikhailMS
- Created: 2015-12-25T20:27:24.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-27T03:07:39.000Z (almost 8 years ago)
- Last Synced: 2024-11-08T15:40:02.751Z (about 2 months ago)
- Language: Ruby
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!
## InstallationAdd 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