Skip to content

An endless runner game inspired by Pudge character from DOTA 2. Dodge obstacles and achieve the highest score possible!

License

Notifications You must be signed in to change notification settings

gbrlstr/pudge-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

71 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Pudge Runner - Extreme Difficulty Edition

Version HTML5 Web Game License Open Source

An endless runner game inspired by Pudge character from DOTA 2. Dodge obstacles and achieve the highest score possible!

๐ŸŽฎ Play Now | ๐Ÿ“– Documentation | ๐Ÿ› Report Issues | ๐Ÿค Contribute

Game Preview

โœจ Features

๐ŸŽฏ Core Gameplay

  • Responsive Jump System - Precise character control with smooth physics
  • Dynamic Obstacles - Multiple enemy types with unique behaviors
  • Progressive Difficulty - Gradually increasing challenge levels
  • Persistent High Score - Local storage with cloud ranking integration
  • Optimized Collision Detection - Forgiving hitboxes for better gameplay experience

๐ŸŽจ Visual & UI Excellence

  • Modern Design System - Professional DOTA 2-themed interface
  • Particle Effects - Jump trails, collision effects, and visual feedback
  • Smooth Animations - Fluid character and obstacle movements
  • Dynamic Parallax Background - Multi-layer depth system
  • Desktop UI - Optimized interface for web browsers
  • Glass-morphism Effects - Modern translucent design elements

๏ธ Technical Architecture

  • Modular ES6 Architecture - Clean, maintainable object-oriented code
  • Robust Asset Management - Fallback system for failed sprite loads
  • Keyboard Controls - Optimized desktop input handling
  • Auto-pause System - Automatic pause when tab loses focus
  • Error Handling - Comprehensive error recovery and debugging

๐Ÿš€ Quick Start

Prerequisites

  • Modern web browser (Chrome 80+, Firefox 75+, Safari 13+, Edge 80+)
  • HTTP server for local development (included in npm scripts)

Running: Direct File Access

Open index.html directly in your browser for quick testing (some features may require HTTP server).

๐ŸŽฎ How to Play

Desktop Controls

  • SPACE - Jump
  • P - Pause/Unpause
  • R - Restart (when game over)

Objective

  • Dodge obstacles by jumping at the right moment
  • Survive as long as possible to achieve higher scores
  • Each dodged obstacle awards 10 points (multiplied by combo)
  • Speed and obstacle frequency increase every 100 points

๐ŸŽฏ Difficulty Levels

Level Name Speed Spawn Rate Multi-Spawn Score Required
1 Iniciante 5 140 frames 1 0
2 Fรกcil 6 130 frames 1 100
3 Normal 7 120 frames 1 200
4 Difรญcil 8 110 frames 1 300
5 Expert 9 100 frames 1 400
6 Insano 10 90 frames 2 500
7 Extremo 11 85 frames 2 600
8 Lendรกrio 12 80 frames 2 700
9 Mรญtico 13 75 frames 2 800
10 Divino 14 70 frames 3 900
11 Imortal 15 65 frames 3 1000
12 Ancestral 16 60 frames 3 1100
13 Transcendente 17 55 frames 3 1200
14 Apocalรญptico 18 50 frames 4 1300
15 Cataclรญsmico 19 45 frames 4 1400
16 Impossรญvel 20 40 frames 4 1500
17+ โˆž Infinito 20+ 40- frames 4+ 1600+

๐Ÿ”ฅ New Extreme Difficulty Features

Multi-Enemy Spawns - Starting from level 6, multiple enemies spawn simultaneously

15 Different Enemy Types - Organized by difficulty tiers:

  • Basic Enemies (Levels 1-5): Meepo, Ghost, Mad, Spoon
  • Intermediate Enemies (Levels 6-10): Boss, Ghost02, Glad, Sad
  • Advanced Enemies (Levels 11-15): Bat, Bloodthirsty, Necromancer
  • Extreme Enemies (Levels 16+): Broodmother, Terrorblade

Advanced Enemy Behaviors - Each enemy type has unique characteristics:

  • Flying Enemies (Bat, Ghost variants): Vertical movement and trail effects
  • Magical Enemies (Necromancer): Death pulse abilities and dark auras
  • Aggressive Enemies (Bloodthirsty): Enhanced speed when near player
  • Heavy Enemies (Boss, Sad): Increased size and resistance
  • Spawner Enemies (Broodmother): Can create minions in extreme levels
  • Demon Enemies (Terrorblade): Metamorphosis and teleport abilities

