Skip to content

A sparkly Barbie-inspired Tetris-like game built with SvelteKit and TypeScript. Features a modern, pink-themed UI with particle effects and smooth animations. Designed and tested by my students <3

License

Notifications You must be signed in to change notification settings

prototyyype/glitter-blocks

Repository files navigation

🎮 Glitter Blocks

A beautiful, sparkly Tetris-like game built with SvelteKit and TypeScript. Features a modern, pink-themed UI with particle effects and smooth animations.

Glitter Blocks Game

✨ Features

  • Modern, responsive design with a pink sparkly theme
  • Smooth animations and particle effects
  • Touch-friendly controls for mobile play
  • Hold piece functionality
  • Next piece preview
  • Level progression system
  • High score tracking with local storage
  • Pause/Resume functionality (press 'P' key to pause/resume at any time)

🚀 Getting Started

Prerequisites

  • Node.js 16.x or higher
  • npm or pnpm

Installation

  1. Clone the repository:
git clone https://github.com/prototyyype/glitter-blocks.git
cd glitter-blocks
  1. Install dependencies:
npm install
# or
pnpm install
  1. Start the development server:
npm run dev
# or
pnpm dev
  1. Open your browser and navigate to http://localhost:5173

🎯 How to Play

  • Use arrow keys to move pieces:
    • ← → : Move left/right
    • ↑ : Soft drop
    • ↓ : Hard drop
  • Space: Rotate piece
  • H: Hold piece
  • P: Pause/Resume game

🛠️ Building for Production

To create a production build:

npm run build
# or
pnpm build

Preview the production build:

npm run preview
# or
pnpm preview

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

  • Built with SvelteKit
  • Inspired by the classic game of Tetris
  • Font: Pacifico from Google Fonts

About

A sparkly Barbie-inspired Tetris-like game built with SvelteKit and TypeScript. Features a modern, pink-themed UI with particle effects and smooth animations. Designed and tested by my students <3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published