acchao / tetromino_andrew Goto Github PK
View Code? Open in Web Editor NEWTetris Built with Python and Pygame.
Tetris Built with Python and Pygame.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.