Skip to content

Latest commit

ย 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

 ____                           _     _____ _     _       __ 
|  _ \ _ __ ___  ___  ___ _ __ | |_  |_   _| |__ (_) ___ / _|
| |_) | '__/ _ \/ __|/ _ \ '_ \| __|   | | | '_ \| |/ _ \ |_ 
|  __/| | |  __/\__ \  __/ | | | |_    | | | | | | |  __/  _|
|_|   |_|  \___||___/\___|_| |_|\__|   |_| |_| |_|_|\___|_|  

Present Thief

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.

๐Ÿš€ Why Present Thief?

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

โœจ Features

  • 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

โšก Installation

Quick Install (Recommended)

cargo install turbo --locked
git clone https://github.com/GauravS13/Present-Thief.git
cd Present-Thief
turbo run -w .

From Source

git clone https://github.com/GauravS13/Present-Thief.git
cd Present-Thief
cargo build --release
turbo run -w .

Play in Browser

turbo build --release
# Open www/index.html in your browser

๐Ÿ Quick Start

# 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

๐Ÿ’ซ Gameplay Guide

The Basics

# 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

Stealth Moves

# 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

Pro Tips

# 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

๐ŸŽฏ Controls Reference

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 -

๐Ÿ† Scoring System

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

๐Ÿ“Š Real-World Impact

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

๐Ÿ› ๏ธ System Requirements

  • 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

๐Ÿ“ Project Structure

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

๐ŸŽ„ Level Progression

  1. Tutorial - Learn the ropes (no guards)
  2. First Guard - Introduction to stealth
  3. Adding a Door - Hacking 101
  4. Two Guards - Double trouble
  5. Vertical Challenge - Master the platforms
  6. Two Doors - Multiple hacks required
  7. Three Guards - Patrol coordination
  8. Tight Corridors - Limited escape routes
  9. Complex Maze - Navigation nightmare
  10. Final Challenge - Everything at once!

๐ŸŒŸ Created By

GauravS13 - Building games that bring holiday joy.

๐Ÿค Contributing

Found a bug? Have a cool feature idea? Contributions make the holidays brighter!

  1. Fork the repo
  2. Create your feature branch (git checkout -b amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin amazing-feature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is open source and available under the MIT License.


Made with โค๏ธ and lots of ๐ŸŽ„ by GauravS13

If Present Thief brought you holiday joy, consider giving it a โญ on GitHub!

๐ŸŽ… PRESS START TO STEAL CHRISTMAS BACK ๐ŸŽ…

About

๐ŸŽฎ A pixel-perfect stealth platformer crafted in Rust. Dodge guards, hack doors, chain combos, and rescue Christmas in 256ร—144 pixels of festive chaos!

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages