Skip to content

Zeeshier/Traffic_Simulation_System_Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Traffic Simulation

Project Overview

A Java-based traffic simulation project that models the movement of vehicles on a road.

Key Features

  • Vehicles: Simulates the movement of vehicles (Bikes, HTVs, LTVs) on a road
  • Lanes: Vehicles can be added to different lanes
  • Traffic Light Control: Traffic light control (RED/GREEN)
  • Real-time Output: Real-time output and density calculation
  • Visual Representation: Visual representation using Java Swing

Getting Started

Prerequisites

  • Java Development Kit (JDK) 8 or higher
  • Eclipse or other Java IDE

Running the Code

To run the code, compile and run the App.java file:

javac App.java
java App

Releases

No releases published

Packages

No packages published

Languages