Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prior99/tetris
Tetris written in Typescript
https://github.com/prior99/tetris
canvas tetris tetris-game typescript webrtc
Last synced: 2 months ago
JSON representation
Tetris written in Typescript
- Host: GitHub
- URL: https://github.com/prior99/tetris
- Owner: Prior99
- Created: 2019-02-20T14:45:42.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-10-05T20:17:51.000Z (about 3 years ago)
- Last Synced: 2024-10-13T22:27:56.863Z (3 months ago)
- Topics: canvas, tetris, tetris-game, typescript, webrtc
- Language: TypeScript
- Size: 35 MB
- Stars: 15
- Watchers: 2
- Forks: 2
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Fretris
[![pipeline status](https://gitlab.com/prior99/tetris/badges/master/pipeline.svg)](https://github.com/Prior99/tetris)
[![coverage report](https://gitlab.com/prior99/tetris/badges/master/coverage.svg)](https://github.com/Prior99/tetris)A multiplayer tetris clone written in Typescript.
The game uses WebRTC Data channels for truely serverless multiplayer in the browser (Peer-To-Peer).[![play](https://raw.githubusercontent.com/Prior99/tetris/master/images/button.png)](https://prior99.gitlab.io/tetris)
## Features
This game has the following features:
* Singleplayer
* Peer-To-Peer multiplayer
* SRS rotation system
* Lighting system
* Hold piece
## Multiplayer
Multiplayer is possible using WebRTC. The players send garbage lines to each other which are cancellable.
## Contributing
Contributions are welcome. Pull-Requests and Issues are happily accepted.
Take a look at the [Contributor's guide](https://github.com/Prior99/tetris/blob/master/CONTRIBUTING.md).
### Building, Testing and Linting
Yarn is used instead of NPM, so make sure it is installed (`npm i -g yarn`).
The assets need to be built using Aseprite.
All necessary steps are included in the Makefile:
```
make
```should suffice.
## Contributors
- Frederick Gnodtke