Skip to content

v1.0.2 New features to support scenario mode research

Compare
Choose a tag to compare
@jsharf jsharf released this 21 Jul 20:23
· 12 commits to main since this release

Update notes:

- Turn counter can be hidden via per-lobby config.
- Cards "standing up" now disabled by default.
- Visualization script now works with scenario files. Also has headless option. 
- Removes turn rewards when using custom targets.
- Push button "S" to select cards. Per-lobby config, disabled by default.
- New scenario lobby "scenario-lobby-button" Has button-pushing enabled by default.
- Scenarios now have duration "duration_s" field.

Using visualization script to inspect scenario files:

Generate an image (headless) via:
python3 -m cb2game.server.map_tools.visualize --scenario_file maps/scenario.json --output_file="./test.png"
View without creating an image file (opens window to view):
python3 -m cb2game.server.map_tools.visualize --scenario_file maps/scenario.json

Upgrading:

  • Run python3 -m pip install --upgrade cb2game==0.9.17
  • Fetch latest client with python3 -m cb2game.server.fetch_client
  • Depending on features you're using, you probably want to regenerate config. We added a new lobby scenario-lobby-button which enabled card-selecting via a button (Press "s" key).