https://github.com/reeceyang/battlecode24
Battlecode 2024 submission
https://github.com/reeceyang/battlecode24
Last synced: about 1 month ago
JSON representation
Battlecode 2024 submission
- Host: GitHub
- URL: https://github.com/reeceyang/battlecode24
- Owner: reeceyang
- License: agpl-3.0
- Created: 2024-01-15T22:36:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-29T21:13:45.000Z (over 2 years ago)
- Last Synced: 2025-06-27T13:47:41.663Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 247 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Battlecode 2024 Scaffold
This is the Battlecode 2024 scaffold, containing an `examplefuncsplayer`. Read https://play.battlecode.org/bc24/getting-started!
**We are using a rewritten version of the client this year, so please let teh devs know
if you encounter any issues or have any feedback!**
### 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!
### Configuration
Look at `gradle.properties` 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 `compatibilityClient` configuration to `true` to download a different
version of the client.