-
Notifications
You must be signed in to change notification settings - Fork 0
/
todo.txt
73 lines (52 loc) · 1.22 KB
/
todo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Works in app:
Log in and show info
Create new tamas
Pet
Pet with item
List items
Works on server but not in app:
Not in server yet:
[x?] Eat
[x] Play with item
[x] Play with friend
[] Buy item
[] List friends
[] Add friend
[x] List all items (shop)
Other:
Saving stuff to database does not work yet.
Eating items / Petting with items should consume them.
(Bonus, if we have time) Change the way the server is updated, remove routing /updatesimulation/<dt>
JSON:
shopShowItemInfoJSON
{"price": 1, "description": "A yellow banana.", "properties": 9, "error": false}
# properties används inte i appen så den är "optional"
# OLD STUFF!
Android-delen:
- Kolla hur man gör http-requests med Android
- Ta emot http-requests
Server-delen:
- Ta emot requests och gör saker
- Skapa en Simulationsklass
- Fixa databasskrivning- och läsning av simulationsklass
Allmänt:
rita några bilder
- Glad tama
- Ledsen tama
- Hungrig tama
Tabeller:
tamas:
!uid, type, password, name, hunger, mood, sick, money
items:
!name, price, description
has:
uid (>tamas), name (>items), amount
knows:
uid1 (>tamas), uid2 (>tamas), level
Features:
- Lek med dem
- Mata dem
- Köp items
- Träna dem
#
/doaction/UUI/pet=34