Skip to content

Latest commit

 

History

History
50 lines (46 loc) · 1.53 KB

README.md

File metadata and controls

50 lines (46 loc) · 1.53 KB

Conway's Game of Life written in Rust and compiled into WebAssembly

Based on the tutorial from the Rust 🦀 and WebAssembly 🕸 book; it demonstrates how to compile Rust sources into WebAssembly to be served via Node.js.

Build Status

📚 Table of Contents

  1. Core sub-project
  2. Web sub-project

Prerequisites

This project requires Rust to be installed via rustup as well as the wasm-pack being installed. To verify, run wasm-pack --version.

Get the Sources

$ git clone https://github.com/tglaeser/life.git
$ cd ./life

Displays the Project Structure

$ tree -L 3 .
.
├── Cargo.toml
├── core
│   ├── Cargo.toml
│   ├── README.md
│   ├── src
│   │   ├── lib.rs
│   │   └── utils.rs
│   └── tests
│       └── web.rs
├── LICENSE_APACHE
├── LICENSE_MIT
├── README.md
└── web
    ├── bootstrap.js
    ├── index.html
    ├── index.js
    ├── package.json
    ├── README.md
    ├── stylesheet.css
    ├── timer.js
    └── webpack.config.js