/2048-sdl

Reference implementation of the game 2048 in Ruby + Rubygame (SDL lib)

Primary LanguageRuby

2048-sdl

A simple 2048 emulation built in an afternoon with ruby. It does not yet detect game over correctly - but you can exit with Esc key if you cannot make any more moves. The program will put some interesting statistics on screen on exit.

To play

requirements (only tested on Arch Linux)

  • sdl
  • ruby
  • rubygame (gem)
  • color (gem)