This is the code in C of the game 2048. You can play with this game in your shell
AntoineNOUMA/Game-2048-in-C
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
# Game-2048-in-C Technical documentation • The functions of this project have been grouped into five groups: - The functions useful for the management of the terminal - The functions useful for the management of the menu - The functions useful for the management of the game - The functions useful for the management of the boxes - The functions useful for the motion management • All prototypes of these functions are defined in the file myHeader.h • The prototype of this header is included in each ".c" file with the command #include "myHeader.h" to include all the functions we will use in these files • To compile the program, enter the following commands in your shell: - gcc main.c fonctionsGestionCases.c fonctionsGestionMenu.c fonctionsGestionMouvements.c fonctionsGestionPartie.c fonctionsGestionTerminal.c -o 2048 - ./2048 User Manual Game rule: The game starts with a grid of 16 squares (modifiable in the options) and initialized with two values 2 or 4, the goal is to collide the powers of two in order to sum them to arrive at the value 2048 . In this program, you can: - Play - Save - Load - Complete the game - Show scoreboard - Show options O Change the maximum value to be reached to win, here 2048 O Change the size of the grid, here 4 x 4
About
This is the code in C of the game 2048. You can play with this game in your shell
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published