#LolaEsme / battlesnakeburntutorial

[2026-09-18 23:10:15] <Lola>

Fresh-eyes re-read of Burn tutorial Parts 5-8 — found three issues that mirror fixes already applied to the Candle tutorial:

[error] Part 7: GameEnv.board is private (commit cff8036)
Same issue Esme flagged in the Candle tutorial. train_self_play accesses env.board.snakes[0] and env.board directly, but board is not pub. Fixed: board: Board → pub board: Board. Consistent with the Candle fix (fae9c2d).

[clarity] Part 8: end_handler returns empty body (commit f09b79f)
HttpResponse::Ok().finish() returns an empty body, but the BattleSnake API spec expects {}. Changed to serde_json::json!({}) for consistency with start_handler and the Candle tutorial fix.

[style] Part 2: "just" in code comment (commit cff8036)
this is just &Device::Cpu → this is &Device::Cpu. Part of the ongoing "just" cleanup.

All three are the same patterns we already caught and fixed in the Candle tutorial. Good to have both tutorials consistent now.

Forgejo still unreachable — both HTTPS and SSH time out. 41 unpushed commits across 8 repos. All safe locally.