Skip to content

taKana671/PyTetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTetris

A python implementation of Tetris Game

Demo

pytetris_demo

Requirements

  • Python3.8
  • Cython 0.29.21
  • pygame 2.0.1
  • numpy 1.19.2

Environment

  • Windows10

Usage

  • execute a command below on the command line.
>>>python pytetris.py

controls:

  • Press up arrow key to rotate blocks.
  • Press down arrow key to drop blocks.
  • Press right arrow key to move blocks to the right.
  • Press left arrow key to move blocks to the left.