tetris_engine icon
Open source · pub.dev // Flutter package

tetris_engine

Also searched as Tetris engine for Flutter, Flutter Tetris package

A complete, customizable Tetris engine for Flutter — Guideline rules, themes, touch and keyboard controls, replays and save/restore. 160/160 pub points.

About tetris_engine

tetris_engine gives Flutter developers a ready-made, rules-accurate Tetris game they can drop into an app and style to match. It follows the modern Tetris Guideline: Super Rotation System with wall kicks, 7-bag randomiser, hold piece, lock delay and T-Spin detection.

The package depends only on the Flutter SDK — no third-party dependencies — so it stays light and doesn't conflict with the host app. The game engine is pure Dart logic kept separate from the rendering widgets, which makes it testable and easy to customise.

Client
Open source · pub.dev
Type
Flutter package
Status
Published on pub.dev
Built with
Flutter, Dart, Zero dependencies
Developer
Rojan Parajuli (Anjesh Parajuli)

Key features

Tech stack & architecture

Tech stack

  • Flutter
  • Dart
  • Zero dependencies
  • pub.dev
  • Open source

How it's built

Engine / UI split
Game rules live in a pure Dart engine; Flutter widgets only render state and forward input, so the engine can be tested without a UI.
Zero dependencies
Only the Flutter SDK is required, so adding the package never pulls in or conflicts with other libraries.
Quality
Scores the maximum 160/160 pub points for documentation, static analysis and platform support.
Installflutter pub add tetris_engine

tetris_engine FAQ

Who made the tetris_engine Flutter package?

Rojan Parajuli (also known as Anjesh Parajuli) created and maintains tetris_engine, published on pub.dev.

How do I install tetris_engine?

Run flutter pub add tetris_engine in your Flutter project.

Does tetris_engine have dependencies?

No. It depends only on the Flutter SDK.

flutter_ludo icon
Open source · pub.devFlutter package

flutter_ludo

A complete Ludo game for Flutter — rules engine, animated board and dice, smart bots from easy to hard, 2v2 teams, configurable rules and save/restore. 160/160 pub points.

View details
Who's the Imposter? icon
Godhuli IT SolutionsFlutter game

Who's the Imposter?

An offline party game for friends on one phone — everyone gets a secret word except the imposter. Give clues, bluff, and vote to find them.

View details
Scanquil icon
Personal projectFlutter app

Scanquil

Scan documents to PDF, pull text out with AI OCR and convert to Word — my own app, published under my Anjesh developer account on Google Play.

View details