Git Product home page Git Product logo

redlightgreenlight's Introduction

Red Light, Green Light

This project is a simple implementation of the game Red Light, Green Light from the TV show Squid Game. In this single-player game, the goal is to move from the starting position to the finish line. To move, player simply presses the arrow key corresponding to the direction that they wants to move. One special constraint is that the player is only allowed to move when the green light is on and has to stop/stand still when the light turns red.

A Giant Doll is used to track the movements of the player. During the duration of green light, the doll stands still with its back facing the player. The player should move toward the finish line during this time, which is located near the doll. The duration of green light is the duration of the song played by the doll. When red light starts, the doll turns around and detects any movement occurring during this time. The light switches from red to green when the doll has turned back to its original position with its back facing the player.

The player has to reach the finish line within 7 green lights in order to win this game. If the player is moving when the red light is on, enters the dead zone by running away from the doll, or has not reached the finish line after 7 green lights, the player is shot immediately. The game ends when either the player wins or have been shot.

Graphics Credits

3D Giant Doll Model: 2Konseil on Sketchfab

3D Player Model: Character Amy from Mixamo

Walls Texture: 588ku on Pngtree

Floor Texture: Wesley Tingey on Unsplash

Sound Credits

Doll Song and Turning Sound are adapted from Squid Game, directed by Hwang Dong-hyuk.

Walking Sound Effects: Sneaker Shoe On Concrete Floor Fast Pace 1 by fesliyan Studios

Gun Shot Sound Effect: 12 Gauge Pump Action Shotgun Close Gunshot B by fesliyan Studios

redlightgreenlight's People

Contributors

vbnguyen165 avatar

Watchers

 avatar

Forkers

alivgalihpp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.