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

Workers

Alexandru Dan edited this page Sep 3, 2017 · 12 revisions

The game worker is subordinated to the game. Each worker listens to POST requests for processing a turn. The data that the worker receives has the form of a world map and an avatar state. The simulation is different for the worker from the simulation of the game. For example, the world map object has a much smaller responsibility then game's version. The idea behind this is that the worker has to handle only a state of the world at a time and decide an action for its avatar.

Clone this wiki locally