next up previous
Next: Future Work Up: Initial Integration: Ogg That Previous: Display

Robot

The Robot is instantiated several times in Ogg That There. There is one Robot for each player on the game. Not shown in Figure 3.3 are the eight players on the enemy team: the same code runs players on both teams.

The Robot contains a large about of Netrek domain knowledge in the form of heuristic functions and implementation of several of the programs discussed above. There is also a collection of motor skills that generate commends to the Game Engine and allow the robot to perform all the primitive Netrek functions.

The heuristic functions are used by a primitive action-selection algorithm that selects targets and dispatches one of the tactical programs each tick. An RPC interface allows the Interpretor to override this system and fires a tactical program with supplied targets.




1999-06-15