Tetris Card

AnkiWeb addon 1250891927

Adds a Tetris card type for reviewing openers and PC setups using queue patterns, fumen board states, answers, bag patterns, and cover masks.
AI-generated summary; may contain mistakes.

gamificationcard-templates

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-10-31
Anki versions
26.09.3~
Languages
JavaScript, CSS, Python, JSON, Handlebars
Description language
en

Maintenance

active

  • Last update or commit: 2026-10-31 (1 days before the snapshot).
  • Test files: 4.
  • Commits in the last year: 40.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
26.09.3+2026-10-31
History across monthly snapshots

Loading…

Similar addons

Tetris Break for Anki

Shows a Tetris-like game after a configurable number of reviewed cards, requiring a line clear before continuing, with a custom background revealed as the board fills.

review-flowgamificationmotivation

9 votes 45% approval πŸ‘ 7 Β· πŸ‘Ž 2 ⭐ 0 Anki 23.12.1~ Updated 2024-02-01
Block Blast

Tracks review counts to award moves at customizable intervals, letting users play a block puzzle inside Anki with adjustable board size, scoring, gravity mode, and optional notifications.

progress-trackinggamification

3 votes 21% approval πŸ‘ 2 Β· πŸ‘Ž 1 Anki 2.1.1~ Updated 2025-02-16

Description

Adds Tetris card type for reviewing setups such as openers or PC setups.

Demo of Tetris Card

Usage

Controls can be set through config file with add-ons found in Tools -> Add-ons -> Tetris Card

Controls are likely to conflict with anki's shortcuts, which I recommend installing an add-on to set anki's shortcuts such as Customize Keyboard Shortcuts.

Fields

Queue Pattern

The pattern for queues follows Extended Sfinder Pieces.

  • Soundness - Every queue generated covers the setup. No invalid queues are included.
  • Completeness - Every queue that covers the setup is generated by the pattern. No valid queues are missed.
  • Exactness - Pattern is both sound and complete.

A pattern for the card should be complete to provide reviewers most general description of the coverage of the setup. If a pattern is not sound, cover mask field provides a way to exclude invalid queues. Ideally, the pattern is exact, but to create a useful exact pattern in terms of being able to be described with few conditions is a difficult problem.

Field

A fumen for the initial state of the board. Only the first page will be considered. If left empty, the board will start empty.

Goal

A description or name for the goal of this card. This may be needed to give direction for the reviewer.

Answer

A fumen for the finial state of the board. The fumen may be multiple pages to allow for multiple valid solutions, which may be needed to increase the coverage of the setup. Fumens separated by newlines denote required steps, such as each fumen is placement of each bag of a 5-bag opener or an OQB PC setup

Refill Bags

A boolean for whether after the queue pattern to refill queue with new bags.

Bag Pattern

A queue pattern that is general bag structure from start of Queue. Ex: *p4,*p7 or *,*p7. This can be used to make sure the queue ends with a full bag, if empty not used.

Cover Mask

A hexstring to act as a bitmask of which queues from the queue pattern is a valid queue. If left empty, the queue pattern is assumed to be sound.

For example: bfe would express every queue except for the second and last generated queue is a valid queue.

If the number of generated queues not a multiple of 4, pad the bitmask with 0's for the hexstring cover mask.

README

anki-tetris-card

Addon for anki adding a Tetris card type for reviewing setups such as openers or PC setups.

Demo of Tetris Card

Usage

Controls can be set through config file with add-ons found in Tools -> Add-ons -> anki-tetris-card

Controls are likely to conflict with anki's shortcuts, which I recommend installing an add-on to set anki's shortcuts such as Customize Keyboard Shortcuts.

Fields

Queue Pattern

The pattern for queues follows Extended Sfinder Pieces.

Property Definition
Soundness Every queue generated covers the setup. No invalid queues are included.
Completeness Every queue that covers the setup is generated by the pattern. No valid queues are missed.
Exactness Pattern is both sound and complete.

A pattern for the card should be complete to provide reviewers most general description of the coverage of the setup. If a pattern is not sound, cover mask field provides a way to exclude invalid queues. Ideally, the pattern is exact, but to create a useful exact pattern in terms of being able to be described with few conditions is a difficult problem.

Field

A fumen for the initial state of the board. Only the first page will be considered. If left empty, the board will start empty.

Goal

A description or name for the goal of this card. This may be needed to give direction for the reviewer.

Answer

A fumen for the finial state of the board. The fumen may be multiple pages to allow for multiple valid solutions, which may be needed to increase the coverage of the setup. Fumens separated by newlines denote required steps, such as each fumen is placement of each bag of a 5-bag opener or an OQB PC setup

Refill Bags

A boolean for whether after the queue pattern to refill queue with new bags.

Bag Pattern

A queue pattern that is general bag structure from start of Queue. Ex: *p4*p7 or **p7. This can be used to make sure the queue ends with a full bag, if empty not used.

Cover Mask

A hexstring to act as a bitmask of which queues from the queue pattern is a valid queue. If left empty, the queue pattern is assumed to be sound.

For example: bfe would express every queue except for the second and last generated queue is a valid queue.

If the number of generated queues not a multiple of 4, pad the bitmask with 0's for the hexstring cover mask.