Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 1.55 KB

README.md

File metadata and controls

44 lines (37 loc) · 1.55 KB

Battlecode 2023 Scaffold

This is the Battlecode 2023 scaffold, containing an examplefuncsplayer. Read https://play.battlecode.org/bc23/getting-started!

Project Structure

  • README.md This file.
  • build.gradle The Gradle build file used to build and run players.
  • 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!)
  • build/ Contains compiled player code and other artifacts of the build process. Can be safely ignored.
  • matches/ The output folder for match files.
  • maps/ The default folder for custom maps.
  • gradlew, gradlew.bat The Unix (OS X/Linux) and Windows versions, respectively, of the Gradle wrapper. These are nifty scripts that you can execute in a terminal to run the Gradle build tasks of this project. If you aren't planning to do command line development, these can be safely ignored.
  • gradle/ Contains files used by the Gradle wrapper scripts. Can be safely ignored.

How to get started

You are free to directly edit examplefuncsplayer. However, we recommend you make a new bot by copying examplefuncsplayer to a new package under the src folder.

Useful Commands

  • ./gradlew build Compiles your player
  • ./gradlew run Runs a game with the settings in gradle.properties
  • ./gradlew update Update configurations for the latest version -- run this often
  • ./gradlew zipForSubmit Create a submittable zip file
  • ./gradlew tasks See what else you can do!