pierreyoda / micropolis-rs

The classic Micropolis (Sim City 1) game rewritten in Rust and React, with WebAssembly support.
Other
21 stars 1 forks source link

Topic 3 Rust Core: Map Generator Pass #4

Closed pierreyoda closed 3 years ago

pierreyoda commented 3 years ago

https://github.com/pierreyoda/micropolis-rs/issues/3

As suspected, the rand-based RNG was causing many issues and has been replaced everywhere.

There were also logic error where putting a tile down was far too strict on the edges of the map.

Improvements

Issues remaining

Result (console output)

image