DeepSeek v4.1 Flash — Colossal Cave Adventure Performance Report
Model: DeepSeek v4.1 Flash (via OpenRouter, fp8 quantization, reasoning effort: max)
Final Score: 80 / 430 (novice class) — 236 in-game turns
Cause of Death: Killed by dwarf knife in a maze dead end
Session: 242 API turns, 559 tool-call rounds, ~1h20m wall time, ~$1.67 total cost
Tokens: 6.1M prompt, 1.1M completion (943K reasoning), 7.2M total
Phase-by-Phase Performance
Phase 1: Surface & Setup (turns 1–21) — Excellent
The model played the opening flawlessly: entered the building, collected all four items (keys, lamp, food, water), lit the lamp, and explored south to find the grate. It unlocked and opened the grate, descended, picked up the cage and rod, discovered the XYZZY magic word, tested it successfully, and used info to learn the scoring mechanic (deposit treasures in the building). The only minor stumble was trying take all (not a recognized command) — it recovered instantly.
Phase 2: Forest Mapping (turns 22–61) — Inefficient but Thorough
The model spent ~40 turns mapping the forest, a low-value area. It used item-drop markers (cage) to distinguish identical-looking rooms — a sound technique. It found the "leporine appendage" (rabbit's foot) and correctly tested whether it was a treasure (it wasn't — 0 points when deposited). It accepted the forest hint for 2 points, which was reasonable since the forest was genuinely confusing.
Critique: The forest is essentially a side area with no treasures. Spending 40 turns here (17% of total) was a poor allocation. The model's systematic mapping instinct was right for the maze but premature for the forest.
Phase 3: Cave Exploration & Treasure Runs (turns 62–177) — Strong
This was the model's best phase. It:
- Discovered the bird chamber, Hall of Mists, fissure, and Mountain King hall
- Figured out the rod/fissure puzzle (wave rod → crystal bridge) through systematic experimentation
- Correctly deduced the bird/snake interaction (bird drives off snake) after:
- Figuring out the bird needs a cage to carry
- Using the hint to learn the rod frightens the bird (cost 2 pts)
- Dropping the rod, taking cage + bird
- Deposited three treasures: diamonds (+37), jewelry (+10), silver (+12) — reaching 84 points
- Used XYZZY as an efficient teleport for deposit runs
Critique: The deposit runs were repetitive (R2 → R1 → R3 → R4 → R5 → R6 → R7 → R8 → cave → treasure → R8 → XYZZY → R2) — 12 moves each way. The model never discovered PLUGH (the Y2 teleport word), which would have shortened routes. It also never tried brief mode, which would have reduced output noise on revisited rooms.
Phase 4: The Nugget Problem (turns 178–218) — Good Reasoning, Bad Decision
The model found the gold nugget in R35 (low room south of Hall of Mists), which comes with the warning "You won't get it up the steps." It correctly identified the problem: the nugget blocks the dome climb from R25 to R24, which is the only known route back to R8/XYZZY. It spent a 12-round turn (the longest in the session) analyzing alternate routes, cross-referencing HISTORY, and reasoning through the cave topology.
Critique: The analysis was impressive but led to a fatally speculative conclusion: "R29's south passage (6 ft up) might bypass the dome." This led directly to entering the maze. A better strategy would have been to explore the many untried exits first (R31 down, R27 west, R34 down, R29 west, R29 north) to find alternate routes before committing to the maze with a heavy treasure.
Phase 5: The Maze & Death (turns 219–242) — Fatal Errors
The model entered the maze at R29 south, carrying the nugget at 7/7 inventory capacity. Events cascaded:
- Couldn't drop markers (cage was at R35, not in inventory) — had to use water and food instead, depleting useful items
- Threw the axe at a dwarf (missed, axe now on the ground) — permanently lost its only weapon
- Pirate stole the nugget — the entire reason for entering the maze was now gone
- Continued exploring the maze anyway — looking for the pirate's chest instead of retreating
- Entered a dead end with 2 dwarves — west blocked by dwarf, north and south not exits
- Died to dwarf knife after ~17 consecutive misses
Critique: Multiple compounding errors: entering a maze at full inventory was reckless; after losing the nugget to the pirate, the model should have retreated to known territory (R29 was still reachable) rather than pushing deeper into unmapped maze; the HOSTILES section of the prompt explicitly says "Never plan a move that depends on a hostile continuing to miss" — the model violated this by lingering in rooms with dwarves; dead ends in mazes are inherently traps.
Notepad & Bookkeeping Assessment
The model performed 1,038 notepad operations across 242 turns (4.3 per turn average) plus 76 HISTORY lookups. The four notepads (STATE, MAP, LOG, SCRATCH) were well-maintained: MAP accurately tracked the room graph, LOG was a clear chronological record, STATE was kept current, and SCRATCH contained useful strategic analysis.
However, the bookkeeping was excessive in critical moments. The longest turn had 12 tool-call rounds before submitting a move. Several turns in the maze section had 4–8 rounds of notepad management. While the notes were accurate, this overhead contributed to the model burning game turns and lamp fuel on meta-work. The ~943K reasoning tokens (85% of completion tokens) suggest the model was thinking very hard but not always acting proportionally.
System Prompt & Structure Assessment
The system prompt is well-designed. Here are observations and potential improvements:
What Works Well
- Zero-knowledge rule — correctly prevents the model from "solving" the game from memory. The model was observed catching itself multiple times.
- HOSTILES section — the advice about never depending on misses, retreat bias, and counting hits is exactly right. The model understood these rules but violated them under pressure.
- Notepad structure — STATE/MAP/LOG/SCRATCH is a sound information architecture. The model's map was accurate and its logs were useful.
- STUCK detection — the two-kind stuck definition (no-op vs. strategic) is good.
Potential Improvements
- Add an explicit "retreat when objective is lost" rule. The model's biggest strategic failure was continuing into the maze after the pirate stole the nugget. The HOSTILES section has "retreat bias" for when you hold the goal item, but nothing for when the goal item is taken from you. A line like: "If a hostile or event removes your carried objective, immediately retreat to the last known safe hub room before continuing" would have saved this run.
- Add inventory management guidance. The model entered the maze at 7/7 capacity, unable to pick up markers or treasures. A rule like: "Before entering unmapped territory, ensure at least 2 free inventory slots for markers and discoveries" would prevent this class of error.
- Encourage
brief mode. The prompt never mentions it, but the game's own info text recommends it. On revisited rooms, the full descriptions waste context window and attention. A note like: "After your first full pass through an area, consider using 'brief' to reduce output noise" could help.
- Warn about maze-specific tactics. The prompt's MAP section mentions generic/repeated descriptions and keying rooms by path, but could add: "In areas where all rooms look alike, do not advance without dropping a unique marker in each room. Never enter such an area with a full inventory." This doesn't reveal game-specific knowledge — it's general text-adventure advice.
- Add a "disengage" rule for hostiles. The prompt says not to depend on misses and not to re-fight after being hit, but doesn't say what to do. Something like: "When a hostile appears, your immediate priority is to move toward the nearest mapped safe room. Do not stop to update notes, search history, or analyze — move first, record later" could prevent the note-taking-while-under-attack pattern.
- Reduce notepad overhead on simple turns. Many turns are just "move west, arrive at known room." The model still performed 2–4 notepad ops on these. The prompt could say: "On routine moves to already-mapped rooms with no new events, a single LOG append suffices — do not re-update STATE/MAP unless something changed."
- Magic word discovery. The prompt handles discovered magic words well (test in the room found, record results). But it could add: "When you find a room with a distinctive marking or label (like a word or symbol on the wall), try speaking the marking as a command." The model found the Y2 room and tried
y2 as a command, which was correct instinct, but didn't try other formulations. This one is borderline — it might cross the "no cheating" line.
- Consider reducing the notepad count. SCRATCH and STATE overlap significantly in practice. The model's SCRATCH largely duplicated MAP and STATE information in prose form. Merging STATE+SCRATCH into a single "NOTES" pad might reduce bookkeeping overhead without losing information.
Structural/Tool Observations
- The tool-call round-trip pattern (notepad ops → submit_move) is clean but creates overhead. Each round-trip is a separate API call with the full system prompt + notepads re-injected. With 559 rounds, this meant 6.1M prompt tokens — most of which were repeated context. If the harness supports parallel tool calls (multiple notepad ops + submit_move in one response), ensuring the model uses them would cut round-trips and cost significantly.
- The HISTORY read-only notepad consumed 76 lookups. Many of these were the model re-verifying things it had already recorded in MAP or LOG. The prompt's note about "if you need HISTORY routinely, your capture is under-informing" is correct but the model didn't internalize it.
- The [FILTERED] incident (turn ~377 in HISTORY) suggests some content filtering interfered with a game command. This is a minor but real reliability issue with the API provider.
Bottom Line
DeepSeek v4.1 Flash played a competent early game, correctly solving the rod/bridge and bird/snake puzzles through experimentation. It deposited 3 treasures for 84 points. It died because it entered a maze carrying a high-value treasure at full inventory, lost the treasure to a pirate, then continued deeper rather than retreating, and was trapped in a dead end with dwarves.
The model's reasoning was thorough — often impressively so — but the ratio of thinking to acting was too high at critical moments. The system prompt is strong but could benefit from explicit rules about retreat-when-robbed, inventory management before exploration, and prioritizing movement over bookkeeping when under threat.