Automic VaultAutomic Vault

brew

Install bastet with Homebrew, apt, dnf, MacPorts, Nix

Bastard Tetris. Version 0.43.2 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install bastet

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install bastet

MacPorts ports tree · games/bastet/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install bastet

Debian stable package indexes · bastet · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install bastet

Fedora Rawhide package metadata · bastet · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#bastet

nixpkgs package indexes · pkgs/by-name/ba/bastet/package.nix · source: api.github.com

overview

Package summary

Bastard Tetris

Commands and aliases

  • bastet

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • Version 0.37: First public release, with the original top-border heuristic.
  • 2005-04: Official page records a Slashdot article about Bastet 0.41.
  • Version 0.41: New block-choosing algorithm based on scoring possible well states.
  • 2009: Version 0.43 is a complete rewrite and no longer based on Petris.
  • 2010: Official page records discussion in the xkcd forum.
  • 2014: Version 0.43.1 adds updates for package-manager convenience, including desktop and appdata files.
  • 2020-04-28: Official page states Bastet is old work with no new versions planned, but not abandoned.

Related projects

  • The official page says 0.43 was no longer based on Petris, implying earlier lineage from that project. It also notes Abandoned Bricks, an SDL Tetris clone with a Bastard mode based on Bastet.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.bastetrc

executables

Installed executables

CommandKindExposureNote
bastetcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.43.2
manager updated
local dataok
upstreamcurrent
latest detected0.43.2

https://github.com/fph/bastet

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:bastet
Version0.43.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/bastet
Homepagehttps://fph.altervista.org/prog/bastet.html
Repositoryhttps://github.com/fph/bastet
Upstream docshttps://fph.altervista.org/prog/bastet.html
LicenseGPL-3.0-or-later
Source archivehttps://github.com/fph/bastet/archive/refs/tags/0.43.2.tar.gz
Dependenciesboost
Uses from macOSncurses
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebastet
Version Scheme0
Revision13
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

bastet 0.43.2-2

ncurses Tetris clone with a bastard algorithm

http://fph.altervista.org/prog/bastet.shtml

sudo apt install bastet
  • Section: games
  • Architecture: amd64
  • 8 dependencies
  • normalized package name match
  • Matched by: Bastet
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bastet from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

bastet

nix profile install nixpkgs#bastet
  • normalized package name match
  • Matched by: Bastet
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ba/bastet/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

bastet 0.43-7build1

ncurses Tetris clone with a bastard algorithm

http://fph.altervista.org/prog/bastet.shtml

sudo apt install bastet
  • Section: universe/games
  • Architecture: amd64
  • 8 dependencies
  • normalized package name match
  • Matched by: Bastet
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bastet from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

bastet 0.43.2-15.fc44

An evil falling bricks game

https://github.com/fph/bastet

sudo dnf install bastet
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: bastet
  • 7 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Bastet
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bastet from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

bastet

sudo port install bastet
  • normalized package name match
  • Matched by: Bastet
MacPorts ports tree · api.github.com · MacPorts ports tree: games/bastet/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment