Skip to content

Commit 26dc5a8

Browse files
author
A. Apesteguia
committed
Readme
1 parent 59b6c28 commit 26dc5a8

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# 2048 Game
2+
2048 Game is a Java Android game with some bonus functionalities such as Users, Undo movement
3+
between others.
4+
![](app/src/main/res/drawable/gamelogoa4.png)
5+
6+
## Features
7+
- Save scores on local SQLite DB
8+
- Sort by any camp (Score, username, country, duration, datetime...)
9+
- Edit score
10+
- User profiles with avatar and country
11+
- Undo movement (With no penalization)
12+
- Restart game
13+
- Delete scores (With a click or a swipe)
14+
15+
## Tables
16+
### Score Table
17+
A score has 5 columns:
18+
- Score_id -> Primary key
19+
- Score_value -> Value with the sum of user's combinations
20+
- Score_duration -> Game duration
21+
- Score_datetime -> Date the score was saved
22+
- Score_username_id -> Foreign key, references User_id
23+
24+
### User Table
25+
Separately, users have their own table and any change applied to a user is applied to all scores
26+
with same id.
27+
- User_id -> Primary key, connected to Score_username_id Foreign Key
28+
- User_name -> If it's changed, a new id is created with new username
29+
- User_country -> User's country. Can be defined through locale properties on "Edit Score"
30+
- User_avatar -> Path of stored avatar image
31+
32+
33+
## License and references
34+
[Personal Website](https://www.codebinars.com)
35+
[MIT](https://choosealicense.com/licenses/mit/)

0 commit comments

Comments
 (0)