Skip to content
T

Tetris Game

A Tetris Game with AI

by LoveDaisyFree

#2379in AI
0In stores

Description

This is a Tetris game written in Python, with a simple built-in AI that can play by itself. You run tetris_game.py from the command line to…

Highlights

  • Classic Tetris rules with a next-piece preview
  • Built-in AI that plays automatically
  • Keyboard controls including pause and hard drop
  • Adjustable game speed
  • Python with PyQt5 and NumPy

Ratings & Reviews

No ratings yet

Be the first to rate Tetris Game.

People also visit

T

TetrisBench

HUMAN VS AI TETRIS

AI
Launch
A

AI Gallery

Some interesting AI-generated showcase pages

AI
Launch
T

Tetro Tui

Terminal-based but modern tetromino-stacking game

Entertainment
Launch
S

Snake

Playing the game of snake with AI

AI
Launch
C

Command Line Chess

A python program to play chess against an AI in the terminal

AI
Launch
S

Singularity

A simulation of a true AI. Survive, grow, and learn

AI
Launch

Tetris Game FAQ

What is this project?

It is a Python version of the Tetris puzzle game, with an AI that can play it on its own, so you can either play or watch.

What do I need to run it?

Python 3, PyQt5 and NumPy. The README says to start the game by running tetris_game.py from a terminal.

How do I play it myself?

Uncomment one line in tetris_game.py and comment out the line that starts the AI, as the README describes. The game is then controlled from the keyboard.

How do I change the speed?

Change the speed value of the Tetris class in the source. The README notes the default may be too fast for a human player.

Is it free?

Yes. The code is public on GitHub and there is no price.

What are the best Tetris Game alternatives?

Popular alternatives to Tetris Game include TetrisBench, AI Gallery and Snake. See all Tetris Game alternatives

Developer Stuff

Badges