GRASBOCK

Another attempt at a Civ game


A browser game where one would eventually grow a civilization by building structures strategically on the map. Forests can expand and villages (red tiles) grow and are build like cellular-automata.
The next step would be to allow players to control the villages.
In the last one I still had to make the graphics library & game engine. This time I was able to the graphics library available in the browser.
I used deno for my backend and as such JavaScript is the language. There is a problem though. I really don’t like that I have to use JavaScript floats for indexing. I see myself suffering in the future with such a system. I wanted to use a Rust Backend & WASM on the client so I can share part of the codebase (like serialization and deserialization) with the client, but getting WASM to run was much more difficult than I thought it would be. I don’t know when I will pick this up again