Skip to content

sergeychernyshev/wasm-life

Repository files navigation

Compiling the WASM Life project 🌱 and Playing 🌎 GitTerra 🗺️

Conway's Game of Life in WebAssembly

A simple project using WASM using emscripten and JS bindings using embind.

It implements Conway's Game of Life that runs in the browser using C++ code compiled to WebAssembly.

See it in action

You can see the app running on our GitHub Pages: https://sergeychernyshev.github.io/wasm-life/

Build it yourself

Use make to build the project. It will compile the C++ code to WebAssembly and generate JS bindings.

It will also build a CLI version of the app as well.

Running the app

Open index.html in your browser using a local web server to run the app. Just opening it using file:// protocol will not work because of CORS restrictions.

We also play GitTerra

We also play GitTerra, a game that generates a map for our code.

About

Web-based Game of Life project written in C++ with WASM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published