= Python Code =
== What does it do? ==
Controls all the high level behaviours and strategy
== Where is the Python code? ==
it is located in:
{{{robot/PyCode}}}
== What are the important files? ==
Player.py loads a player (set by spip???)
for example, this is a code snippet from Player.py:
{{{import Forward as selectedPlayer}}}
then we have Forward.py and the main function appears to be:
{{{
def DecideNextAction():
}}}
=== Tips and tricks: ===
* use spaces instead of tabs when your editing python. if you dont, you may get indent errors or just plain strange editors. your editor should have a setting to use spaces when you press the tab key.