Skip to content

A game I built for a hackathon with React and Phaser. Check out the game at https://runner.kokeh.dev and also if you want to see the most up to date version, send me a message.

License

Notifications You must be signed in to change notification settings

itskokeh/my-runner-game

Repository files navigation

🚀 Citrus Runner – Built with Phaser, React, and Vite

License: MIT Phaser 3 React Vite pnpm JavaScript Bedrock Passport

An endless runner game inspired by Subway Surfers and Jetpack Joyride, featuring power-ups, structured token patterns, and polished jump physics. Built as part of a hackathon project to demonstrate modular game architecture using modern JavaScript tooling and ability to use AI.

Login Preview

📺 Demo

Try the game live here: https://runner.kokeh.dev

🎮 Game Features

  • ✅ Smooth jump mechanics with consistent gravity suspension
  • ✅ Structured token spawning system inspired by Subway Surfers
  • ✅ Powerups:
    • Magnet: Attracts nearby tokens
    • Double Coins: Doubles token value
  • ✅ Obstacle factory supporting varied group and single obstacles
  • ✅ Modular and scalable codebase (React + Phaser + Vite)
  • ✅ Pause/Resume system controlled via UI
  • ✅ Google Sign-in integration (via Bedrock Passport)

🛠️ Tech Stack

Phaser 3 React Vite pnpm JavaScript Bedrock Passport


🚧 How to Run Locally

  • Clone the repo
git clone https://github.com/itskokeh/citrus-runner.git
cd citrus-runner
  • Install dependencies
pnpm install
  • Run the game
pnpm dev
  • Build for production
pnpm build

💡 Future Improvements

  • Add leaderboard and scoring system
  • Mobile responsiveness and touch gesture support
  • Sound effects and background music
  • Daily missions or goals

🧾 License

This project is open source under the MIT License.


✨ Acknowledgments


🙋‍♂️ Author

Okechukwu Okeke
GitHub: @itskokeh
Email: kokeh@proton.me
Port Harcourt, Nigeria


About

A game I built for a hackathon with React and Phaser. Check out the game at https://runner.kokeh.dev and also if you want to see the most up to date version, send me a message.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published