Giter Site home page Giter Site logo

klemola / liikennematto Goto Github PK

View Code? Open in Web Editor NEW
46.0 4.0 2.0 2.1 MB

:blue_car: Small scale traffic simulation with a playful approach

Home Page: https://yourmagicisworking.itch.io/liikennematto

Elm 99.33% Makefile 0.20% HTML 0.47%
elm 2d-game simulation svg elm-ui citybuilder gamedev traffic-simulation

liikennematto's People

Contributors

klemola avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

liikennematto's Issues

Missing asset car_white_1.png

hey @klemola,

awesome project, got me really excited to poke around and play with it.
I think the debug menu is missing an asset car_white_1.png:

Bildschirmfoto 2022-05-03 um 20 12 54

Probably just forgot to check it in or sth. Rock on!

Known issue: cars may end up in a gridlock

Cars rely on collision only to make it through an intersection. There's nothing equivalent to turn lights for cars to anticipate where other cars are going. Once the pathfinding covers more than one cell/tile at a time, it's possible to make more realistic predictions and give priority to one of the currently gridlocking cars.

Cars stuck

The live demo, with four cars, had two of them stuck toggling between 0 and -20 m/s^2 acceleration (speed of 0 m/s)

It's the two pointed at below.

image
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.