Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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