CodinGame
Table Of Contents
CodinGame is where I spend most of my spare programming time. Most of that work doesn’t fit in a repository, so this page collects it in one place.
What I do there
Two kinds of problems keep me coming back:
- Bot programming. You write a program that plays a game against other players’ bots, choosing its moves within a strict time limit each turn. Some games are always open; others are time-limited contests with a brand-new game.
- Optimisation puzzles. One fixed problem, scored on how good your solution is rather than whether it’s correct, so there’s always room to improve.
Most of my entries are in Rust.
How I approach them
Most of these problems come down to search: generate candidate moves or solutions, score them with a heuristic, and keep the best within the time limit. Simulated annealing is the technique I reach for most. Depending on the problem I’ve also used beam search, Monte Carlo tree search and genetic algorithms, with A*, BFS, flood fill, Dijkstra, Prim’s algorithm, the Hungarian algorithm and dynamic programming as building blocks, and bitboards where state needs to be cheap to copy.
The search is usually the easy part. Most of the improvement comes from designing a heuristic that actually reflects what a good position looks like, and that takes a lot of trial and error.
Trial and error only works if you can tell whether a change helped. For Summer Challenge 2026 I built a local referee and a TrueSkill ladder that plays bot versions against each other, so I could compare versions on many games instead of a handful of matches on the live leaderboard.
Results
Ranks as of November 2026. Overall I’m 430th of 5,085,390 players on the coding-points leaderboard; my profile has the details.
Optimisation puzzles
| Puzzle | Rank | Players |
|---|---|---|
| Wordle | 15 | 1,490 |
| Block the Spreading Fire | 23 | 849 |
| Snake | 31 | 417 |
| Bulls and Cows 2 | 44 | 823 |
| A*Craft | 71 | 2,416 |
| Code of the Rings | 96 | 9,634 |
| Code vs Zombies | 115 | 25,936 |
Bot games (Legend league)
Legend is the top league.
| Game | Rank | Players |
|---|---|---|
| Spring Challenge 2023 “Ants” | 162 | 5,784 |
| Tron Battle | 478 | 8,310 |
| Ultimate Tic-Tac-Toe | 500 | 10,176 |
| Spring Challenge 2022 “Spider Attack” | 524 | 9,432 |
Live contests
| Contest | Rank | Players | Language |
|---|---|---|---|
| Summer Challenge 2026 | 285 | 1,595 | Rust |
| Fall Challenge 2023 | 371 | 4,669 | Rust |
| Spring Challenge 2021 | 561 | 6,867 | Python |
| Winter Challenge 2024 | 568 | 3,900 | Rust |