Game of life

Doosan published on
1 min, 188 words

Categories: Side Project

I worked on an interpreter project about 3 months ago. I wanted to turn my project into a web service, so I googled it. All I have to do is compile the rust project as a wasm file and publish it. So I started the game-of-life project to practice converting rust code to wasm file.

https://rustwasm.github.io/docs/book

This project of mine follows the tutorial above. Except for the project settings and webpack settings, all other codes were used exactly as they were in the tutorial.

In the tutuorial, author use wasm-pack-template to start the project but both game-of-life booka and wasm-pack-template are outdated, I couldn't learn much about setup and running the project. I depend a lot wasm-pack doc while doing this project.

👉Github Repository

👉 Try game of life here

References how to publish results on a GitHub page

Github Action

https://www.daleseo.com/?tag=GitHubActions

Github Action Workflow

https://github.com/TX-2/TX-2-simulator/blob/main/.github/workflows/deploy-wasm.yml