diff --git a/src/App.tsx b/src/App.tsx
index 5c7c278..47a3f82 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -101,7 +101,8 @@ function App() {
points,
playerLevel,
getAvailableBuildings,
- tick
+ tick,
+ clickPower
} = useGameStore()
const availableBuildings = getAvailableBuildings()
@@ -114,61 +115,80 @@ function App() {
return (
-
-
-
-
- Clicker Clicker 2
- Level {playerLevel}
-
-
-
-
-
-
- {/* Shop Section */}
-
- Shop
-
- {availableBuildings.map((building) => (
- useGameStore.getState().buyBuilding(building.id as BuildingId)}
- description={building.description}
- production={building.production}
- buildingType={building.id}
- levelRequirement={building.levelRequirement}
- />
- ))}
-
-
+
+
+
+
+
+
+ Clicker Clicker 2
+ Level {playerLevel}
-
+
+
+
+ {/* Shop Section */}
+
+ Shop
+
+ {availableBuildings.map((building) => (
+ useGameStore.getState().buyBuilding(building.id as BuildingId)}
+ description={building.description}
+ production={building.production}
+ buildingType={building.id}
+ levelRequirement={building.levelRequirement}
+ />
+ ))}
+
+
+
- {/* Upgrades Section */}
-
- Upgrades
-
-
-
-
+
+
+ {/* Upgrades Section */}
+
+ Upgrades
+
+
+
+
+ Click Power
+ Level {clickPower}
+
+
+ Each click generates {clickPower} points
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
)
diff --git a/src/components/ResourceDisplay.tsx b/src/components/ResourceDisplay.tsx
index d24a761..3b25897 100644
--- a/src/components/ResourceDisplay.tsx
+++ b/src/components/ResourceDisplay.tsx
@@ -2,20 +2,36 @@ import { Box, HStack, Text } from '@chakra-ui/react'
import { useGameStore } from '../store/gameStore'
export function ResourceDisplay() {
- const { points, techParts, pointsPerSecond, techPartsPerSecond } = useGameStore()
+ const { points, techParts, pointsPerSecond, techPartsPerSecond, clickMultiplier } = useGameStore()
return (
-
-
- Points
- {Math.floor(points)}
- +{pointsPerSecond}/s
-
-
- Tech Parts
- {Math.floor(techParts)}
- +{techPartsPerSecond}/s
-
-
+
+
+
+ Points
+ {Math.floor(points)}
+ +{pointsPerSecond}/s
+ {clickMultiplier > 1 && (
+ {clickMultiplier}x Click Power
+ )}
+
+
+ Tech Parts
+ {Math.floor(techParts)}
+ +{techPartsPerSecond}/s
+
+
+
)
}
\ No newline at end of file