Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.04 KB

File metadata and controls

46 lines (32 loc) · 1.04 KB

Header Runner 🏃🚶

A tiny browser game built with React + Vite where the player runs across your browser’s header (title or URL bar).
Jump obstacles, rack up points, and see how far you can go!


🎮 How to Play

  • Press Space to start.
  • While running:
    • Press Space to jump over obstacles ().
    • Keep running (🚶 / 🏃) to increase your score.
  • If you hit an obstacle → Game Over ❌
  • Press Space again to restart.
  • Switch display mode:
    • URI (hash) → The game runs inside your URL bar.
    • Title → The game runs inside the browser tab title.

🌐 Online Demo


🛠️ Tech Stack

  • React
  • Vite
  • TypeScript
  • Emoji sprites for a minimalistic aesthetic
  • Basic CSS with Nunito

🚀 Getting Started

Clone the repo and install dependencies:

git clone https://github.com/your-username/header-runner.git
cd header-runner
npm install