Make a Version of robbery bob
- User
Make a Version of robbery bob
Assistant
I'll build Sneak Thief — a top-down stealth heist game inspired by Robbery Bob. Clearing the racing game and building the new game completely.
Now building everything from scratch for the stealth heist game.
I accidentally overwrote
const.tswith the types/engine file. Let me fix this properly — separateconst.tsfor constants andengine.tsfor the game logic.Now the core game engine — player movement, guard AI with vision cones, and loot collection.
Engine is clean. Now the renderer — top-down tiles, guards with vision cones, player animation, loot sparkles.
Now storage, audio, then the React components.
Now the React components — canvas component, HUD, screens, and the App shell.
Clean build. Fixing the title and a minor style cleanup.
Let me now do a final build to make sure everything compiles cleanly.
There's a React hooks issue in the canvas component —
useRefused insideuseEffect. Let me fix it.Build is clean. Sneak Thief is ready — a top-down stealth heist game inspired by Robbery Bob. Here's what you get:
Core Loop
- Navigate top-down rooms avoiding guard vision cones
- Collect all valuables (gems, wallets, laptops, paintings, etc.) to unlock the exit door
- Reach the exit to complete the level and move to the next
- Getting spotted = BUSTED — guards chase you down fast
Stealth Mechanics
- Vision cones — each guard has a 60° cone extending 140px with real line-of-sight (walls block it)
- Sneaking — hold SHIFT or tap the SNEAK button to move quietly, halving the distance guards can spot you
- Hiding spots — green carpet/bush tiles make you invisible to guards unless they're right on top of you
- Stun from behind — sneak up and the guard gets stunned for 3 seconds with stars around their head (+200 pts!)
- Guard AI states — Patrol → Suspicious (❗) → Chasing (❗❗❗) → Stunned → Returning to patrol
Levels
- The Suburbs — single guard, 5 items, open-plan house
- Downtown Office — two guards on overlapping patrols, 7 items, cubicle maze
- City Museum — three guards, 8 items, pillars and display cases
Controls
Action Desktop Touch Move WASD / Arrows Drag on screen Sneak Hold SHIFT Tap SNEAK button Pause P / Esc Pause button Restart R (on game over) Button Juice & Feedback
- Screen shake on stuns and catches
- Gold sparkle particles on loot pickup
- Animated vision cones (color/intensity by state)
- Floating score popups
- Exit door pulses green when unlocked
- HUD shows score, loot progress, and EXIT OPEN banner
- Sneak indicator ring around player
Full Game Flow
- Start screen — level previews, how-to-play, high score leaderboard
- Pause overlay with resume/restart/menu
- Level Complete — stats grid, next level button
- Caught screen — busted stamp, score entry for high scores, retry, leaderboard
- 3 levels with increasing difficulty; completing all returns to menu
Files built:
src/game/const.ts,src/game/types.ts,src/game/levels.ts,src/game/engine.ts,src/game/render.ts,src/game/storage.ts,src/game/audio.ts,src/components/GameCanvas.tsx,src/components/HUD.tsx,src/components/Screens.tsx,src/App.tsx,src/index.css,index.html
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.