hastron/DESIGN.md

677 B

Server objects

  • Server

    • Users
    • Rooms
    • Settings
  • User

    • Name
    • Stuff
    • Settings
      • Keybindings
  • Room

    • Games
    • Users
    • Chat(?)
    • Settings
  • Game

    • Settings
      • Speed
      • Number of players
    • Players
    • Map
    • Score table
    • Game state
      • unstarted, running, finished, paused(?)
      • Player state
        • Alive/dead/...
        • Trail
        • Position
        • Velocity
        • Boost active
        • Boost fuel
  • Map

    • Walls

Client objects

  • Client

    • Server
    • User
    • State (room list, in room, in game)
  • User

    • (same as server)
  • Game

    • (same as server)
  • Game update