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