tetris_engine 1.2.0 copy "tetris_engine: ^1.2.0" to clipboard
tetris_engine: ^1.2.0 copied to clipboard

A complete, customizable Tetris engine for Flutter: Guideline rules (SRS, 7-bag, hold, lock delay, T-Spins), themes, touch and keyboard controls, replays and save/restore.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add tetris_engine

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  tetris_engine: ^1.2.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:tetris_engine/tetris_engine.dart';
2
likes
160
points
175
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A complete, customizable Tetris engine for Flutter: Guideline rules (SRS, 7-bag, hold, lock delay, T-Spins), themes, touch and keyboard controls, replays and save/restore.

Repository (GitHub)
View/report issues
Contributing

Topics

#tetris #game #puzzle #game-engine #widget

License

MIT (license)

Dependencies

flutter

More

Packages that depend on tetris_engine