Bastet is a free open-source terminal Tetris clone that deliberately gives you the worst piece. See how it works, features, and where to get it.
Researched and fact-checked by Bartu Cavusoglu · Updated July 19, 2026
Category
Developer Tools
Pricing
Open Source, from Free
Verified
Not yet
Last updated
July 19, 2026
Open Source
What Is Bastet
Bastet, short for 'bastard tetris', is a free, open-source, terminal-based falling-block puzzle game created by Federico Poloni. It plays like a classic Tetris clone but with one deliberate twist: the game does not select your next piece randomly.
Instead, Bastet uses a scoring algorithm designed to hand the player the least helpful piece available for their current board layout, intentionally working against the player rather than for them, which is the source of both its name and its reputation for being 'evil'.
The game runs in a terminal using the ncurses library, keeping it lightweight and dependency-free, and it is widely packaged across Linux distributions as a small, self-contained retro-style game.
Key Features
The centerpiece of Bastet is its adversarial block-selection algorithm, which evaluates the current board and deliberately picks the piece least likely to help the player clear lines, rather than choosing randomly like standard Tetris implementations.
Bastet offers two difficulty modes: a normal mode that still shows a preview of the upcoming piece, and a harder mode that hides the preview entirely, with the selection algorithm further tuned to take advantage of the player not knowing what is coming next.
According to its own version history, the algorithm has been revised more than once, including a rewrite in version 0.43 that added logic to avoid repeating the same piece too many times in a row, keeping the adversarial pattern from becoming too obviously predictable.
Pricing
Bastet is completely free and released under the GNU General Public License version 3 (GPLv3), with no paid version, in-app purchases, or subscription of any kind.
As open-source software, its full C++ source code is publicly available on GitHub, allowing anyone to inspect, modify, compile, or redistribute it under the terms of the GPL.
It is available through the package managers of most major Linux distributions, so most users can install it with a single package-manager command at no cost.
Key Features
Adversarial piece selection — A scoring algorithm deliberately chooses the least helpful next piece instead of selecting randomly.
Two difficulty modes — A normal mode with a next-piece preview and a harder mode that hides the preview entirely.
Terminal-based ncurses interface — Runs entirely in a text terminal using the lightweight ncurses library, with no graphical dependencies.
Classic Tetris-style controls — Standard falling-block controls including movement, rotation, and hard-drop.
High score tracking — Keeps local high scores to encourage repeat play despite the game's intentional difficulty.
Cross-distribution packaging — Packaged in most major Linux distributions' repositories for simple installation.
Open-source C++ codebase — Publicly available source code under GPLv3 for community inspection and contribution.
Pros & Cons
Pros
Completely free and open source with no ads, accounts, or purchases
Lightweight terminal game with minimal system requirements
Distinctive, genuinely challenging gameplay twist not found in standard Tetris clones
Widely packaged across Linux distributions for easy installation
Small but persistent community of contributors on GitHub
Cons
Deliberately frustrating design will not appeal to players who want a fair, standard Tetris experience
Terminal-only interface lacks the visual polish of graphical Tetris clones
Development has been infrequent in recent years based on public release history
No official mobile app or online multiplayer
Exact founding/first-release date is not clearly documented, which limits precise historical claims
Frequently Asked Questions
What does 'Bastet' stand for?
Bastet stands for 'bastard tetris', reflecting the game's design goal of deliberately giving the player the worst possible piece.
Is Bastet free?
Yes. Bastet is completely free and open source, released under the GNU General Public License version 3 (GPLv3).
How does Bastet choose pieces differently from Tetris?
Instead of choosing the next piece randomly, Bastet uses a scoring algorithm that evaluates the board and deliberately selects the piece least likely to help the player clear lines.
Who created Bastet?
Bastet was created by Federico Poloni, and its source code is maintained in the fph/bastet repository on GitHub.
What platforms does Bastet run on?
Bastet is primarily built for Linux and Unix terminals using the ncurses library, and it is packaged in most major Linux distributions; ncurses-compatible builds exist for other Unix-like systems as well.
Does Bastet have difficulty options?
Yes. It has a normal mode with a next-piece preview and a harder mode that hides the preview, with the piece-selection algorithm adjusted accordingly.
Is Bastet based on official Tetris?
Bastet is an independent, unofficial falling-block puzzle game inspired by Tetris-style gameplay; it is not an officially licensed Tetris product.
Where can I download Bastet?
Bastet can typically be installed via a Linux distribution's package manager, or built from source from its GitHub repository at fph/bastet.
Tool pages we refreshed lately, from across the directory.
CustomGPT.aiUpdated Nov 30, 2026 AI Chatbots · CustomGPT.ai empowers businesses with custom GPTs—AI agents built from your content. Deliver exceptional customer…
Easy Data TransformUpdated Oct 26, 2026 No-Code · Easy Data Transform is a no-code desktop tool for Windows and Mac that cleans, merges, filters, de-duplicates and…
Eddie AIUpdated Oct 26, 2026 Video Editing · Eddie AI is an AI video editor for professional editors. You describe the story in chat, and it turns raw interview…
5-OutUpdated Nov 30, 2026 AI · 5-Out helps restaurants boost profits with AI-powered forecasting and scheduling. Optimize sales, labor, and…
RenderLogUpdated Oct 26, 2026 Developer Tools · RenderLog is a no-code web testing and visual regression tool that compares current pages with an approved baseline.…
GologinUpdated Oct 26, 2026 Security · Gologin is a multi-account browser that runs each account in an isolated profile with its own fingerprint, cookies…
3skelUpdated Nov 30, 2026 Design · 3skel is an Italian 3D graphics and animation studio offering 3D modeling, rendering, virtual reality visualization,…
LifestackUpdated Oct 26, 2026 Calendar · Lifestack is an energy-aware AI planner that reads sleep, recovery and focus data from wearables and drafts a daily…
PingifyUpdated Oct 26, 2026 DevOps · Pingify is a website monitoring service that runs one-minute checks for uptime, SSL, DNS, keywords, ping and cron…
SmartlinxUpdated Nov 30, 2026 Healthcare & Wellness · Smartlinx is a cloud-based workforce management and HR platform built specifically for senior care organizations,…