Skip to content

whisust/game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WASM Game of Life

Implementation of Conway's game of life using wasm-pack.

About

This is a toy project, designed to learn how to use wasm-pack to create embeddable rust code and graphical html / js.

It has not other purpose than having some fun while playing with living cells.

🚴 Usage

🛠️ Build with wasm-pack build

wasm-pack build

🛠️ Build the webpage with webpack and node

npm install
npm start
  • ctrl + <click> to generate a pulsar
  • alt + <click> to generate a glider
  • <click> to toggle a cell

LAST STATE => https://rustwasm.github.io/docs/book/game-of-life/interactivity.html

TODO

  • make it look nice
  • time profile js + wasm to optimize it

About

Rust implementation of conway's game of life

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •