Skip to content

wmmnola/OpenNodeTransport

Repository files navigation

Open Node Transport

An open source Transportation game based on node connections. Game hosted here

Technical Deitals

This is written in javascript, with the p5.js libray

How to play

The game revovles around nodes and connections which you build between those nodes. Each node begins with a random size. In the node there are commuters, whom have a specific destination node. You are in the role of a builder, who must construct connections between the nodes. The cost of construction is directly proportional to the Euclidian Distance between those two nodes Once the nodes are constructed, the commuters navigate them randomly, until their destination node is reached.

Everytime a commuter reaches their destination node, you get money. The amount of which depends on the number of nodes they had to travel in order to reach their destination. The less nodes they went through the more money you get.

Commuters are spawned by the nodes. The number of which are determined by the growRate, which is indicated by the color of the node(Red is a negative growthRate, green is a postive one.) The growth rate is usually positive so long as the node's infastructure can support more. Infastructure of a destination node is increased everytime a commuter reaches that node.

If two nodes grow to the point of overlap, the node with the larger infastructure will absorb the smaller node. This means that the population, and connections in the smaller node will be inherited by the larger one.

Improvements to make

  • Implement a more elegent growth algorithim. Perhaps Feignenbaum

  • Implement some way to express traffic on a node.

  • Implement a better pathfinding AI.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages