wolfboyyang / bevy_minesweeper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minesweeper Tutorial

CI

Source code for the Bevy Minesweeper Tutorial by Félix de Maneville:

demo gif

Live version

A browser version is available here

Run

Native run

use cargo run to launch the app in native. Use the debug feature for debug inspector and board console output.

WASM build

  • Native: cargo serve --release and open http://127.0.0.1:1334
  • Browser: ./build_wasm.sh and open public/index.html in a browser

Play

Board interaction

Use the left mouse button to uncover tiles, and the right mouse button to mark tiles.

You can also Clear the board and Generate a new one.

About

License:MIT License


Languages

Language:Rust 98.3%Language:Shell 1.0%Language:HTML 0.7%