Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muzabol2/tetris
https://github.com/muzabol2/tetris
next-themes nextjs react tailwind
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/muzabol2/tetris
- Owner: muzabol2
- Created: 2024-09-07T11:33:04.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-28T17:44:12.000Z (about 1 month ago)
- Last Synced: 2024-09-30T09:42:31.821Z (about 1 month ago)
- Topics: next-themes, nextjs, react, tailwind
- Language: TypeScript
- Homepage: https://tetris-seven-iota.vercel.app
- Size: 315 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tetris
This project aims to develop a classic Tetris game from scratch using TypeScript and React. The primary objectives are to enhance my programming skills and to enjoy the process of creating a beloved game.
## TODO
- [x] Basic game logic
- [x] Piece movement (left, right, down)
- [x] Piece rotation
- [x] Collision detection
- [x] Line clearing
- [x] Score tracking
- [x] Game over detection
- [x] Basic UI with grid and pieces
- [x] Start/restart functionality
- [x] Pause/resume functionality
- [x] Buttons to play on a phone
- [x] When down button push long block goes down to the end
- [x] Line clearing fix state
- [x] Resize GameBoard to small phones
- [x] Next piece preview (on the right site from board)
- [x] Keep High score -> localStorage
- [x] Colored blocks
- [x] Level progression and increasing speed
- [x] Keep state of the game when refresh window -> localStorage
- [x] ColorPicker