Skip to content

alexandrinaw/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

tetris

A command line tetris game you (or an AI!) can play in your terminal!

AI Playing Tetris

To Play

git clone https://github.com/alexandrinaw/tetris.git
cd tetris

Human Player

python tetris/game.py

Commands

  • up arrow: rotates piece
  • down arrow: makes currently falling piece fall faster
  • right arrow: makes currently falling piece move right
  • left arrow: makes currently falling piece move left
  • enter: makes currently falling piece fall all the way to the bottom
  • p: pauses the game
  • q: quits the game and exits

AI Player

python ai.py

About

A command line tetris game you can play in your terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages