Skip to content

TheEEs/2048rb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

2048rb - A terminal version of 2048 game

This is a clone of a Python program which was written by Manh Duc Nguyen.

I rewrite this program in Ruby just because I want to improve my coding skill , this project is just for fun.

Thanks to @manhdcnguyen for your idea.

Description

A whole of this game is in main.rb file. You can start game by requiring this file, then add following lines to your source code :

table = Table::new <size>
table.mainloop
  • W to turn UP
  • S to turn DOWN
  • A to turn LEFT
  • D to turn RIGHT

Thanks for visit this shit ❤️

About

A terminal version of 2048 game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages