Browse Source

Initial design documentation

Arun Raghavan 5 years ago
parent
commit
540346d660
1 changed files with 52 additions and 0 deletions
  1. 52
    0
      DESIGN.md

+ 52
- 0
DESIGN.md View File

@@ -0,0 +1,52 @@
1
+Server objects
2
+----
3
+
4
+ * Server
5
+   * Users
6
+   * Rooms
7
+   * Settings
8
+
9
+ * User
10
+   * Name
11
+   * Stuff
12
+   * Settings
13
+     * Keybindings
14
+ * Room
15
+   * Games
16
+   * Users
17
+   * Chat(?)
18
+   * Settings
19
+ * Game
20
+   * Settings
21
+     * Speed
22
+     * Number of players
23
+   * Players
24
+   * Map
25
+   * Score table
26
+   * Game state
27
+     * unstarted, running, finished, paused(?)
28
+     * Player state
29
+       * Alive/dead/...
30
+       * Trail
31
+       * Position
32
+       * Velocity
33
+       * Boost active
34
+       * Boost fuel
35
+ * Map
36
+   * Walls
37
+
38
+Client objects
39
+----
40
+
41
+ * Client
42
+   * Server
43
+   * User
44
+   * State (room list, in room, in game)
45
+
46
+ * User
47
+   * (same as server)
48
+
49
+ * Game
50
+   * (same as server)
51
+
52
+ * Game update

Loading…
Cancel
Save