tetris-sql
github.com · Open source · Quiet
Tetris implemented entirely in PL/pgSQL
- Games & fun
- Open source
- PLpgSQL
- Day-7 check
- Day-30 check
- Stars
- 1k
- Forks
- 42
- Open issues
- 1
- Last commit
- Found
- 2 years ago
GitHub figures as of . They are context, not a ranking.
tetris-sql is a Tetris game built with SQL, using the Turing completeness of PL/pgSQL to run the game logic. It is a playful demonstration of what a query language can do, which suits people curious about SQL.
Repository description on GitHub: “Using SQL's Turing Completeness to Build Tetris”
What it does
- Full Tetris game logic written in PL/pgSQL
- Terminal front end in Python connects to PostgreSQL
- Tested on PostgreSQL versions 10 through 18
- Docker setup for a quick start
Good for
- Play Tetris against a PostgreSQL server in a terminal
- Explore what recursive SQL queries and PL/pgSQL can do
Suits: SQL enthusiasts and PostgreSQL developers curious about the language.
Worth knowing: The first frame is slow because Postgres JIT compiles the query plan, which can be turned off
What you can try
Read the README on GitHub and install from source.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw tetris-sql on , when nffaria posted it to Show HN. GitHub listed no published releases for nuno-faria/tetris-sql when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 338 points, 19 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 338 points, 19 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: nuno-faria/tetris-sql
- Found: nffaria posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was tetris-sql released?
- No dated release record is available. Kip found it on Show HN on 4 Sep 2024.
- Is tetris-sql open source?
- Its source is public on GitHub at nuno-faria/tetris-sql under the MIT licence.
- What does tetris-sql run on?
- Command line.
- Is tetris-sql free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is tetris-sql still maintained?
- It has had no commit or release for over a year as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | nuno-faria/tetris-sql REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-41444855. Summary written by KipFound’s editor.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.