Skip to content

About

🚦 Realistic Traffic Signal Control System with Moore State Machine β€” Live timer, signal states (RED/YELLOW/GREEN), built and deployed on Vercel.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🚦 Traffic Control System

A realistic Traffic Signal Control System built using a Moore State Machine model. The system simulates real-world traffic light behavior with proper state transitions and a live countdown timer for each signal phase.

πŸ”΄ Live Demo

πŸ‘‰ https://trafficcontrol-sigma.vercel.app/

✨ Features

  • πŸš₯ Realistic traffic signal simulation (RED / YELLOW / GREEN)
  • πŸ”„ Moore State Machine based logic for smooth state transitions
  • ⏱️ Live countdown timer for each signal state
  • πŸ“Š Current state display (e.g., S0 - RED)
  • ⚑ Fast and responsive UI
  • ☁️ Deployed on Vercel

🧠 How It Works

The system uses a Moore Machine, where the output depends only on the current state. Each state represents a traffic signal condition:

State Signal Description
S0 πŸ”΄ RED Vehicles stopped
S1 🟑 YELLOW Ready to go
S2 🟒 GREEN Vehicles moving

The timer automatically counts down and transitions to the next state.

πŸ› οΈ Tech Stack

  • HTML / CSS / JavaScript
  • Moore State Machine Logic
  • Vercel (Deployment)

πŸš€ Run Locally

git clone https://github.com/samin-developer/Traffic-control-system.git
cd Traffic-control-system
# open index.html in browser

About

🚦 Realistic Traffic Signal Control System with Moore State Machine β€” Live timer, signal states (RED/YELLOW/GREEN), built and deployed on Vercel.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages