https://github.com/bohdan-mykhailenko/game_tetris
Game that implements tetris with main features.
https://github.com/bohdan-mykhailenko/game_tetris
rust wasm wasm-react
Last synced: about 2 months ago
JSON representation
Game that implements tetris with main features.
- Host: GitHub
- URL: https://github.com/bohdan-mykhailenko/game_tetris
- Owner: bohdan-mykhailenko
- Created: 2024-06-28T13:11:39.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-16T16:31:49.000Z (almost 2 years ago)
- Last Synced: 2025-01-30T09:22:34.047Z (over 1 year ago)
- Topics: rust, wasm, wasm-react
- Language: Rust
- Homepage:
- Size: 127 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tetris Game
## Description
This project is a classical tetris game.
## Features
- **7 Figures**: Includes seven unique Tetris figures, each with user-friendly alerts to show game information or errors with fetching data.
- **Rotation**: Ensures full adaptability for different screen resolutions, allowing smooth rotation of the figures.
- **Move to Left and Right** Users can move the figures left or right, with options to choose the field size for a customized experience.
_ **Increase Speed of Figures**: Allows users to increase the speed of falling figures by hovering over selected items and return to normal speed by unhovering them.
## Future improvements
- **More Friendly UI**: Enhance the user interface to be more intuitive and visually appealing, making the game more enjoyable for players of all ages.
- **Shadow Position for Each Figure**: Implement shadow positions for each figure, providing a preview of where the figure will land and helping players make more strategic moves.
## Technologies
- [Rust](https://www.rust-lang.org/)
- [wasm_react](https://github.com/yishn/wasm-react/)
- [wasm_bindgen](https://docs.rs/wasm-bindgen/latest/wasm_bindgen/)
- [wasm_pack](https://rustwasm.github.io/wasm-pack/)
- [web_sys](https://rustwasm.github.io/wasm-bindgen/api/web_sys/)
- [js_sys](https://docs.rs/js-sys/latest/js_sys/)
## Preview
**Game process**
