Play new versions of minesweeper against your friends in real time.
Single Board Versus: Clear more tiles than your opponent to win!
Time Attack: Play on a sepeprate board with the same layout as your opponent. Clear your board first to win!
Made with:
peerjs Vue html canvas
Rust/C WASM (future) electron (future)
wasm priority:
- state
- render thread
- game managers
In Chrome, Peerjs connection may fail when two players are on the same local network due to NAT traversal.
To fix, open chrome://flags/
, Search for Anonymize local IPs exposed by WebRTC
and disable it.
VUE_APP_PEER_SERVER=localhost
VUE_APP_PORT=8081
VUE_APP_USE_PUBLIC_PEERJS=false
VUE_APP_PEER_DEBUG_LEVEL=0
VUE_APP_USE_PUBLIC_PEERJS can be 'true' or 'false' to switch between using the public peer.js server and a locally hosted one.
VUE_APP_PEER_SERVER should be the ipv4 address that your application is running on (see image) if you are hosting the server yourself. It will NOT work if you try and google what your IPv4 address is. NOTE: "localhost normally resolves to the IPv4 loopback address 127.0.0.1." You can use localhost if you are doing solo testing.
VUE_APP_PORT is the port of your local peer.js server .
yarn install
yarn serve
yarn build
yarn lint
yarn start