This is 2048, the video game that was embodied in C language.
△
- You can use up-arrow key to pull indexes up.
◁
- You can use left-arrow key to pull indexes left.
▷
- You can use right-arrow key to pull indexes right.
▽
- You can use down-arrow key to pull indexes down.
Used .dat file to save individual best score, and you can see it as printed.
You can modify the board's size, for example 4x4 to 5x5, nxn. 3 to 10 is available.
score
- Show user's current score.
Method is the same as the original 2048.
You can use Operation keys to manipulate, and it'll be it!
When the game ends: