/usr/share/games/balder2d/scripts/randomai.py is in balder2d-data 1.0-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | import balder
import random
try:
import psyco
except ImportError:
# no psyco, so don't use it
pass
else:
psyco.full()
def DoProbeControl(probe_id, probe_dict, projectile_list, powerup_list):
return random.randint(0,16)
|