Skip to content

pratinav/2048

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2048

A text-based C++ clone of the popular game 2048, originally by Gabriele Cirulli.

Download and Installation

  • Download the code

  • Run make to compile the source code

  • Run ./2048 to run the executable

How To Play

  • up or u to move the tiles up

  • down or d to move the tiles down

  • left or l to move the tiles left

  • right or r to move the tiles right

When two matching tiles touch, they merge! Try to get the highest score possible.

Menu Commands

  • play to start a new game

  • load to load a game

  • scores to view the score table

  • quit or q to quit the program

  • help to print all commands

Game Commands

  • save or s to save the game

  • quit or q to quit to the menu

  • reset to reset the game

  • help to print all commands

License

Licensed under The MIT License

About

A text-based 2048 clone written in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published