Coder Social home page Coder Social logo

royswale / tetris-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nightswatchgames/tetris

0.0 1.0 0.0 1.11 MB

Classical tetris game made with bevy engine.

Home Page: https://nightswatchgames.github.io/games/tetris/

License: MIT License

Rust 100.00%

tetris-1's Introduction

English

tetris

俄罗斯方块游戏。

  • 游戏基础玩法(随机四格骨牌、骨牌旋转、骨牌移动、消除行、计分)
  • 游戏UI
  • 游戏音效
  • 支持暂停、恢复和重新开始游戏
  • 支持web
  • 展示下一个骨牌
  • bag7随机算法

在线游玩:点这里(电脑版Chrome/Firefox/Edge打开)

运行

  1. 本地运行
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/tetris.wasm

游戏展示

视频演示:B站

main menu game playing game paused game over

参考资料

tetris-1's People

Contributors

lewiszlw avatar rendaoer avatar ermao-programmer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.