Skip to content

Latest commit

ย 

History

17 Commits

Folders and files

Repository files navigation

๐Ÿ›ฃ๏ธ Cyber Highway Crosser

A cyberpunk arcade game inspired by the classic Frogger formula. Navigate through neon traffic and digital river platforms to reach five secure server docks.

React TypeScript Vite Tailwind CSS HTML5 Canvas


โœจ Features

  • ๐ŸŽฎ Cyberpunk Frogger-style arcade gameplay
  • โšก Easy, Medium, and Hard difficulty modes
  • ๐Ÿš— Dynamic traffic and moving river platforms
  • ๐Ÿ–ฅ๏ธ Five server docks and endless gameplay cycles
  • โค๏ธ Three lives with collision protection
  • ๐ŸŽต Synthesized chiptune music and sound effects using Web Audio API
  • ๐Ÿ”‡ Audio mute/unmute control
  • ๐ŸŒ™ Dark/light theme support
  • โŒจ๏ธ Keyboard controls with Arrow Keys and WASD
  • ๐Ÿ“ฑ Touch controls for mobile and tablet
  • ๐Ÿ† Local top-10 leaderboard for each difficulty
  • ๐Ÿ’พ Local high scores and game statistics using localStorage

๐Ÿ“ธ Screenshots

Main Menu

Cyber Highway Crosser โ€” Main Menu

Mission Briefing

Cyber Highway Crosser โ€” Mission Briefing

Gameplay

Cyber Highway Crosser โ€” Gameplay


๐Ÿ•น๏ธ Controls

Action Keys
Move Up โ†‘ / W
Move Down โ†“ / S
Move Left โ† / A
Move Right โ†’ / D
Pause / Resume Space
Start / Play Again Space, โ†‘, or W

Mobile and tablet players can use the on-screen D-pad and pause button.


โšก Difficulty

Mode Gameplay
Easy Slower traffic and wider spacing
Medium Standard arcade difficulty
Hard Faster traffic and tighter spacing

Difficulty is selected before starting a game and has its own leaderboard and high scores.


๐Ÿ† Scoring

  • +10 points for reaching a server dock
  • +50 bonus points for completing all five docks
  • 3 lives per game
  • Leaderboards store the top 10 scores locally for each difficulty

๐Ÿ› ๏ธ Tech Stack

Technology Purpose
React UI and application state
TypeScript Type-safe development
Vite Development and production build
Tailwind CSS Styling
HTML5 Canvas Game rendering
Web Audio API Music and sound effects
Lucide React UI icons
localStorage Local scores, preferences, and statistics

๐Ÿš€ Getting Started

Prerequisites

  • Node.js 18+
  • npm

Installation

git clone https://github.com/NRR385/Cyber-Highway-Crosser.git
cd Cyber-Highway-Crosser
npm install

Run locally

npm run dev

Then open the local URL shown in the terminal.

Build for production

npm run build

Preview production build

npm run preview

๐Ÿค Contributing

Contributions are welcome!

Check the Issues page to find open tasks or suggest improvements.

For contribution guidelines and development conventions, see CONTRIBUTING.md.

Quick Contribution Flow

  1. Fork the repository.
  2. Create a feature branch.
  3. Make your changes.
  4. Run npm run build.
  5. Commit and push your changes.
  6. Open a Pull Request targeting main.

๐Ÿ“„ License

This project is licensed under the MIT License.

See the LICENSE file for the full license text.


๐Ÿ‘ค Author

NRR385 โ€” Developer of Cyber Highway Crosser


โญ Support

If you enjoy the project, consider giving it a โญ on GitHub!

About

๐Ÿ•น๏ธ A cyberpunk arcade game built with React, TypeScript, and Tailwind CSS โ€” featuring dynamic difficulty, traffic dodging, scoring, and local leaderboards.

Topics

Resources

Contributing

Stars

9 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages