https://github.com/maya-yagan/slide-game
The famous 2048 silde game
https://github.com/maya-yagan/slide-game
java java-8 simple-game
Last synced: about 1 month ago
JSON representation
The famous 2048 silde game
- Host: GitHub
- URL: https://github.com/maya-yagan/slide-game
- Owner: Maya-Yagan
- Created: 2024-04-25T20:19:08.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-25T20:42:06.000Z (about 1 year ago)
- Last Synced: 2025-02-07T08:34:42.716Z (3 months ago)
- Topics: java, java-8, simple-game
- Language: Java
- Homepage:
- Size: 123 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This project was a homework for a class I took in 2023.
How to play the game:
![]()
To win the game, you need to move the numbers horizontally or vertically so that they will add up to 2048.The game starts with 2 and with each move, another 2 will spawn on the board randomly. The goal is keep adding numbers until you reach 2048
To move the numbers upwards, click on the buttons with the red arrows shown in the picture
To move the numbers downwards, click on the buttons with the blue arrows shown in the picture
To move the numbers to the left or the right, click on the buttons with the black arrows shown in the picture