A fun idle-clicker game built with React. Earn virtual money by clicking, buy managers to generate automatic clicks, and improve your money sources through upgrades.
Euro Clicker Game is an idle game in the style of "Cookie Clicker" or "Adventure Capitalist," but with a European money theme. The game features:
- Different colored click buttons with varying values
- Cooldown timers for each button
- Managers to automate clicks
- Two types of upgrades:
- Value upgrades (increase the amount of money per click)
- Time upgrades (reduce cooldown time)
- Simple and intuitive user interface
- Make sure Node.js and npm are installed on your system
- Clone this repository or download it
- Navigate to the project directory in your terminal
- Install the dependencies:
npm install
- *Start the application:
npm start
- Open http://localhost:3000 in your browser to play the game
- React.js
- React Hooks (useState, useEffect)
- CSS
- Lucide React (for icons)
/src
/components
/ClickerGame
/index.jsx # Hauptkomponente, exportiert ClickerGame
/GameHeader.jsx # Titel und Geldanzeige
/ClickerButtons.jsx # Die Haupt-Click-Buttons
/UpgradeTabs
/BasicUpgrades.jsx # Erster Tab
/index.jsx # Tab-Container
/Investments.jsx
/PremiumUpgrades.jsx # Zweiter Tab
/hooks
/useClickerGame.js # Hauptlogik als Hook extrahiert
/useCooldowns.js
/useGameCalculations.js
/useGameState.js
/useInvestments.js
/useLocalStorage.js
/useManagers.js
/useUpgrades.js
/utils
/calculators.js # Hilfsfunktionen für Berechnungen
/localStorage.js # Funktionen für LocalStorage-Verwaltung
/constants
/gameConfig.js # Spielkonfiguration (Kosten, Multiplikatoren, etc.)
-
Basic Principle: Click on the buttons to earn money. Each button has its own value and cooldown time.
-
Managers: Once you have enough money, you can buy managers who will automatically click for you. Each manager is associated with a specific button.
-
Upgrades:
- Value Upgrades: Increase the money value of the respective button by 10%
- Time Upgrades: Reduce the cooldown time of the respective button by 10%
-
Strategy: Decide wisely when to invest in managers or upgrades to maximize your money growth!
Reach new heights with the Prestige system!
- Unlock Condition: Becomes available once you reach 1 Billion €.
- Mechanics: When you choose to Prestige, your current game progress (money, upgrades, investments, managers) will be reset.
- Rewards: In return for resetting, you gain "Prestige Shares." Each share grants a permanent percentage bonus to your income per second.
- Earning Shares: You earn 1 Prestige Share for every 1 Billion € you have at the time of prestiging.
- Activation: You can trigger Prestige from a modal accessible via a button in the game header. This button appears once you've reached 1 Billion €, and you can activate Prestige once you have earned at least 1 full share in your current run.
- Goal: Prestiging allows you to accelerate your progress in subsequent playthroughs, reaching higher levels of wealth and unlocking content faster.
You can easily customize the game by changing the values and prices in the code:
- Modify the base values and cooldown times in the
baseButtons
array - Adjust the manager and upgrade costs
- Add more button types or change their colors
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues:
- Make sure you're using the latest version of Node.js and npm
- Verify that all dependencies were properly installed
- Delete the
node_modules
folder and runnpm install
again - If there are display problems, clear your browser cache
Contributions are welcome! Feel free to report bugs or create pull requests.