Ruby Snake

Ruby Snake is a simple greedy-snake like game, it is plable at command-line. The rules are the same of any snake game:

You control a stupid snake and the objective is to eat as many money you can. Each money eaten increases it's size by one unit and movement speed will be more and more fast.

The game ends when the snake collides with the walls or itself.

To each money is given a bonus value, so the challenge is to earn the biggest score possible by eating as much money as you can.

In addition, two players can fight online.

Good Luck!

image

Installation

Add this line to your application's Gemfile:

gem 'ruby_snake'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ruby_snake 

Usage

ruby_snake

Keyboard Mapping

Easy to play, very friendly operation of vim user.

k -> up

j -> down

l -> right

h -> left

space -> pause && continue

q -> quit

Contributing

  1. Fork it
  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 new Pull Request