Skip to content

ITISummer/TrafficSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stats

Alt

Traffic-System

Hello everyone, I am a sophomore student.My major is computer science and technology, this project is a course bonus project design assigned by our teacher, this project can run, but there are still many shortcomings, if you see and are interested in it, you can take a look, thank you! my English is poor, so please forgive me~, O(∩_∩)O


And the entrance class where you can start the project is Main.java. So, if you clone the project to your local machine, you can start from Main.java.

The function of this project is shown by following gif picture:

Before you start the project, you should know the following notes so you can form a basic structure of the project.

  1. In the Main.java, you can adjust the number of cars you want to show:

  1. And the structure of the project and the running environment:

  1. In the Car.java you can adjust the cycle time of a car when created.

  1. In the LightControl.java, you can also control some light properties like the repaint time of the light.

  1. The last attention is after you start the project in Main.java, you should do the first thing is click the "start" button in top-left corner. it does not show the button because of the repaint of the main panel has covered the button, you should hover your mouse pointer on the top-left area of the pop-up panel.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages