frontend.md 617 B

frontend.ts

Provides the entry start() function. Here we mainly create objects and
put them together. After registering the game world, creating a websocket
for backend communication and registering the actual player the game is
started once the first update is received through the websocket.

game/

game-controller.ts - MainGameController - Contains only a communication handler to handle
messages from the actual game controller in the backend.

display/

engine.ts - MainDisplayController - Object containing the draw loop which visualises
the current state of the game model.