This is the Battlecode 2025 Python scaffold, containing an examplefuncsplayer. Read https://play.battlecode.org/bc25python/quick_start !
README.mdThis file.run.pyThe python script used to run players and upgrade versions.src/Player source code.test/Player test code.client/Contains the client. The proper executable can be found in this folder (don't move this!)matches/The output folder for match files.maps/The default folder for custom maps.
You are free to directly edit examplefuncsplayer.
However, we recommend you make a new bot by copying examplefuncsplayer to a new package (folder) under the src folder.
python run.py runRuns a game with default settings. Use--p1,--p2to use different players, and--mapsto use different maps.python run.py updateUpdate configurations for the latest version -- run this oftenpython run.py zip_submissionCreate a submittable zip filepython run.py verifyVerify that your player--p1submission is valid and will be acceptedpython run.py tasksSee what else you can do!
Look at properties.json for project-wide configuration.
If you are having any problems with the default client, please report to teh devs and
feel free to set the compatibility_client configuration to true to download a different version of the client. You will also need to delete the client_version.txt file and run the update task to force a reinstall.