A challenging and addictive 3D stacking game where players must carefully place blocks on top of each other to build the tallest tower possible.
- Smooth 3D graphics powered by Three.js
- Responsive design that works on desktop and mobile devices
- Simple one-click/tap or spacebar controls
- Progressive difficulty as your tower grows taller
- Animated game effects using GSAP animations
- Minimalist design with focus on gameplay
- A modern web browser
- Basic understanding of HTML, CSS, and JavaScript (for development)
-
Clone the repository:
git clone https://github.com/Sadat-Rakib/TowerBlocks-Game.git
-
Navigate to the project directory:
cd TowerBlocks-Game -
Open
index.htmlin your web browser to play the game locally.
For development, you can use a local server to avoid CORS issues when loading assets:
# Using Python 3
python -m http.server
# Using Node.js with http-server
npm install -g http-server
http-server- Click the "Start" button to begin the game
- As blocks move across the screen, click, tap, or press the spacebar to place them
- Try to align each new block with the one below it
- The game ends when a block misses the tower completely
- Aim to build the tallest tower possible and achieve the highest score!
- HTML5
- CSS3
- JavaScript
- TypeScript
- Three.js - 3D graphics library
- GSAP (GreenSock Animation Platform) - Animation library
TowerBlocks-Game/
โโโ index.html # Main HTML file
โโโ style.css # Main CSS styles
โโโ style.scss # SCSS source (if using Sass)
โโโ main.js # Main JavaScript game logic
โโโ main.ts # TypeScript source (if using TypeScript)
โโโ .godo/ # Project configuration folder
โโโ README.md # This file
The game follows these core mechanics:
- Blocks move horizontally across the screen
- Player timing determines block placement
- Perfect alignment adds to score
- Partial alignment causes the block to split
- Block speed increases as the tower grows taller
- Game ends when a block completely misses the tower
- Add sound effects and background music
- Implement different themes/color schemes
- Add power-ups and special blocks
- Create a global leaderboard
- Add difficulty levels
Contributions are welcome! Feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by classic stacking games
- Three.js community for the excellent 3D library
- Original concept based on similar arcade games
Made with โค๏ธ by Sadat-Rakib