Research Article

Towards a Serious Game to Help Students Learn Computer Programming

Table 2


openGameConnect the program to the shared memory
closeGame Disconnect the program from the shared memory
refreshGame Ask the game engine to update its data
getMapSize Get the map size
numberEnemies Get the number of enemies visible by the player
numberUnits Get the number of units controlled by the player
getUnit Get the nth unit of the player
giveOrder Set an action to the unit on a target
unitStop Command a unit to stop its current action