Skip to content
Notifications You must be signed in to change notification settings

OwaisSafa/tower-blocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jul 2, 2025
a2c571eย ยทย ยท Jul 2, 2025

History

1 Commit
Jul 2, 2025
Jul 2, 2025
Jul 2, 2025
Jul 2, 2025

Repository files navigation

Tower Blocks ๐Ÿ—๏ธ

A modern, engaging web-based game where players stack blocks to build the highest tower possible. Test your timing and precision while enjoying smooth animations and satisfying sound effects!

๐ŸŽฎ How to Play

  1. Click, tap, or press SPACE to place blocks
  2. Stack blocks as precisely as possible
  3. Perfect placements earn combo bonuses
  4. Game speeds up as you progress through levels
  5. Try to build the highest tower you can!

โœจ Features

  • Smooth, modern 3D graphics using Three.js
  • Responsive design that works on both desktop and mobile
  • Progressive difficulty with increasing levels
  • Combo system for perfect placements
  • Local high score tracking
  • Satisfying sound effects and visual feedback
  • Pause and mute functionality
  • Comprehensive tutorial system

๐Ÿ› ๏ธ Technologies Used

  • HTML
  • CSS
  • JavaScript
  • Three.js for 3D rendering
  • GSAP for animations

๐Ÿš€ Getting Started

  1. Clone the repository:

    git clone https://github.com/OwaisSafa/tower-blocks.git
  2. Navigate to the project directory:

    cd tower-blocks
  3. Open index.html in your web browser to play the game.

๐ŸŽฏ Game Controls

  • Click/Tap/Spacebar: Place block
  • P: Pause game
  • M: Toggle sound
  • ?: View tutorial

๐Ÿค– AI-Generated Components

This project includes few AI-assisted components:

  • Sound effect generation using Web Audio API
  • Level progression and difficulty scaling

๐Ÿ”ง Development

To modify or enhance the game:

  1. The main game logic is in script.js
  2. Styling is handled in style.css
  3. HTML structure is in index.html

๐Ÿ“ License

This project is open source and available under the MIT License.

๐Ÿ‘ค Author

Owais Safa

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published