macOS
brew install bastetlocal Homebrew formula metadata
sudo port install bastetMacPorts ports tree · games/bastet/Portfile · source: api.github.com
brew
Bastard Tetris. Version 0.43.2 via Homebrew; verified from local package data.
install
brew install bastetlocal Homebrew formula metadata
sudo port install bastetMacPorts ports tree · games/bastet/Portfile · source: api.github.com
sudo apt install bastetDebian stable package indexes · bastet · source: deb.debian.org
sudo dnf install bastetFedora Rawhide package metadata · bastet · source: dl.fedoraproject.org
nix profile install nixpkgs#bastetnixpkgs package indexes · pkgs/by-name/ba/bastet/package.nix · source: api.github.com
overview
Bastard Tetris
history
Bastet is Federico Poloni's ncurses-based adversarial Tetris-like game for Linux. Its official page expands the name as Bastard Tetris and explains the core joke: instead of picking the next piece randomly, it chooses a piece intended to be as bad as possible for the player.
Bastet's first public release was version 0.37, according to the official page. The algorithm notes say 0.37 used a hand-written analysis of the top border of the well and usually selected the worst-scoring piece while sometimes choosing among near-worst pieces to avoid boring repetition.
Version 0.41 replaced that heuristic with a scoring function over possible well states. Version 0.43 was a complete rewrite, no longer based on Petris, and used a search over legal block positions plus separate normal and harder algorithms depending on whether the next-piece preview was shown.
The official page says Bastet was discussed on Slashdot in April 2005 and in the xkcd forum in 2010, both as part of its reputation as an intentionally unfair Tetris variant. It also states that Bastet is included in most distributions and gives apt, snap, yum, and dnf installation examples.
The supplied package facts show modern packaging in Homebrew, Debian, Fedora, MacPorts, Nix, and Ubuntu, which matches the official site's claim that distro package managers are the normal way to install it.
The README describes a simple menu-driven ncurses game with configurable keys, defaults for movement/rotation/drop, pause, and control-C quit. The game has normal and harder block choosers; the harder mode removes the next-block preview.
The algorithm page documents the adversarial selection policy for 0.43: it evaluates legal placements and chooses the worst block most of the time, with smaller probabilities for the second-, third-, and fourth-worst blocks.
Bastet is package-nerd significant because it is a tiny terminal game that became widely packaged due to one memorable mechanic. It is the sort of ncurses oddity that makes Unix package catalogs feel like cultural archives as much as software indexes.
It also preserves a lineage of small C++ terminal games, distro-maintained builds, desktop metadata, and ports/patches for macOS and Windows/PDCurses.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.bastetrcexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
bastet | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:bastet |
|---|---|
| Version | 0.43.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/bastet |
| Homepage | https://fph.altervista.org/prog/bastet.html |
| Repository | https://github.com/fph/bastet |
| Upstream docs | https://fph.altervista.org/prog/bastet.html |
| License | GPL-3.0-or-later |
| Source archive | https://github.com/fph/bastet/archive/refs/tags/0.43.2.tar.gz |
| Dependencies | boost |
| Uses from macOS | ncurses |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bastet |
| Version Scheme | 0 |
| Revision | 13 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
bastet 0.43.2-2
ncurses Tetris clone with a bastard algorithm
http://fph.altervista.org/prog/bastet.shtml
sudo apt install bastetbastet
nix profile install nixpkgs#bastetbastet 0.43-7build1
ncurses Tetris clone with a bastard algorithm
http://fph.altervista.org/prog/bastet.shtml
sudo apt install bastetbastet 0.43.2-15.fc44
An evil falling bricks game
sudo dnf install bastetbastet
sudo port install bastetsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.