Tagged articles
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
Python Programming Learning Circle
Python Programming Learning Circle
Feb 19, 2024 · Game Development

Python Pygame Implementations of Classic Games: 2048, Snake, Tetris, and LianLianKan

This article provides step-by-step tutorials and complete Python Pygame source code for implementing four classic games—2048, Snake, Tetris, and LianLianKan—explaining game mechanics, design principles, and code structure to help Python developers build and understand these interactive applications.

2048Game DevelopmentLianLianKan
0 likes · 43 min read
Python Pygame Implementations of Classic Games: 2048, Snake, Tetris, and LianLianKan
Python Programming Learning Circle
Python Programming Learning Circle
Nov 13, 2021 · Game Development

Python Game Development Tutorials: 2048, Snake, Tetris, and LianLianKan with Pygame and Tkinter

This article provides step‑by‑step Python tutorials for creating classic games—including 2048, Snake, Tetris, and LianLianKan—detailing design principles, core logic, and complete source code using Pygame and Tkinter for learners with basic Python and game‑programming knowledge.

2048Game DevelopmentLianLianKan
0 likes · 39 min read
Python Game Development Tutorials: 2048, Snake, Tetris, and LianLianKan with Pygame and Tkinter
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.

AITetriscompetition
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.

GUIGame DevelopmentPyQt5
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