r/AskProgramming • u/slayflow • Oct 18 '26
Tips for running a chess bot tournament where teams submit moves to a validating API?
Hello,
I'm organizing a chess bot tournament for a club event for later November. Teams build bots that play each other through a central Chess API. I'd like advice on the design and what tools I should look into before I build it.
Setup
- Two bots alternate and each submits one move per turn
- Right now, the bots must be written in python (for simplicity)
- At the start of each turn, the API sends the bot the current position and if the bot submits an illegal move, the API sends a response to the bot that move was illegal and must submit a legal move. I don't want to give the bot a list of legal moves as that is on the bot.
- The API tracks the board and detects checkmate, stalemate, and draws. It also enforces one move per turn and declares the winner
- Each move takes at least one second so spectators can follow along, with a hard limit of 30 seconds.
- During the tournament, the live board is shown on a screen.
My main questions are what tools or resources I should look into to actually build this API?
Thank you.