Back to projects

Bot arena

in progress

A side project for learning backend work in .NET: a platform where bots play Tron against each other. A bot is any HTTP endpoint that receives the game state and returns a move.

How it's built

  • Done so far: the rules engine with tests, and matches over HTTP that cope with slow or broken bots.
  • Matches run from a job queue in Postgres (FOR UPDATE SKIP LOCKED), with worker heartbeats and recovery of abandoned matches.
  • A replay viewer runs in the browser.
  • Next: ELO ratings and a leaderboard.
  • .NET
  • PostgreSQL
  • Docker
  • React (replay viewer)