Tetris Game
Project Overview
Collaborated with a partner to create an enhanced version of Tetris with additional features and improved user experience. The project involved iterative development with peer feedback to refine gameplay mechanics and create an engaging gaming experience.
Source Code
GitHub Repository
Complete source code and documentation for the enhanced Tetris game
View on GitHubNote: Code organization is currently being improved
Main Game Features
Classic Tetris Gameplay
Five different block types with unique orientations and rotation mechanics
Intuitive Controls
left, right, and down arrow keys for movement, space for instant drop, and up arrow key for rotation controls
Visual Preview
Active block shows placement preview for strategic planning
Block Replacement
Replace current block up to three times per game for better positioning
Scoring System
10 points per row cleared, with 5x multiplier for multiple rows
Strategic Gameplay
First block remains static until player initiates, allowing planning time
Technical Requirements
Random block generation with five different block types
Block movements and 90-degree block rotations controlled by arrow keys
Instant block placement with spacebar
First block of the game is static until player initiates
Automatic downward movement for subsequent blocks
Boundary collision detection and rotation constraints
Visual placement indicator for active blocks
Block replacement system (three times per game)
Row clearing and downward row shifting
Game over detection when board fills to top
Real-time score tracking and updates
Multiplier scoring for simultaneous row clears