You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jacob Sharf edited this page Jul 21, 2023
·
7 revisions
Welcome to the CB2 wiki!
Getting Started
Installation
See the Readme.md file for instructions on installing dependencies and launching the server.
CB2 Database and CB2 Data Format
See CB2 Database for information on the CB2 database and the
data format used to store game data. It also provides examples of how to write
software to interact with the database and tips for manually browsing the data.
Using CB2 Scenarios.
If you'd like to place players in a custom map or a pre-arranged scenario, see the Scenario Workflow page.
CB2 Administration URLs.
CB2 provides a number of URLs for accessing game data. This can be useful to monitor a live experiment, or to retrieve data aftewards. You can monitor server bandwidth, active games, and see replays of past games. See CB2 Endpoints for more information.
Creating and using CB2 Agents.
CB2 provides a number of example agents that can be used to play the game. These agents can be used as a starting point for creating your own agents. See CB2 Agents for more information.
Editing the state machine.
The state machine is located in server/state.py. We provide examples of
changing CB2 game rules by modifying the state machine in Editing the State Machine.