Commit Graph

4 Commits

Author SHA1 Message Date
Chris Proctor
8294311d4b Make the board bigger 2026-06-25 13:01:56 -04:00
Chris Proctor
048cb1c02b Babysnake training works 2026-06-25 13:00:03 -04:00
Chris Proctor
7788e34ebd Migrate babysnake to retro_gamer's observation_function
BabySnake's tabular Q-learning exercise needs a small discrete state,
not the flattened board encoding retro_gamer normally produces. Define
get_state(game) in babysnake_env.py, returning a plain
(agent_x, agent_y, food_x, food_y) tuple, and point babysnake's
observation_function at it instead of declaring a character_set.
Disable the on-screen state overlay so it doesn't clutter the
terminal watch view.
2026-06-24 07:50:20 -04:00
Chris Proctor
42bc2e7a50 Initial commit 2026-06-22 16:14:58 -04:00