Welcome to MechMania 26! This is the Python Starter Pack. In this repository is the base code to help you get started with the competition.
- Don't edit any files except for
strategy.py
. These other files are necessary for your code to interface with the engine. Messing with them will only cause your player to function incorrectly! - Don't change the return type of
make_decision
instrategy.py
. Again, if you do, you'll only be hurting yourself.
- Do implement your strategy in
strategy.py
. This file is used by the rest of our code to send your decision to the game engine. Make sure you return aCharacterDecision
object. - Do use the helper functions in
API.py
to assist you in implementing your strategy. You can always write your own additional helper functions as well, although we recommend not putting them inAPI.py
. - Do create new files to help organize your code as you wish!
- Do use the objects defined in the
engine
folder to help you.
If you have any questions about the classes and functions given to you here, please check out the game wiki or ask the MechMania staff on our Discord. Good luck!