An open API service indexing awesome lists of open source software.

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.

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**

![image](https://github.com/bohdan-mykhailenko/tetris/assets/76702178/75e5b33f-ecfb-4794-82fb-0926fa4eba85)