Skip to content

Game of Life using Rust ๐Ÿฆ€ and WebAssembly ๐Ÿ•ธ

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT
Notifications You must be signed in to change notification settings

svenfoo/wasm-game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

51 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Conway's Game of Life

using Rust ๐Ÿฆ€ and WebAssembly ๐Ÿ•ธ

Build Status

This is based on this nice tutorial on how to use Rust and WebAssembly together.

๐Ÿ› ๏ธ Build with wasm-pack build

wasm-pack build

๐Ÿ”ฌ Test in Headless Browsers with wasm-pack test

wasm-pack test --headless --firefox

๐Ÿƒ Run locally with npm run start in the www folder

npm run start

Point your browser to http://localhost:8080

๐Ÿš€ Deploy to heroku

heroku container:login
heroku container:push web
heroku container:release web
heroku open

Optional, after login:

  • verify Docker with: docker ps
  • create new Heroku project if needed: heroku create

About

Game of Life using Rust ๐Ÿฆ€ and WebAssembly ๐Ÿ•ธ

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •