Skip to content

rahul-badgujar/2048-Game-Console-Version

Repository files navigation

🎯 About

What is The 2048 Game?

It's a type of “sliding block puzzle” — think Threes!, on which 2048 is based, or the old-timey game klotski — that's played on an almost Sudoku-like grid. Like Sudoku, it also involves some math. The object of the game is to combine the numbers displayed on the tiles until you reach 2048.

What is with Console Version of 2048 Game?

You can do all what you do with Graphics based 2048 Game with my Console Based 2048 Game using Keyboard. Give it a try.

Source Code Download Executable

🔧 Setup

  • Executable Application file of this program can be found in bin folder, it must be placed outside bin folder i.e., in the main folder where 'hightscore_data.txt' file exist for proper working.
  • This program is developed using Code::Blocks IDE.
  • The program code uses an external header file rlutil.h for implementation of Console Features easily. Explore rlutil.h header file before diving into source code. All the rest code is pure C++.
  • The execution of Program starts from main.cpp file.
  • To make changes to program, you will need to open entire project in IDE and recompile again.
  • It is recommended to use Code::Blocks IDE to make changes, just open '2048 Game Console Version.cbp' file in CodeBlocks IDE, entire project will be shown.
  • Never delete hightscore_data.txt file, it contains records of High Scorring Players.
  • Do not delete any of the file in this folder even if they seems of no use. They have their own meaning.