use the way actions are initiated the same way as koda implemented with PascalExports, using boolean values such as upKey and enterKey, this prevents the user from being able to control the AI
For instructions, please visit: http://code.google.com/p/hedgewars/wiki/BuildingOnWindows