Skip to content

chunzhi23/2048

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2048

This is 2048, the video game that was embodied in C language.

How to play

Main Page

Operation keys

- 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.

Top score

Used .dat file to save individual best score, and you can see it as printed.

User interface

You can modify the board's size, for example 4x4 to 5x5, nxn. 3 to 10 is available.

Game page

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: