Skip to content

November 2020 - This game "Quadtris" is a clone of the popular game Tetris made in Python using John Zelle's graphics.py package. This game was created as part of an assignment for an Intermediate Python class

Notifications You must be signed in to change notification settings

AlexWills37/Tetris-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris Clone

This game "Quadtris" is a clone of the popular game Tetris made in Python using John Zelle's graphics.py package. This game was created as part of an assignment for my Intermediate Python class

Prerequisites

In order to play this game on your computer, you must have Python3 installed.

How to play

To play this game, follow these steps:

  1. Download the project files
  2. Make sure all files are in the same folder
  3. Run 'game.py' from the folder

Keys to play

  • A - move piece left
  • D - move piece right
  • S - soft drop (move piece down by 1)
  • W - hard drop (move piece all the way down)
  • Left Arrow or N - rotate piece counterclockwise
  • Right Arrow or M - roate piece clockwise
  • E - hold (swap current piece with the HOLD piece)
  • Esc - pause game (pressing Q while paused will quit the game)

quadris

Development

I made this game over the course of a few weeks.

  • Learn how to use graphics.py
  • Create animations
  • Learn user interaction
  • Determine how to store information about what blocks are where
  • Figure out how to move and rotate pieces
  • Create game logic
  • Tweak speed and timing for a better user experience

Future Steps

  • Improve rotation system to use math to generalize rotation, instead of the current hardcoded solution
  • Improve the graphics
  • Rethink the system to take advantage of Object Oriented Design

About

November 2020 - This game "Quadtris" is a clone of the popular game Tetris made in Python using John Zelle's graphics.py package. This game was created as part of an assignment for an Intermediate Python class

Topics

Resources

Stars

Watchers

Forks

Languages