Skip to content

deciduously/dots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dots

Clone of Boomshine. This version can be played here

The logic is implemented in Rust targeting WebAssembly, with the rendering handled by JavaScript to a canvas element.

screenshot

Usage

Play the current release on deciduously.com.

Develop

Requires wasm-pack.

  1. Clone this repo
  2. Execute wasm-pack build in the project root
  3. If this is the first run, execute npm install in the www dir
  4. Execute npm run start from within www. This will serve the app on localhost:8080

For future rebuilds, you only need step 2 every time you change the Rust code and 6 just once to start the dev server.

Acknowledgements

The rustwasm book was a great kicking off point.