https://github.com/martinnicolas/snake
Snake Game written in ruby2d framework
https://github.com/martinnicolas/snake
game-development ruby2d
Last synced: 9 months ago
JSON representation
Snake Game written in ruby2d framework
- Host: GitHub
- URL: https://github.com/martinnicolas/snake
- Owner: martinnicolas
- Created: 2024-02-04T02:38:50.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-11T23:57:37.000Z (over 1 year ago)
- Last Synced: 2025-03-11T07:48:12.443Z (about 1 year ago)
- Topics: game-development, ruby2d
- Language: Ruby
- Homepage: http://www.ruby2d.com/
- Size: 182 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About
Snake game written in Ruby with the awesome [ruby2d](http://www.ruby2d.com/) 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!.