Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 461 Bytes

File metadata and controls

26 lines (19 loc) · 461 Bytes

About

Snake game written in Ruby with the awesome ruby2d framework.

Install

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

Play

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!.