Skip to content

ierdna-f/semaphore-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

semaphore-js

College Project The idea of the project was to implement a simple webmage with a crossing pass controled by 2 semaphores and sometimes (randomic) the cars would turn on the street and, otherwise they would go straight. It should be controled by time and dont let car's crash. I used object Date() to control it by time, and math.random to implement some times the car would turn. The project to work properly you must choose a background picture, 2 small cars, 1 horizontal 1 vertical aligned, and 2 semaphores, I add the one's i used but you can change and put it on /elements (cars, background) /signs semaphores

About

College Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published