Skip to content

Yet another Minesweeper clone written in Rust compiled to WebAssembly

Notifications You must be signed in to change notification settings

Spydr06/Minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesweeper

This is yet another Minesweeper clone written in Rust compiled to WebAssembly, embedded in JavaScript and HTML running on a Python webserver.

Dependencies

  • python 3
  • cargo
  • wasm-pack
  • GNU make
  • GNU tar (for packaging only)
  • zip (for packaging only)

Compilation

You can compile this program via make

$ make build

Running the webserver:

$ make run

Packaging

You can create precompiled packages by running:

$ make package

If compiled successful, you can now access the game by going to http://localhost:3001.