brad811 /
dart-rpg
A browser-based 2d rpg engine and game editor
Loading repository data…
kritikaSharma0911 / repository
A 2D browser-based Endless Runner Game built using React + Vite + JavaScript. The player runs automatically and must jump over obstacles to survive as long as possible. The score increases over time, and the game gradually becomes more challenging.
A 2D browser-based Endless Runner Game built using React + Vite + JavaScript. The player runs automatically and must jump over obstacles to survive as long as possible. The score increases over time, and the game gradually becomes more challenging.
Demo Preview Player runs automatically Press SPACE to jump Avoid obstacles Score increases over time Game Over screen with restart option
Features
Auto-running character Spacebar jump control Dynamic obstacle generation Collision detection Real-time score tracking Increasing game difficulty Restart functionality Clean and responsive UI
Tech Stack
Frontend: React.js Build Tool: Vite Language: JavaScript Styling: CSS Game Loop: requestAnimationFrame
How It Works The game uses requestAnimationFrame for smooth animation. Obstacles are generated at random intervals. Collision detection is implemented using bounding box logic. Score increases based on survival time. Game state is managed using React hooks
Core Dependencies (Required to Run the App)
React
Used to build the UI components Manages game state (score, game over, restart, etc.) React DOM Renders React components into the browser DOM
🔹 Build & Development Dependencies
Vite
Fast development server Handles bundling and hot reload Optimizes production build Vite React Plugin Enables React support inside Vite Allows JSX and Fast Refresh
Selected from shared topics, language and repository description—not editorial ratings.
brad811 /
A browser-based 2d rpg engine and game editor
Robinyo /
A browser-based 2D diagram editor
amuTBKT /
A lightweight, browser based 2d Physics Editor
Celstomp /
A lightweight and accessible browser-based 2D handdrawn cel animation suite with a specialized layer system, timeline controls, and intuitive drawing tools.
bjorn /
Experimental client + server for a browser-based 2D MMORPG
kastorcode /
Browser based, battle royale, online multiplayer 2D game about bombs on a board.