Skip to content

cnsuhao/2048

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2048

A C++/Qt clone of the popular 2048 game.

Game logic is written in C++, the GUI in Qt 5.2.1. The entire GUI is written in code, Qt Creator's UI designer was not used.

The core is decoupled from the GUI using the observer pattern, so it is easy to pull the code, extract the core and then build a new GUI around it.

Screenshot

Alt text

Build instructions

  1. Download and install Qt (https://www.qt.io/download-open-source/)
  2. Open Qt Creator, File > Open File or Project... > Locate ExpGame.pro and select it
  3. Build project
  4. Run

Alternatively, if you want to build outside of Qt Creator, this is possible as long as your system has both qmake and make. In that case, just run qmake && make in the checked out repository.

About

A C++/Qt clone of the popular 2048 game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.8%
  • QMake 3.2%