Git Product home page Git Product logo

tetromino_andrew's Introduction

Tetris Clone
Author: Andrew Chao
4/1/2012

Files
- tetris.py
- constants.py
- Board.py
- Piece.py

Built with
- Python 3.2
- Pygame 1.9.2a0

*********************************************************************************
INSTRUCTIONS

Run tetris.py to start the game. Please make sure you have pygame installed.

There are 10 levels

SCORING SYSTEM
Basic, where n = level
1 line = 40 * (n+1)
2 line = 100 * (n+1)
3 line = 300 * (n+1)
4 line = 1200 * (n+1)

Soft Drop = rows * 1
Hard Drop = rows * 4
*********************************************************************************
UPDATES

Update 4/5/2012 1:23 AM PST
- Added Music with toggle
- Full Cycle of gameplay: pause, play, reset on gameover/win
- Added Scoring System
- pieces autodrop
- Holding a directional key will allow for continuous movement except for rotation


Update 4/4/2012 4:37 PM PST
- Reorganized Code for some better structure
    -Added a Queue Class
- Lines now clear when completed and # completed is displayed
- Font is cleaned up (except for splashscreen)


Update 4/4/2012 11:04 AM PST
- Collision detection
- Basic Piece movements (arrow keys)
    -Drop, Down, Left, Right, Rotate

Update 4/2/2012 10:47 AM PST
- Began to instantiate classes for board and pieces (redesigning)
- TODO: get pieces to rotate in place.

Update 4/2/2012 5:38 AM PST
- Board Layout is set
- Minimal Instructions

tetromino_andrew's People

Contributors

acchao avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

conanjun

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.