SIM001

SIM001 › For developers › Making the executor better

Judging a Towers captain

A captain is a computer commander of Towers. You play one game between two default captains. Next, you let the default captain play itself, to see that the two sides are fair. Last, you judge the default captain against a timid champion.

  1. Type cargo run --release -p cognition_league -- play --game captain --seeds 1.

    All ten drones took off and flew.

    All ten drones took off and flew.
  2. Type cargo run --release -p cognition_league -- judge --game captain --champion default --challenger default.

    On every seed, the score is exactly 0.

    On every seed, the score is exactly 0.
  3. Type cargo run --release -p cognition_league -- judge --game captain --champion timid --challenger default.

    The league says promoted. The challenger is the new champion.

    The league says promoted. The challenger is the new champion.

Learn more

The user story: As a developer of a commander for Towers, I want the league to judge my captain, so that I know if it is better than the champion.