Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Architecture

Olaf Szmidt edited this page Jan 2, 2018 · 14 revisions

This section describes the whole game architecture and how things are structured. AI:MMO consists of four main components, split into their own directories.

Components

  • The UI (players directory) - a Django app used for the front-end and database interaction (one globally). There are static Unity build files to render the game in browser.
  • Games (aimmo-game directory) - holds and updates the game state (one per game).
  • Game Creator (aimmo-game-creator directory) - responsible for creating games (one globally).
  • Workers (aimmo-game-worker directory) - contains the code for an avatar which is given a game state and returns the avatar's action for that turn.

Terminology

Avatar: a user's in-game representation. A user can have up to one per game.

User: a single person with an account.

Clone this wiki locally