____ _ _____ _ _ __
| _ \ _ __ ___ ___ ___ _ __ | |_ |_ _| |__ (_) ___ / _|
| |_) | '__/ _ \/ __|/ _ \ '_ \| __| | | | '_ \| |/ _ \ |_
| __/| | | __/\__ \ __/ | | | |_ | | | | | | | __/ _|
|_| |_| \___||___/\___|_| |_|\__| |_| |_| |_|_|\___|_|
Present Thief is a blazingly fun, retro-style stealth platformer where you infiltrate the North Pole to recover stolen presents. Built with Rust and the Turbo Game Engine for maximum festive chaos in a beautiful 256ร144 pixel experience.
Stop playing boring platformers. Whether you're dodging guards, hacking security doors, or chaining present collections for massive combo bonuses, Present Thief delivers holiday heist excitement with zero compromise.
- ๐ฅ Blazing Fast - Rust-powered performance running at buttery smooth 60fps
- ๐ฏ Smart AI - Guards with patrol routes, detection meters, and hive-mind alerts
- ๐ Beautiful Pixels - Retro 256ร144 resolution with snow particles and festive themes
- ๐ 10 Levels - Progressively challenging stages from tutorial to ultimate heist
- ๐ฎ Smooth Controls - Wall jumps, double jumps, slides, and precision platforming
- ๐ต Full Audio - Festive BGM and satisfying sound effects
- High Performance - Native Rust with WebAssembly target for browser play
- Stealth Mechanics - Crouch for silence, time your moves, avoid detection
- Hacking Minigame - Simon-says style puzzles to bypass security doors
- Combo System - Chain collections for up to 2.5x score multipliers
- Dynamic Difficulty - Game adapts based on your performance
- Adaptive AI - Guards share alerts via radio, coordinate searches
- Score Tracking - Stealth bonuses, speed bonuses, ghost mode rewards
- 100% Offline - No internet required, pure local gaming fun
cargo install turbo --locked
git clone https://github.com/GauravS13/Present-Thief.git
cd Present-Thief
turbo run -w .git clone https://github.com/GauravS13/Present-Thief.git
cd Present-Thief
cargo build --release
turbo run -w .turbo build --release
# Open www/index.html in your browser# Run the game
turbo run -w .
# Controls while playing:
# WASD/Arrows = Move
# SPACE = Jump (double jump in air!)
# S = Crouch (quieter movement)
# E = Hack nearby doors
# ESC = Pause
# R = Restart level# Your Mission:
- Collect all presents in each level
- Avoid detection by patrolling guards
- Hack security doors to access new areas
- Complete levels as fast and stealthily as possible
# Movement Options:
- Walk normally = standard speed, some noise
- Crouch (S) = slower but much quieter
- Slide (Run + Crouch) = fast and low profile
- Wall Jump = reach higher platforms
- Double Jump = extra air mobility
# Maximize Your Score:
- Ghost Bonus = complete with zero alerts triggered
- Stealth Collect = grab presents while undetected (+500)
- Combo Chain = collect quickly for up to 2.5x multiplier
- Speed Run = faster times mean bigger bonuses
| Action | Keyboard | Gamepad |
|---|---|---|
| Move | WASD / Arrows |
D-PAD |
| Jump | SPACE |
A |
| Double Jump | SPACE (in air) |
A (in air) |
| Crouch | S / Down |
Down |
| Slide | Run + S |
Run + Down |
| Hack | E |
B |
| Restart | R |
- |
| Pause | ESC |
Start |
| Help | H |
- |
| Bonus Type | Points | How to Earn |
|---|---|---|
| Base Present | +1000 | Collect any present |
| Stealth Bonus | +500 | Collect while undetected |
| Hack Bonus | +500 | Successfully bypass a door |
| 2x Combo | +1000 | 2nd quick collection |
| 3x Combo | +2000 | 3rd quick collection |
| 2.5x Combo | +2500 | 4th+ quick collection |
Before Present Thief:
- ๐ฎ Boring platformers โ ๐ด Slow, repetitive gameplay
- ๐ค Dumb AI โ ๐ Predictable, easy enemies
- ๐จ Generic graphics โ ๐ Forgettable visuals
After Present Thief:
- ๐ฎ Stealth + Action โ โก Heart-pounding heist moments
- ๐ค Smart Guards โ ๐ง Adaptive AI that coordinates
- ๐จ Pixel Perfect โ โ๏ธ Beautiful festive atmosphere
- Rust: 2024 Edition (for building from source)
- Turbo CLI: Latest version
- Platforms: Windows, macOS, Linux, Web (WASM)
- Resolution: 256 ร 144 pixels (scaled)
- Memory: Minimal - runs on almost anything
Present-Thief/
โโโ src/
โ โโโ lib.rs # Main game loop and state
โ โโโ entities.rs # Player, guards, presents
โ โโโ physics.rs # AABB collision detection
โ โโโ stealth.rs # Detection mechanics
โ โโโ ai.rs # Guard AI + difficulty director
โ โโโ hacking.rs # Simon-says minigame
โ โโโ levels.rs # 10 handcrafted levels
โ โโโ themes.rs # Visual themes per level
โ โโโ sprites.rs # Drawing utilities
โโโ audio/ # BGM + SFX (wav files)
โโโ assets/ # Images and graphics
โโโ www/ # Web build output
โโโ Cargo.toml # Rust dependencies
โโโ turbo.toml # Turbo engine config
- Tutorial - Learn the ropes (no guards)
- First Guard - Introduction to stealth
- Adding a Door - Hacking 101
- Two Guards - Double trouble
- Vertical Challenge - Master the platforms
- Two Doors - Multiple hacks required
- Three Guards - Patrol coordination
- Tight Corridors - Limited escape routes
- Complex Maze - Navigation nightmare
- Final Challenge - Everything at once!
GauravS13 - Building games that bring holiday joy.
- ๐ GitHub: @GauravS13
- ๐ Project: Present-Thief
Found a bug? Have a cool feature idea? Contributions make the holidays brighter!
- Fork the repo
- Create your feature branch (
git checkout -b amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin amazing-feature) - Open a Pull Request
This project is open source and available under the MIT License.