Infinite Scaling - After level 16, difficulty continues to increase indefinitely:

  • Speed increases by 0.5 per level
  • Spawn rate decreases (more frequent spawns)
  • Up to 6 enemies can spawn at once in extreme levels

Advanced Enemy Behaviors - Higher level enemies have special abilities:

  • Vertical Movement (Nightmare Mode 10+): Ghosts and bosses move up and down
  • Erratic Movement (Hell Mode 15+): Mad and spoon enemies move unpredictably
  • Increased Size & Speed (All Advanced Enemies)

Stricter Collision Detection - Hitboxes become more precise at higher levels

Reduced Score Scaling - Points decrease in extreme levels to prevent infinite scoring

๐Ÿ—๏ธ Project Structure

pudge-runner/
โ”œโ”€โ”€ index.html                 # Main game file
โ”œโ”€โ”€ package.json               # NPM configuration
โ”œโ”€โ”€ README.md                  # This documentation
โ”œโ”€โ”€ LICENSE                    # MIT License
โ”œโ”€โ”€ CONTRIBUTING.md            # Contribution guidelines
โ”œโ”€โ”€ assets/                    # Game assets
โ”‚   โ”œโ”€โ”€ style.css             # Main CSS stylesheet
โ”‚   โ”œโ”€โ”€ logo.png              # Game icon
โ”‚   โ”œโ”€โ”€ imgs/                 # Sprites and images
โ”‚   โ”‚   โ”œโ”€โ”€ pudg.gif         # Player sprite
โ”‚   โ”‚   โ”œโ”€โ”€ ground.png       # Ground texture
โ”‚   โ”‚   โ”œโ”€โ”€ background/      # Parallax layers
โ”‚   โ”‚   โ”œโ”€โ”€ boss/            # Boss animation frames
โ”‚   โ”‚   โ”œโ”€โ”€ meepo/           # Meepo enemy frames
โ”‚   โ”‚   โ”œโ”€โ”€ ghost/           # Ghost enemy frames
โ”‚   โ”‚   โ”œโ”€โ”€ mad/             # Mad enemy frames
โ”‚   โ”‚   โ”œโ”€โ”€ spoon/           # Spoon enemy frames
โ”‚   โ”‚   โ””โ”€โ”€ pudge/           # Pudge enemy frames
โ”‚   โ””โ”€โ”€ sounds/              # Audio files
โ”‚       โ”œโ”€โ”€ background.mp3   # Background music
โ”‚       โ”œโ”€โ”€ kill.ogg        # Kill sound effect
โ”‚       โ””โ”€โ”€ pudge_*.mpeg    # Character voice lines
โ”œโ”€โ”€ js/                      # Modular JavaScript
โ”‚   โ”œโ”€โ”€ main.js             # Entry point
โ”‚   โ”œโ”€โ”€ core/               # Core game modules
โ”‚   โ”‚   โ”œโ”€โ”€ Game.js         # Main game logic
โ”‚   โ”‚   โ”œโ”€โ”€ AssetManager.js # Asset management
โ”‚   โ”‚   โ”œโ”€โ”€ Player.js       # Player class
โ”‚   โ”‚   โ”œโ”€โ”€ Enemy.js        # Enemy classes
โ”‚   โ”‚   โ”œโ”€โ”€ Particle.js     # Particle system
โ”‚   โ”‚   โ”œโ”€โ”€ UI.js           # User interface
โ”‚   โ”‚   โ”œโ”€โ”€ Config.js       # Game configuration
โ”‚   โ”‚   โ””โ”€โ”€ Utils.js        # Utility functions
โ”‚   โ”œโ”€โ”€ firebase-config.js  # Firebase configuration
โ”‚   โ””โ”€โ”€ firebase-rank.js    # Global ranking system
โ””โ”€โ”€ docs/                   # Documentation
    โ”œโ”€โ”€ ARCHITECTURE.md     # Technical architecture
    โ”œโ”€โ”€ DEPLOYMENT.md      # Deployment instructions
    โ”œโ”€โ”€ API.md             # API documentation
    โ””โ”€โ”€ CHANGELOG.md       # Version history

