Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

🌐 English | Italiano

Angular Tetris

The classic Tetris in the browser, built with Angular and RxJS: move and rotate the falling pieces, fill whole rows to clear them, and keep the stack from reaching the top.

Angular Tetris

  • Piece movement, rotation with wall kicks, line clearing and game over.
  • Pause and resume at any time.
  • Settings: game speed, sound on/off, effects and music volume.

Proof of concept, frozen. This repository is kept as a stable snapshot (tag v1-poc-final): only documentation fixes and security updates, no new features. What it taught, and the plan for a reusable game engine, are in docs/.


Install and run

You need Node.js 20.19 or later (Angular 21).

npm install
npm start

Then open http://localhost:4200 and press Start.

How to play

Key Action
← / → move the piece left / right
↓ move the piece down one row
↑ drop the piece all the way down
Space rotate
Z rotate the other way
P (or the Pause key) pause / resume

Start begins a new game; Settings sets the speed (1–10), turns the sounds on or off and sets the effects and music volume.


Documentation

License

MIT © 2024 Daniele 'suppressio'.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages