Snake game written in Ruby with the awesome ruby2d framework.
Use git to clone the repo.
git clone https://github.com/martinnicolas/snake.git
Then run bundle install to install dependencies.
cd snake
bundle install
To play the game, run the following commands.
cd snake
ruby main.rb
Use the arrow keys to move the snake. Eat all apples than you can to increase your score!.