Quickstart

agent.asl
!hello_world.

+!hello_world <-
  .position(MyPos);
  .print(MyPos)
.
main.py
from jason_malmo.game import Game

game = Game('Agent test')
game.register(os.path.join(os.path.dirname(__file__), 'agent.asl'))

game.run()
Output
Calling startMission for role 0
startMission called okay.
Waiting for the mission to start . . . . . .
Mission has started.
agent [8, 229, 5]