Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 1.1 KB

CUSTOMIZATION.md

File metadata and controls

23 lines (13 loc) · 1.1 KB

Customization

Customizing the build/installation

Build variables are found in .env

Customizing the game:

To customize the game rules and elements beyond the options available in the admin panel, see the following files:

  • config.py

    This file describes the "hard-coded" configuration for the server. Things such as the name, description, credits, etc. are set here, in addition to other similar constants. This is installed to a location in CubeServer-common by configure.sh prior to the build.

  • team.py

    This file defines the model classes for storing team data, laying out the structure for what applies to individual teams.

  • rules.py

    This file defines the model class for storing the game ruleset, and handles the actual scoring of points.

  • scoring

    This package contains miscellaneous scoring utility classes, such as for calculating multipliers.