Skip to content

A little traffic simulator webpage/application written in elm+node.js

License

Notifications You must be signed in to change notification settings

xeniagda/Traffic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Traffic

This is a simple traffic simulator written in node.js and Elm.

gif of simulator running

To run everything, run node Server.js in the terminal. If you are running Mac or Linux you can run the Install.py file to install everything necessary. If you make any changes to the Elm files, run the Make.py file to compile everything.

Stuff currently in the simulator:

  • Roads that can be connected to each other, have speed limits etc.
  • Traffic lights
  • Cars with AI
  • Five svg car textures (yellow, blue, police, tiger and Elm), with broken variants to (called "trasig", Swedish for "broken").
  • The ability to control cars from the browser
  • Building roads and traffic lights from the browser
  • A system for commands and permissions
  • Police cars

See Info-Server.md for information about running the server.

About

A little traffic simulator webpage/application written in elm+node.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published