Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 1.03 KB

README_EN.md

File metadata and controls

37 lines (32 loc) · 1.03 KB

Rubik's Cube

  • Rubiks cube
  • Scramble cube
  • Reset cube
  • Mouse dragging
  • Game UI
  • Camera controller (move、zoom)
  • WASM support

Play online:click here(Open with PC Chrome/Firefox/Edge)

Get started

  1. Native
cargo run
  1. WASM
rustup target install wasm32-unknown-unknown
cargo install wasm-server-runner
cargo run --target wasm32-unknown-unknown
cargo install wasm-bindgen-cli
cargo build --release --target wasm32-unknown-unknown
wasm-bindgen --out-dir ./out/ --target web ./target/wasm32-unknown-unknown/release/rubiks-cube.wasm

Screenshots

Game video: YouTube

playing cube

Reference