🎲 Simple 2048 game for GNU/Linux
This repository has been archived on 2019-04-23. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Samuel FORESTIER 1b77c0978e Latest improvements before "closing" this project 2017-11-13 00:10:04 -05:00
inc C++ 11 optimizations, new random generation numbers and cleans headers 2017-11-13 00:04:12 -05:00
src Latest improvements before "closing" this project 2017-11-13 00:10:04 -05:00
.gitignore Reworks README, adds '.gitignore' and externalizes "configuration" 2017-11-11 18:11:58 -05:00
README.md C++ 11 optimizations, new random generation numbers and cleans headers 2017-11-13 00:04:12 -05:00

README.md

2048

Simple 2048 game for GNU/Linux written in C++ running with OpenGL.

Install and run the game

  1. Install the requirements : aptitude install git g++ freeglut3-dev
  2. Fetch the sources : git clone https://github.com/HorlogeSkynet/2048.git
  3. Move into the folder : cd ./2048/
  4. Compile the project : g++ -o 2048.out ./src/*.cpp -std=c++11 -lGLU -lGL -lglut -Wall -Wextra -Werror
  5. Run the game : ./2048.out

How to tweak the game

In ./inc/options.h you've got the main settings ready to be changed !

Controls

Just use your directional arrows (, , , ) to play.
Although, if a message appears you may want to use y or n to make a choice.