Hacker
Durga Maheeja Mogalla
@maheeja_30
Elsewhere
Projects
Odyssey: Should the Bot Let You Win?
Flagsmith Experimentation HackathonNov 2026
Odyssey answers a question every game with a computer opponent faces: what should the default difficulty be, and how should the bot play each player? Most players never change the default, so developers usually guess. How it works: one Flagsmith multivariate flag, opponent_policy, picks the opponent: fixed (the same 1500-strength bot for everyone, the control), adaptive (matched to the player's rating) or humanlike (Maia-2, an AI trained on real human games). Each player is a Flagsmith identity with their rating as a trait. get_experiment_flag() assigns the variant, and a played_again event (another game within 10 minutes) goes to Flagsmith Experimentation. What we ran: we pre-registered the design in git, then ran 60,000 players built from 927,000 real Lichess games through self-hosted Flagsmith. We also ran OdysseyBot, a live Lichess bot (Python, Stockfish, Maia-2), against 26 real bots and 4 real people, 3 of whom came back on their own. What we found: overall there was no winner (Flagsmith: Control), but the effect flips by skill. Beginners come back more with a fair opponent, and players above 1600 come back more when they win. Who would use it: game developers and product teams choosing any "how hard should this be" setting (games, quizzes, learning apps). The answer is a Flagsmith segment on player rating, with no code change and no redeploy.