2048-Lite
My very first programming project. A CLI (Command Line Interface) version of the famous 2048 game, coded in C.
CMAKEFILE
Alexis
This project implements a console version of the 2048 game in C. It includes the following features:
Main menu: Start a new game, load a save, or quit.
Grid management:
Dynamic allocation of a 4x4 grid initialized to zero.
Random addition of squares (2 or 4) with respective probabilities of 90% and 10%.
Display and rotate the grid for moves.
Movements : Four possible moves (up, down, left, right), managing mergers of identical squares and game constraints.
Saving and loading: A game can be saved and resumed via a text file.
Memory management: Dynamic release of used resources.