- Takes user name and board size as input
- Can work with variable board size
- Print board and score after each move
- User can type help to get control details
- The user will input one of 1, 2, 3, 4 to indicate left, right, up, down
- Initialize the game with two random tiles.
- The program moves all the tiles in the given direction and merge adjacent tiles.
- Program randomly select an empty location and place 2 or 4
-
Notifications
You must be signed in to change notification settings - Fork 0
console 2048 game made with nodejs
License
jenish-jain/2048-Game
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
console 2048 game made with nodejs
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published