# Clicker Game A generic clicker game built with React, TypeScript, and Vite. This project implements a Progressive Web App (PWA) with all the classic clicker game features. ## Features - Click to earn currency - Purchase upgrades to increase click value - Automatic clicking upgrades - Passive income generation - Prestige system for restarting with multipliers - Offline progression - Mobile responsive design - PWA support for installation on devices ## Game Mechanics - **Click Value**: Determines how much currency you earn per click - **Passive Income**: Automatically generates currency over time - **Auto Click**: Automatically clicks for you at a specific rate - **Prestige System**: Reset your progress to earn permanent multipliers ## Installation 1. Clone the repository: ``` git clone https://github.com/yourusername/clicker-game.git cd clicker-game ``` 2. Install dependencies: ``` npm install ``` 3. Run the development server: ``` npm run dev ``` 4. Build for production: ``` npm run build ``` 5. Preview the production build: ``` npm run preview ``` ## Customization This is a generic clicker game template that you can customize: - Update theme colors in `App.css` and component styles - Add your own theme and story in text elements - Modify upgrade values and costs in `gameData.ts` - Add new game mechanics by extending the `GameState` type ## PWA Support The game includes full PWA support: - Installable on mobile and desktop devices - Offline functionality - Home screen icon - Splash screen ## License MIT