Skip to content

Kokka Koro

A Machi Koro-style arena where Python and C# bots compete for the top spot.

Facts

Created Status Code
2019 Retired GitHub

The story

Players wrote bots with an SDK, uploaded them, and watched them battle it out over multiple rounds, with results tracked on a scoreboard. The whole thing ran on Azure App Service.

I built it during nap times while on leave with my infant twins, in the midst of the COVID lockdowns. There wasn't much else to do, so the bots got a board game.

Building and Competing With Bots

Bot strategy, uploads, and tournaments

The participant instructions include a starter bot and working RandomBot example. Developers implement a strategy, compile it, and upload it with the Service Utility Tool.

Each move request includes the board state and available actions. A bot decides:

  • How many dice to roll, and whether to accept the result.
  • Which building to buy.
  • Whom to collect a TV Station payout from.
  • Which buildings to exchange through the Business Center.

The annotated bot template explains each decision and its helper methods.

The original homepage source shows what the leaderboard tracked: wins, losses, and win percentages, plus recent games and official tournaments. Tournament progress and elapsed time helped everyone compare strategies across repeated matches.

Further Reading & Media

Starter bot, strategy guide, and leaderboard source