Tagged articles

Tetris

11 articles · Page 1 of 1
ITPUB
ITPUB
Apr 19, 2025 · Databases

Can SQL Run Tetris? Exploring a Recursive CTE Tetris Implementation

This article showcases a spectacular PostgreSQL query that implements the classic Tetris game using recursive CTEs, provides the full source code, highlights a known long‑run disk‑usage issue, and then presents several other impressive SQL snippets and a concise checklist for writing high‑quality SQL.

Database OptimizationPostgreSQLRecursive CTE
0 likes · 25 min read
Can SQL Run Tetris? Exploring a Recursive CTE Tetris Implementation
MaGe Linux Operations
MaGe Linux Operations
Oct 4, 2021 · Artificial Intelligence

Build a Simple AI‑Powered Tetris Game with Python

This tutorial shows how to create a Tetris mini‑game with AI using a straightforward algorithm, Python 3.6, PyQt5, and detailed code that evaluates board states based on cleared lines, holes, heights, and other metrics to select optimal moves.

AIPyQt5Python
0 likes · 5 min read
Build a Simple AI‑Powered Tetris Game with Python
Tencent Cloud Developer
Tencent Cloud Developer
Sep 2, 2021 · Artificial Intelligence

Tetris AI and Hand‑Play Strategies in the Tencent Geek Challenge – Technical Report

In the Tencent Geek Challenge, Wang Haosheng leveraged a custom Tetris simulator and intensive hand‑play—enhanced with limited AI tools—to clear all 10,000 blocks, achieving 1.179 million points and third place, illustrating that manual strategy outperformed the AI despite extensive competition and technical analysis.

AICompetitionSimulation
0 likes · 9 min read
Tetris AI and Hand‑Play Strategies in the Tencent Geek Challenge – Technical Report
Programmer DD
Programmer DD
Sep 11, 2020 · Game Development

Build a Classic Tetris Game with PyQt5: Step‑by‑Step Tutorial

This tutorial walks you through creating a fully functional Tetris clone using Python's PyQt5 library, covering game logic, rendering, user controls, shape management, line clearing, and includes complete source code for all core classes and methods.

GUIPyQt5Python
0 likes · 20 min read
Build a Classic Tetris Game with PyQt5: Step‑by‑Step Tutorial
MaGe Linux Operations
MaGe Linux Operations
Dec 21, 2018 · Fundamentals

10 Fun Python Projects to Boost Your Coding Skills

This article compiles a series of entertaining Python code examples—including flag drawing with Turtle, image‑to‑ASCII conversion, Tetris, a plane shooter game, and a 25‑line face‑recognition script—to inspire learners and demonstrate practical programming techniques.

ASCII artOpenCVPygame
0 likes · 6 min read
10 Fun Python Projects to Boost Your Coding Skills
MaGe Linux Operations
MaGe Linux Operations
Apr 6, 2017 · Game Development

5 Fun Python Projects: Flag, ASCII Art, Tetris, Shooter & Face Detection

This article showcases five engaging Python projects—including drawing a national flag with Turtle, converting images to ASCII art, building a Tetris clone, creating a simple plane‑shooter game, and implementing a 25‑line face‑detection script—complete with code snippets, installation tips, and visual results.

ASCII artFace DetectionOpenCV
0 likes · 5 min read
5 Fun Python Projects: Flag, ASCII Art, Tetris, Shooter & Face Detection