๐Ÿš€ Features by Version

Version 4.0 - Enhanced Edition โœ…

  • โœ… Enhanced UI/UX Design - Complete interface redesign with premium styling
  • โœ… Advanced CSS System - Professional design system with custom properties
  • โœ… Modular Architecture - Complete ES6 modular architecture
  • โœ… Enhanced Audio System - Robust synchronized audio management
  • โœ… Premium Ranking System - Global leaderboard with elegant design
  • โœ… Advanced Final Score - Professional game over screen with detailed stats
  • โœ… Desktop Excellence - High-quality design optimized for web browsers

Planned Features ๐Ÿ”ฎ

Version 4.1 - Gameplay Enhancement

  • ๐Ÿ”„ Lives System - Multiple chances with visual regeneration
  • ๐Ÿ”„ Basic Power-ups - Invincibility, double jump, slow motion
  • ๐Ÿ”„ Expanded Achievements - 15+ unlockable achievements
  • ๐Ÿ”„ Audio Enhancements - Independent music/effects mixing

Version 4.2 - Social & Performance

  • ๐Ÿ”„ Social Sharing - Share scores on social media
  • ๐Ÿ”„ Screenshot System - Capture epic moments
  • ๐Ÿ”„ Performance Analytics - Detailed gameplay telemetry
  • ๐Ÿ”„ PWA Conversion - Progressive Web App with native installation

Version 5.0 - Major Evolution

  • ๐Ÿ”„ New Game Modes - Survival, Time Attack, Challenge Mode
  • ๐Ÿ”„ Boss Battles - Special bosses with unique mechanics
  • ๐Ÿ”„ Component System (ECS) - Entity-Component-System architecture
  • ๐Ÿ”„ 3D Audio & Haptic - Spatial audio and vibration feedback

Legend:

  • โœ… Complete - Feature implemented and tested
  • ๐Ÿ”„ Planned - In development roadmap

๐Ÿ’ป Technologies Used

  • HTML5 Canvas - Game rendering optimized for desktop browsers
  • JavaScript ES6+ Modules - Modular architecture with classes and imports/exports
  • CSS3 Enhanced Design - Professional design system with custom properties
  • Google Fonts - Orbitron & Montserrat for premium typography
  • LocalStorage - Local data persistence and user preferences
  • Firebase - Real-time global ranking system
  • Canvas 2D Context - Advanced rendering with optimized performance
  • CSS Grid & Flexbox - Professional desktop layout
  • Web Audio API - Audio system with volume control
  • Glass-morphism CSS - Modern transparency and blur effects

๐ŸŒ Browser Compatibility

Supported Browsers

  • โœ… Chrome/Chromium 80+
  • โœ… Firefox 75+
  • โœ… Safari 13+
  • โœ… Edge 80+

Recommended Minimum Resolution

  • ๐Ÿ–ฅ๏ธ Desktop: 1366x768 or higher
  • ๐Ÿ’ป Laptop: 1280x720 or higher

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guide for details.

Quick Contribution Steps

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

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐ŸŽฎ Inspiration

Based on the DOTA 2 universe by Valve Corporation. This is an unofficial fan-made project created for educational and entertainment purposes.

๐ŸŒŸ Acknowledgments

  • Valve Corporation for DOTA 2 universe and characters
  • The open-source community for inspiration and tools
  • Contributors and players who make this project better

๐Ÿ“ž Support


๐ŸŒŸ Pudge Runner - Enhanced Edition v4.0

A complete evolution of the original concept, now featuring professional modular architecture, premium interface design, advanced audio system, and high-quality user experience.

v4.0 Highlights:

  • ๐ŸŽจ Redesigned interface with professional styling
  • ๐Ÿ—๏ธ Complete ES6 modular architecture
  • ๐Ÿ”Š Synchronized and robust audio system
  • ๏ฟฝ๏ธ Excellent desktop optimization
  • ๐Ÿ† Premium ranking system design
  • โœจ Advanced animations and visual effects

Developed with โค๏ธ for the DOTA 2 community | Enhanced Edition 2025

About

An endless runner game inspired by Pudge character from DOTA 2. Dodge obstacles and achieve the highest score possible!

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors