Skip to content

khatastroffik/tetris

Repository files navigation

Tetris (work-in-progress)

A Khatastroffik open source Tetris clone.

Proof-of-Concept

This Angular web application is a PoC combining the following:

  • SoC (Separation of Concern) → decoupling UI and game engine implementation
  • RMD (Responsive and Mobile design) → playable with keyboard or buttons, sized for any device (not relying on media queries, though)
  • ReactiveX (Reactive Extensions) → asynchronous programming with RxJs observables
  • CSS grid (grid layout) → pure HTML5 & CSS3 design (requires use of a modern browser)
  • PWA (Progressive Web App) → 1 source for "browser" or "local install & offline" usage

Tetris game

screenshot

The well-known Tetris game - hence having well-defined requirements - is implemented with respect to:

  • SRS
  • wall bounce back
  • progressive difficulty (up to 20 levels) and scoring (e.g. multiple rows)
  • pausable
  • ...

TODO: implement PWA (electron?) TODO: improve README! TODO: fix rotation bugs (on top of board, on the board sides) TODO: refactor app component: create sub components for board, next tetromino etc. TODO: implement help screen

About

A "Khatastroffik" responsive Testris web application PoC using Angular, RxJs and pure CSS grid.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published