Skip to content

JorgeRodz/ruby2d-snake_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💎 ruby2d - Classic Snake Game 🐍

Generic badge   -   Generic badge  Generic badge

📷 Screenshots 🎥

ruby2d_snake-game gif

▶️ Play it locally 🖥️

  • Install the ruby2d gem : gem install ruby2d
  • Clone the repo
  • Run ruby src/app.rb .... and you are ready to play it! 🎮️

📝 Description 📖

  • The classic 'Snake Game' that you play on nokia or older phones.
  • Simple! You control the direction of the snake's head with the arrow keys (up, down, left, or right) and the snake's body follows.
  • The "snake" can move any direction except, it cannot turn backwards into itself.

👨‍💻 Technologies 💻️

  • Ruby Programing language
  • Ruby2d gem
  • Minitest gem

🤓 What I learned? 🧠

  • Basic Ruby Syntax
  • OOP in Ruby
  • Flux architecture
  • Ruby2d library methods and related syntax
  • How to create and run tests with minitest gem

About

Simple snake game using 'ruby2d' gem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages