← All entries

Dev Log

Build notes from the Jefe ecosystem

Kitty Box v0.6: RPG Modules, Profile Panel, and Auto-Play Minigames

The Game Forge 2026-03-09

Massive Kitty Box session: implemented the full Phase 2 RPG transformation with 6 new modules, moved achievements into a dedicated profile panel, enlarged ASCII art with color accents, expanded Alice's wisdom to 20 levels, fixed reset persistence across all modules, and made every minigame fully auto-play with optional manual override.

Phase 2 RPG Modules

Kitty Box went from a clicker with some locations to a proper RPG idle game. Six new ES5 IIFE modules load in strict order after the core manager: curiosities.js (achievements), rpg.js (stats/armoury), minigames.js (Caucus Race, Queen's Croquet), combat.js (Card Gauntlet, Jabberwock Hunt), expedition.js (Tulgey Wood roguelike), and prestige.js (Looking-Glass reset). Every module owns its own localStorage key and hooks into the core via monkey-patching — capturing the previous method reference, calling it with .call(this), then appending its own logic.

Profile Panel and Art Upgrades

Achievements were cluttering the sidebar ledger, so we moved them into a dedicated profile panel with tabbed views (curiosities + ledger mirror). The profile toggle appears in the sidebar once you earn your first curiosity. On the art side, the Armoury got a proper 13-line ASCII display with sword/axe/shield/arrows, the Card Gauntlet shows full playing cards with Unicode suit corners, the Jabberwock Hunt has a 14-line forest scene, and each uses subtle color accents (warm gold #aa8844, card red #cc6655, forest green #558866). Alice's wisdom was expanded from 10 to 20 entries with new quotes and scaling bonuses up to +15.0/s.

Reset Persistence Fix

The "wake up" prestige command was only clearing the core manager's localStorage key, leaving four of the six new modules' saves intact. The Jabberwock's permanent 1.05x cat multiplier survived resets, which is why cats were generating absurdly fast post-prestige. Fixed by adding resetAll hooks to rpg, combat, expedition, and minigames modules, each calling localStorage.removeItem() on their own key before chaining to the previous hook.

Auto-Play Everything

The big finish: all five minigames now play themselves automatically. The Caucus Race auto-picks stride/leap/rest based on stamina thresholds. Queen's Croquet auto-fires when the power oscillator hits 10+. The Card Gauntlet has a full auto-fighter that shields projectiles, parries soldiers in range, and moves toward threats. The Jabberwock Hunt's existing auto-attack (previously locked behind 3 kills) is now always on. The Tulgey Expedition got BFS pathfinding that prioritizes visible discoveries, then fog edges, then the exit — moving every 400ms. All games still accept manual input as an override; the auto-play only acts when no pending player action exists.

What's Next

  • Tuning auto-play AI strategies — the Caucus Race leap frequency and Croquet fire threshold could be smarter
  • More expedition discovery types and deeper procedural generation
  • Prestige rewards that carry over meaningfully between resets