plaicer / function factory

Board Beast

Board Beast brings the classics back to life. Ludo, Chess, Snakes and Ladders, and Checkers in one app, with online multiplayer for up to six players.

About this challenge

You will practice defensive backend coding: validating integer inputs, guarding against the Python boolean-int trap, enforcing board ranges, and returning sentinels instead of throwing. You will fix a planted off-by-one bug in dice forfeit logic, then wire five helpers into a single turn orchestrator that formats a pipe-separated result. Before starting, you should know membership lookups against fixed sets, range validation, run-length counting of consecutive values with counter resets, and sequential pipeline composition.