# Red-Light-Green-Light
Red Light, Green Light is a fun and intense web-based mini-game inspired by the hit series Squid Game. In this game, you're a player trying to reach the finish line while a creepy doll watches over you.
You can only move forward when the doll says "Green Light", but the moment it turns to "Red Light", if you move even slightly, youβre caught and eliminated
Can you survive the Red Light, Green Light challenge? Move only when the doll isnβt lookingβ¦ One wrong move during red light, and it's GAME OVER. π
## How to Play
π’ Green Light β Use W / Arrow Up to move forward.
π΄ Red Light β DON'T MOVE! If you press a key during red light, you lose.
π Reach the white finish line at the top of the screen to win.
π― Timing and focus are everything!
## Features
Simple yet intense mini-game
Doll changes lights randomly every few seconds
Player dies if moving during red light
Win condition: reach finish line safely
Full keyboard controls
Runs entirely in your browser
# π Project Structure
bash Copy Edit red-light-green-light/ βββ index.html # Main HTML page βββ style.css # Game styling βββ script.js # Game logic π How to Run the Game Locally Clone the repository:
bash Copy Edit git clone https://github.com/yourusername/red-light-green-light.git cd red-light-green-light Open index.html in your browser
Youβre ready to play!
Hosting on GitHub Pages
Push your files to a GitHub repository.
Go to Settings > Pages
Set source to main branch and root (/)
Access your live game at:
arduino Copy Edit https://yourusername.github.io/red-light-green-light π§ Inspiration Inspired by the viral Squid Game challenge β this mini-game brings the tension of the first episode into your browser in a fast-paced arcade format.