-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO
72 lines (57 loc) · 2.12 KB
/
TODO
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
### URGENT ###
- change the get_games from the GAMES to return just a react.event, not extended. Instead of updating the list on each change, rather update it every couple of seconds, it will be better for the UI.
### BUGS ###
### --- END URGENT --- ###
### NON URGENT BUGS ###
- Games should store the ratings of the players for display. Currently if you
load an old game from the archive the `current` ratings of the players will
be displayed, we probably want to see the ratings from the time the game started
(or maybe ended).
### FEATURES ###
- Create concepts of "challenge" and "game over"
- Add "rematch" button when game is over
- organize library:
- don't export all the modules, only the ones needed
- do we really need gameInProgress? it only adds the player names to game
- https: test https with non test run (port 80)
- make the board have cool colors when you hover over it and it's your turn
### BEFORE BEING ABLE TO PUSH BETA ###
- normal and only X ttt, morris
- Nagios monitoring
- Datadog
- implement timer/chess clock for games
### LONG TERM ###
- chat:
- have a chat in each game for the players
- have a general chat on the welcome page
- games:
- tictactoe:
- normal
- only X:
- normal
- looser wins
- 3 boards
- gobblet
- junior (3x3, 3 sizes)
- normal (4x4, 4 sizes)
- 4 in a row (puissance 4) (connect 4)
- morris:
- 3 men
- 9 men
- 10 men
- 12 men
- checkers:
- 8x8
- 10x10
- hex
- chess
- performance:
- make one different react object per browser, so that we don't have to
send the information to everybody in case a user requests a refresh.
- code:
- have a library in lib, an intermediate level API/DAO with the types the
server really needs, and the server calls that. For example, the game library
should return type unit on move, but the API should return unit Lwt.t on move.
game_game_by_id should return a game option in the library, but maybe in the API
we just want to return a game and return an exception if in our usecase we are
always supposed to check/know that the id exists before we query.