react-native-games 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -32
- package/lib/module/games/balloon-blaster/BalloonBlaster.js +160 -75
- package/lib/module/games/balloon-blaster/BalloonBlaster.js.map +1 -1
- package/lib/module/games/balloon-blaster/BalloonBlasterConstants.js +183 -0
- package/lib/module/games/balloon-blaster/BalloonBlasterConstants.js.map +1 -0
- package/lib/module/games/balloon-blaster/BalloonBlasterService.js +152 -55
- package/lib/module/games/balloon-blaster/BalloonBlasterService.js.map +1 -1
- package/lib/module/games/balloon-blaster/BalloonBlasterStore.js +108 -92
- package/lib/module/games/balloon-blaster/BalloonBlasterStore.js.map +1 -1
- package/lib/module/games/balloon-blaster/components/BalloonComponent.js +48 -65
- package/lib/module/games/balloon-blaster/components/BalloonComponent.js.map +1 -1
- package/lib/module/games/balloon-blaster/components/GameArea.js +7 -2
- package/lib/module/games/balloon-blaster/components/GameArea.js.map +1 -1
- package/lib/module/games/balloon-blaster/components/GameBackground.js +8 -83
- package/lib/module/games/balloon-blaster/components/GameBackground.js.map +1 -1
- package/lib/module/games/balloon-blaster/components/ParticleSystem.js +9 -6
- package/lib/module/games/balloon-blaster/components/ParticleSystem.js.map +1 -1
- package/lib/module/games/balloon-blaster/components/ScoreBoard.js +8 -16
- package/lib/module/games/balloon-blaster/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/balloon-blaster/components/index.js +0 -1
- package/lib/module/games/balloon-blaster/components/index.js.map +1 -1
- package/lib/module/games/{fruit-slicer/FruitSlicer.js → fruit-ninja/FruitNinja.js} +68 -54
- package/lib/module/games/fruit-ninja/FruitNinja.js.map +1 -0
- package/lib/module/games/fruit-ninja/FruitNinjaConstants.js +151 -0
- package/lib/module/games/fruit-ninja/FruitNinjaConstants.js.map +1 -0
- package/lib/module/games/{fruit-slicer/FruitSlicerService.js → fruit-ninja/FruitNinjaService.js} +13 -12
- package/lib/module/games/fruit-ninja/FruitNinjaService.js.map +1 -0
- package/lib/module/games/fruit-ninja/FruitNinjaStore.js +166 -0
- package/lib/module/games/fruit-ninja/FruitNinjaStore.js.map +1 -0
- package/lib/module/games/{fruit-slicer → fruit-ninja}/components/FruitComponent.js +1 -1
- package/lib/module/games/fruit-ninja/components/FruitComponent.js.map +1 -0
- package/lib/module/games/fruit-ninja/components/GameArea.js.map +1 -0
- package/lib/module/games/{fruit-slicer → fruit-ninja}/components/GameBackground.js +198 -169
- package/lib/module/games/fruit-ninja/components/GameBackground.js.map +1 -0
- package/lib/module/games/fruit-ninja/components/GameOverModal.js.map +1 -0
- package/lib/module/games/fruit-ninja/components/ParticleSystem.js.map +1 -0
- package/lib/module/games/{fruit-slicer → fruit-ninja}/components/ScoreBoard.js +8 -17
- package/lib/module/games/fruit-ninja/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/{fruit-slicer → fruit-ninja}/components/SliceTrail.js +1 -1
- package/lib/module/games/fruit-ninja/components/SliceTrail.js.map +1 -0
- package/lib/module/games/{fruit-slicer → fruit-ninja}/components/index.js +0 -1
- package/lib/module/games/fruit-ninja/components/index.js.map +1 -0
- package/lib/module/games/maze-runner/MazeRunner.js +109 -91
- package/lib/module/games/maze-runner/MazeRunner.js.map +1 -1
- package/lib/module/games/maze-runner/MazeRunnerConstants.js +105 -0
- package/lib/module/games/maze-runner/MazeRunnerConstants.js.map +1 -0
- package/lib/module/games/maze-runner/MazeRunnerService.js +37 -14
- package/lib/module/games/maze-runner/MazeRunnerService.js.map +1 -1
- package/lib/module/games/maze-runner/components/EnhancedGameArea.js +5 -9
- package/lib/module/games/maze-runner/components/EnhancedGameArea.js.map +1 -1
- package/lib/module/games/maze-runner/components/GameBackground.js +151 -192
- package/lib/module/games/maze-runner/components/GameBackground.js.map +1 -1
- package/lib/module/games/maze-runner/components/ScoreBoard.js +8 -23
- package/lib/module/games/maze-runner/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/maze-runner/components/index.js +0 -1
- package/lib/module/games/maze-runner/components/index.js.map +1 -1
- package/lib/module/games/popit-fidget/PopitFidget.js +293 -0
- package/lib/module/games/popit-fidget/PopitFidget.js.map +1 -0
- package/lib/module/games/popit-fidget/PopitFidgetConstants.js +116 -0
- package/lib/module/games/popit-fidget/PopitFidgetConstants.js.map +1 -0
- package/lib/module/games/popit-fidget/PopitFidgetService.js +191 -0
- package/lib/module/games/popit-fidget/PopitFidgetService.js.map +1 -0
- package/lib/module/games/popit-fidget/PopitFidgetStore.js +190 -0
- package/lib/module/games/popit-fidget/PopitFidgetStore.js.map +1 -0
- package/lib/module/games/popit-fidget/components/BubbleComponent.js +196 -0
- package/lib/module/games/popit-fidget/components/BubbleComponent.js.map +1 -0
- package/lib/module/games/popit-fidget/components/FidgetGrid.js +165 -0
- package/lib/module/games/popit-fidget/components/FidgetGrid.js.map +1 -0
- package/lib/module/games/popit-fidget/components/GameBackground.js +174 -0
- package/lib/module/games/popit-fidget/components/GameBackground.js.map +1 -0
- package/lib/module/games/popit-fidget/components/GameOverModal.js +132 -0
- package/lib/module/games/popit-fidget/components/GameOverModal.js.map +1 -0
- package/lib/module/games/popit-fidget/components/ParticleSystem.js +89 -0
- package/lib/module/games/popit-fidget/components/ParticleSystem.js.map +1 -0
- package/lib/module/games/popit-fidget/components/ScoreBoard.js +68 -0
- package/lib/module/games/popit-fidget/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/popit-fidget/components/index.js +9 -0
- package/lib/module/games/popit-fidget/components/index.js.map +1 -0
- package/lib/module/games/{space-traveller/SpaceTraveller.js → space-fighter/SpaceFighter.js} +94 -70
- package/lib/module/games/space-fighter/SpaceFighter.js.map +1 -0
- package/lib/module/games/space-fighter/SpaceFighterConstants.js +110 -0
- package/lib/module/games/space-fighter/SpaceFighterConstants.js.map +1 -0
- package/lib/module/games/{space-traveller/SpaceTravellerService.js → space-fighter/SpaceFighterService.js} +18 -10
- package/lib/module/games/space-fighter/SpaceFighterService.js.map +1 -0
- package/lib/module/games/space-fighter/SpaceFighterStore.js +143 -0
- package/lib/module/games/space-fighter/SpaceFighterStore.js.map +1 -0
- package/lib/module/games/space-fighter/components/AsteroidComponent.js.map +1 -0
- package/lib/module/games/space-fighter/components/GameArea.js.map +1 -0
- package/lib/module/games/space-fighter/components/GameBackground.js.map +1 -0
- package/lib/module/games/space-fighter/components/GameOverModal.js.map +1 -0
- package/lib/module/games/space-fighter/components/ParticleComponent.js.map +1 -0
- package/lib/module/games/{space-traveller → space-fighter}/components/ScoreBoard.js +11 -19
- package/lib/module/games/space-fighter/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/space-fighter/components/SettingsModal.js.map +1 -0
- package/lib/module/games/space-fighter/components/Spacecraft3D.js.map +1 -0
- package/lib/module/games/{space-traveller → space-fighter}/components/SpacecraftPath.js +1 -1
- package/lib/module/games/space-fighter/components/SpacecraftPath.js.map +1 -0
- package/lib/module/games/{space-traveller → space-fighter}/components/index.js +0 -1
- package/lib/module/games/space-fighter/components/index.js.map +1 -0
- package/lib/module/games/whack-a-mole/WhackAMole.js +273 -0
- package/lib/module/games/whack-a-mole/WhackAMole.js.map +1 -0
- package/lib/module/games/whack-a-mole/WhackAMoleConstants.js +117 -0
- package/lib/module/games/whack-a-mole/WhackAMoleConstants.js.map +1 -0
- package/lib/module/games/whack-a-mole/WhackAMoleService.js +120 -0
- package/lib/module/games/whack-a-mole/WhackAMoleService.js.map +1 -0
- package/lib/module/games/whack-a-mole/WhackAMoleStore.js +159 -0
- package/lib/module/games/whack-a-mole/WhackAMoleStore.js.map +1 -0
- package/lib/module/games/{cat-popper → whack-a-mole}/components/GameBackground.js +31 -91
- package/lib/module/games/whack-a-mole/components/GameBackground.js.map +1 -0
- package/lib/module/games/whack-a-mole/components/GameGrid.js +97 -0
- package/lib/module/games/whack-a-mole/components/GameGrid.js.map +1 -0
- package/lib/module/games/{cat-popper → whack-a-mole}/components/GameHole.js +67 -54
- package/lib/module/games/whack-a-mole/components/GameHole.js.map +1 -0
- package/lib/module/games/{cat-popper → whack-a-mole}/components/GameOverModal.js +2 -2
- package/lib/module/games/whack-a-mole/components/GameOverModal.js.map +1 -0
- package/lib/module/games/{cat-popper/components/CatCharacter.js → whack-a-mole/components/MoleCharacter.js} +75 -115
- package/lib/module/games/whack-a-mole/components/MoleCharacter.js.map +1 -0
- package/lib/module/games/{cat-popper → whack-a-mole}/components/ScoreBoard.js +8 -16
- package/lib/module/games/whack-a-mole/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/{cat-popper → whack-a-mole}/components/index.js +1 -2
- package/lib/module/games/whack-a-mole/components/index.js.map +1 -0
- package/lib/module/index.js +4 -3
- package/lib/module/index.js.map +1 -1
- package/lib/module/services/GamesConstants.js +36 -506
- package/lib/module/services/GamesConstants.js.map +1 -1
- package/lib/module/services/GamesService.js +22 -14
- package/lib/module/services/GamesService.js.map +1 -1
- package/lib/module/services/HapticsService.js +77 -0
- package/lib/module/services/HapticsService.js.map +1 -0
- package/lib/module/services/SoundsService.js +171 -0
- package/lib/module/services/SoundsService.js.map +1 -0
- package/lib/module/{games/balloon-blaster/components/GameControls.js → shared/helpers/GameControlButton.js} +39 -58
- package/lib/module/shared/helpers/GameControlButton.js.map +1 -0
- package/lib/module/shared/helpers/ResponsiveScoreBoard.js +81 -0
- package/lib/module/shared/helpers/ResponsiveScoreBoard.js.map +1 -0
- package/lib/module/shared/helpers/index.js +5 -0
- package/lib/module/shared/helpers/index.js.map +1 -0
- package/lib/module/shared/settings/SettingsService.js +18 -12
- package/lib/module/shared/settings/SettingsService.js.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/BalloonBlaster.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterConstants.d.ts +143 -0
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterService.d.ts +3 -1
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterService.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterStore.d.ts +12 -2
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterStore.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/components/BalloonComponent.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/components/GameArea.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/components/ParticleSystem.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/components/index.d.ts +0 -1
- package/lib/typescript/src/games/balloon-blaster/components/index.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-ninja/FruitNinja.d.ts +16 -0
- package/lib/typescript/src/games/fruit-ninja/FruitNinja.d.ts.map +1 -0
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaConstants.d.ts +112 -0
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/{fruit-slicer/FruitSlicerService.d.ts → fruit-ninja/FruitNinjaService.d.ts} +4 -4
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaService.d.ts.map +1 -0
- package/lib/typescript/src/games/{fruit-slicer/FruitSlicerStore.d.ts → fruit-ninja/FruitNinjaStore.d.ts} +12 -4
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaStore.d.ts.map +1 -0
- package/lib/typescript/src/games/{fruit-slicer → fruit-ninja}/components/FruitComponent.d.ts +1 -1
- package/lib/typescript/src/games/fruit-ninja/components/FruitComponent.d.ts.map +1 -0
- package/lib/typescript/src/games/{fruit-slicer → fruit-ninja}/components/GameArea.d.ts +1 -1
- package/lib/typescript/src/games/fruit-ninja/components/GameArea.d.ts.map +1 -0
- package/lib/typescript/src/games/fruit-ninja/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/fruit-ninja/components/GameOverModal.d.ts.map +1 -0
- package/lib/typescript/src/games/{fruit-slicer → fruit-ninja}/components/ParticleSystem.d.ts +1 -1
- package/lib/typescript/src/games/fruit-ninja/components/ParticleSystem.d.ts.map +1 -0
- package/lib/typescript/src/games/fruit-ninja/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/fruit-ninja/components/SliceTrail.d.ts.map +1 -0
- package/lib/typescript/src/games/{fruit-slicer → fruit-ninja}/components/index.d.ts +0 -1
- package/lib/typescript/src/games/fruit-ninja/components/index.d.ts.map +1 -0
- package/lib/typescript/src/games/maze-runner/MazeRunner.d.ts +1 -9
- package/lib/typescript/src/games/maze-runner/MazeRunner.d.ts.map +1 -1
- package/lib/typescript/src/games/maze-runner/MazeRunnerConstants.d.ts +41 -0
- package/lib/typescript/src/games/maze-runner/MazeRunnerConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/maze-runner/MazeRunnerService.d.ts +4 -2
- package/lib/typescript/src/games/maze-runner/MazeRunnerService.d.ts.map +1 -1
- package/lib/typescript/src/games/maze-runner/components/EnhancedGameArea.d.ts.map +1 -1
- package/lib/typescript/src/games/maze-runner/components/GameBackground.d.ts +2 -1
- package/lib/typescript/src/games/maze-runner/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/maze-runner/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/maze-runner/components/index.d.ts +0 -1
- package/lib/typescript/src/games/maze-runner/components/index.d.ts.map +1 -1
- package/lib/typescript/src/games/popit-fidget/PopitFidget.d.ts +11 -0
- package/lib/typescript/src/games/popit-fidget/PopitFidget.d.ts.map +1 -0
- package/lib/typescript/src/games/popit-fidget/PopitFidgetConstants.d.ts +45 -0
- package/lib/typescript/src/games/popit-fidget/PopitFidgetConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/popit-fidget/PopitFidgetService.d.ts +54 -0
- package/lib/typescript/src/games/popit-fidget/PopitFidgetService.d.ts.map +1 -0
- package/lib/typescript/src/games/popit-fidget/PopitFidgetStore.d.ts +40 -0
- package/lib/typescript/src/games/popit-fidget/PopitFidgetStore.d.ts.map +1 -0
- package/lib/typescript/src/games/popit-fidget/components/BubbleComponent.d.ts +12 -0
- package/lib/typescript/src/games/popit-fidget/components/BubbleComponent.d.ts.map +1 -0
- package/lib/typescript/src/games/popit-fidget/components/FidgetGrid.d.ts +12 -0
- package/lib/typescript/src/games/popit-fidget/components/FidgetGrid.d.ts.map +1 -0
- package/lib/typescript/src/games/popit-fidget/components/GameBackground.d.ts +9 -0
- package/lib/typescript/src/games/popit-fidget/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/popit-fidget/components/GameOverModal.d.ts +9 -0
- package/lib/typescript/src/games/popit-fidget/components/GameOverModal.d.ts.map +1 -0
- package/lib/typescript/src/games/popit-fidget/components/ParticleSystem.d.ts +9 -0
- package/lib/typescript/src/games/popit-fidget/components/ParticleSystem.d.ts.map +1 -0
- package/lib/typescript/src/games/popit-fidget/components/ScoreBoard.d.ts +8 -0
- package/lib/typescript/src/games/popit-fidget/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/popit-fidget/components/index.d.ts +7 -0
- package/lib/typescript/src/games/popit-fidget/components/index.d.ts.map +1 -0
- package/lib/typescript/src/games/space-fighter/SpaceFighter.d.ts +9 -0
- package/lib/typescript/src/games/space-fighter/SpaceFighter.d.ts.map +1 -0
- package/lib/typescript/src/games/space-fighter/SpaceFighterConstants.d.ts +71 -0
- package/lib/typescript/src/games/space-fighter/SpaceFighterConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/{space-traveller/SpaceTravellerService.d.ts → space-fighter/SpaceFighterService.d.ts} +7 -4
- package/lib/typescript/src/games/space-fighter/SpaceFighterService.d.ts.map +1 -0
- package/lib/typescript/src/games/{space-traveller/SpaceTravellerStore.d.ts → space-fighter/SpaceFighterStore.d.ts} +12 -4
- package/lib/typescript/src/games/space-fighter/SpaceFighterStore.d.ts.map +1 -0
- package/lib/typescript/src/games/{space-traveller → space-fighter}/components/AsteroidComponent.d.ts +1 -1
- package/lib/typescript/src/games/space-fighter/components/AsteroidComponent.d.ts.map +1 -0
- package/lib/typescript/src/games/{space-traveller → space-fighter}/components/GameArea.d.ts +1 -1
- package/lib/typescript/src/games/space-fighter/components/GameArea.d.ts.map +1 -0
- package/lib/typescript/src/games/space-fighter/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/space-fighter/components/GameOverModal.d.ts.map +1 -0
- package/lib/typescript/src/games/{space-traveller → space-fighter}/components/ParticleComponent.d.ts +1 -1
- package/lib/typescript/src/games/space-fighter/components/ParticleComponent.d.ts.map +1 -0
- package/lib/typescript/src/games/space-fighter/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/space-fighter/components/SettingsModal.d.ts.map +1 -0
- package/lib/typescript/src/games/{space-traveller → space-fighter}/components/Spacecraft3D.d.ts +1 -1
- package/lib/typescript/src/games/space-fighter/components/Spacecraft3D.d.ts.map +1 -0
- package/lib/typescript/src/games/space-fighter/components/SpacecraftPath.d.ts.map +1 -0
- package/lib/typescript/src/games/{space-traveller → space-fighter}/components/index.d.ts +0 -1
- package/lib/typescript/src/games/space-fighter/components/index.d.ts.map +1 -0
- package/lib/typescript/src/games/{cat-popper/CatPopper.d.ts → whack-a-mole/WhackAMole.d.ts} +4 -4
- package/lib/typescript/src/games/whack-a-mole/WhackAMole.d.ts.map +1 -0
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleConstants.d.ts +79 -0
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleService.d.ts +33 -0
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleService.d.ts.map +1 -0
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleStore.d.ts +41 -0
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleStore.d.ts.map +1 -0
- package/lib/typescript/src/games/whack-a-mole/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/{cat-popper → whack-a-mole}/components/GameGrid.d.ts +2 -2
- package/lib/typescript/src/games/whack-a-mole/components/GameGrid.d.ts.map +1 -0
- package/lib/typescript/src/games/{cat-popper → whack-a-mole}/components/GameHole.d.ts +3 -2
- package/lib/typescript/src/games/whack-a-mole/components/GameHole.d.ts.map +1 -0
- package/lib/typescript/src/games/{fruit-slicer → whack-a-mole}/components/GameOverModal.d.ts.map +1 -1
- package/lib/typescript/src/games/whack-a-mole/components/MoleCharacter.d.ts +7 -0
- package/lib/typescript/src/games/whack-a-mole/components/MoleCharacter.d.ts.map +1 -0
- package/lib/typescript/src/games/whack-a-mole/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/{cat-popper → whack-a-mole}/components/index.d.ts +1 -2
- package/lib/typescript/src/games/whack-a-mole/components/index.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +4 -3
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/services/GamesConstants.d.ts +30 -318
- package/lib/typescript/src/services/GamesConstants.d.ts.map +1 -1
- package/lib/typescript/src/services/GamesService.d.ts +1 -0
- package/lib/typescript/src/services/GamesService.d.ts.map +1 -1
- package/lib/typescript/src/services/HapticsService.d.ts +16 -0
- package/lib/typescript/src/services/HapticsService.d.ts.map +1 -0
- package/lib/typescript/src/services/SoundsService.d.ts +154 -0
- package/lib/typescript/src/services/SoundsService.d.ts.map +1 -0
- package/lib/typescript/src/shared/helpers/GameControlButton.d.ts +17 -0
- package/lib/typescript/src/shared/helpers/GameControlButton.d.ts.map +1 -0
- package/lib/typescript/src/shared/helpers/ResponsiveScoreBoard.d.ts +42 -0
- package/lib/typescript/src/shared/helpers/ResponsiveScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/shared/helpers/index.d.ts +4 -0
- package/lib/typescript/src/shared/helpers/index.d.ts.map +1 -0
- package/lib/typescript/src/shared/settings/SettingsService.d.ts +2 -1
- package/lib/typescript/src/shared/settings/SettingsService.d.ts.map +1 -1
- package/package.json +9 -6
- package/lib/module/games/balloon-blaster/components/GameControls.js.map +0 -1
- package/lib/module/games/cat-popper/CatPopper.js +0 -230
- package/lib/module/games/cat-popper/CatPopper.js.map +0 -1
- package/lib/module/games/cat-popper/CatPopperService.js +0 -100
- package/lib/module/games/cat-popper/CatPopperService.js.map +0 -1
- package/lib/module/games/cat-popper/CatPopperStore.js +0 -113
- package/lib/module/games/cat-popper/CatPopperStore.js.map +0 -1
- package/lib/module/games/cat-popper/components/CatCharacter.js.map +0 -1
- package/lib/module/games/cat-popper/components/GameBackground.js.map +0 -1
- package/lib/module/games/cat-popper/components/GameControls.js +0 -230
- package/lib/module/games/cat-popper/components/GameControls.js.map +0 -1
- package/lib/module/games/cat-popper/components/GameGrid.js +0 -66
- package/lib/module/games/cat-popper/components/GameGrid.js.map +0 -1
- package/lib/module/games/cat-popper/components/GameHole.js.map +0 -1
- package/lib/module/games/cat-popper/components/GameOverModal.js.map +0 -1
- package/lib/module/games/cat-popper/components/ScoreBoard.js.map +0 -1
- package/lib/module/games/cat-popper/components/index.js.map +0 -1
- package/lib/module/games/fruit-slicer/FruitSlicer.js.map +0 -1
- package/lib/module/games/fruit-slicer/FruitSlicerService.js.map +0 -1
- package/lib/module/games/fruit-slicer/FruitSlicerStore.js +0 -156
- package/lib/module/games/fruit-slicer/FruitSlicerStore.js.map +0 -1
- package/lib/module/games/fruit-slicer/components/FruitComponent.js.map +0 -1
- package/lib/module/games/fruit-slicer/components/GameArea.js.map +0 -1
- package/lib/module/games/fruit-slicer/components/GameBackground.js.map +0 -1
- package/lib/module/games/fruit-slicer/components/GameControls.js +0 -230
- package/lib/module/games/fruit-slicer/components/GameControls.js.map +0 -1
- package/lib/module/games/fruit-slicer/components/GameOverModal.js.map +0 -1
- package/lib/module/games/fruit-slicer/components/ParticleSystem.js.map +0 -1
- package/lib/module/games/fruit-slicer/components/ScoreBoard.js.map +0 -1
- package/lib/module/games/fruit-slicer/components/SliceTrail.js.map +0 -1
- package/lib/module/games/fruit-slicer/components/index.js.map +0 -1
- package/lib/module/games/maze-runner/components/GameControls.js +0 -129
- package/lib/module/games/maze-runner/components/GameControls.js.map +0 -1
- package/lib/module/games/space-traveller/SpaceTraveller.js.map +0 -1
- package/lib/module/games/space-traveller/SpaceTravellerService.js.map +0 -1
- package/lib/module/games/space-traveller/SpaceTravellerStore.js +0 -139
- package/lib/module/games/space-traveller/SpaceTravellerStore.js.map +0 -1
- package/lib/module/games/space-traveller/components/AsteroidComponent.js.map +0 -1
- package/lib/module/games/space-traveller/components/GameArea.js.map +0 -1
- package/lib/module/games/space-traveller/components/GameBackground.js.map +0 -1
- package/lib/module/games/space-traveller/components/GameControls.js +0 -177
- package/lib/module/games/space-traveller/components/GameControls.js.map +0 -1
- package/lib/module/games/space-traveller/components/GameOverModal.js.map +0 -1
- package/lib/module/games/space-traveller/components/ParticleComponent.js.map +0 -1
- package/lib/module/games/space-traveller/components/ScoreBoard.js.map +0 -1
- package/lib/module/games/space-traveller/components/SettingsModal.js.map +0 -1
- package/lib/module/games/space-traveller/components/Spacecraft3D.js.map +0 -1
- package/lib/module/games/space-traveller/components/SpacecraftPath.js.map +0 -1
- package/lib/module/games/space-traveller/components/index.js.map +0 -1
- package/lib/typescript/src/games/balloon-blaster/components/GameControls.d.ts +0 -10
- package/lib/typescript/src/games/balloon-blaster/components/GameControls.d.ts.map +0 -1
- package/lib/typescript/src/games/cat-popper/CatPopper.d.ts.map +0 -1
- package/lib/typescript/src/games/cat-popper/CatPopperService.d.ts +0 -32
- package/lib/typescript/src/games/cat-popper/CatPopperService.d.ts.map +0 -1
- package/lib/typescript/src/games/cat-popper/CatPopperStore.d.ts +0 -21
- package/lib/typescript/src/games/cat-popper/CatPopperStore.d.ts.map +0 -1
- package/lib/typescript/src/games/cat-popper/components/CatCharacter.d.ts +0 -7
- package/lib/typescript/src/games/cat-popper/components/CatCharacter.d.ts.map +0 -1
- package/lib/typescript/src/games/cat-popper/components/GameBackground.d.ts.map +0 -1
- package/lib/typescript/src/games/cat-popper/components/GameControls.d.ts +0 -10
- package/lib/typescript/src/games/cat-popper/components/GameControls.d.ts.map +0 -1
- package/lib/typescript/src/games/cat-popper/components/GameGrid.d.ts.map +0 -1
- package/lib/typescript/src/games/cat-popper/components/GameHole.d.ts.map +0 -1
- package/lib/typescript/src/games/cat-popper/components/GameOverModal.d.ts.map +0 -1
- package/lib/typescript/src/games/cat-popper/components/ScoreBoard.d.ts.map +0 -1
- package/lib/typescript/src/games/cat-popper/components/index.d.ts.map +0 -1
- package/lib/typescript/src/games/fruit-slicer/FruitSlicer.d.ts +0 -16
- package/lib/typescript/src/games/fruit-slicer/FruitSlicer.d.ts.map +0 -1
- package/lib/typescript/src/games/fruit-slicer/FruitSlicerService.d.ts.map +0 -1
- package/lib/typescript/src/games/fruit-slicer/FruitSlicerStore.d.ts.map +0 -1
- package/lib/typescript/src/games/fruit-slicer/components/FruitComponent.d.ts.map +0 -1
- package/lib/typescript/src/games/fruit-slicer/components/GameArea.d.ts.map +0 -1
- package/lib/typescript/src/games/fruit-slicer/components/GameBackground.d.ts.map +0 -1
- package/lib/typescript/src/games/fruit-slicer/components/GameControls.d.ts +0 -10
- package/lib/typescript/src/games/fruit-slicer/components/GameControls.d.ts.map +0 -1
- package/lib/typescript/src/games/fruit-slicer/components/ParticleSystem.d.ts.map +0 -1
- package/lib/typescript/src/games/fruit-slicer/components/ScoreBoard.d.ts.map +0 -1
- package/lib/typescript/src/games/fruit-slicer/components/SliceTrail.d.ts.map +0 -1
- package/lib/typescript/src/games/fruit-slicer/components/index.d.ts.map +0 -1
- package/lib/typescript/src/games/maze-runner/components/GameControls.d.ts +0 -10
- package/lib/typescript/src/games/maze-runner/components/GameControls.d.ts.map +0 -1
- package/lib/typescript/src/games/space-traveller/SpaceTraveller.d.ts +0 -17
- package/lib/typescript/src/games/space-traveller/SpaceTraveller.d.ts.map +0 -1
- package/lib/typescript/src/games/space-traveller/SpaceTravellerService.d.ts.map +0 -1
- package/lib/typescript/src/games/space-traveller/SpaceTravellerStore.d.ts.map +0 -1
- package/lib/typescript/src/games/space-traveller/components/AsteroidComponent.d.ts.map +0 -1
- package/lib/typescript/src/games/space-traveller/components/GameArea.d.ts.map +0 -1
- package/lib/typescript/src/games/space-traveller/components/GameBackground.d.ts.map +0 -1
- package/lib/typescript/src/games/space-traveller/components/GameControls.d.ts +0 -10
- package/lib/typescript/src/games/space-traveller/components/GameControls.d.ts.map +0 -1
- package/lib/typescript/src/games/space-traveller/components/GameOverModal.d.ts.map +0 -1
- package/lib/typescript/src/games/space-traveller/components/ParticleComponent.d.ts.map +0 -1
- package/lib/typescript/src/games/space-traveller/components/ScoreBoard.d.ts.map +0 -1
- package/lib/typescript/src/games/space-traveller/components/SettingsModal.d.ts.map +0 -1
- package/lib/typescript/src/games/space-traveller/components/Spacecraft3D.d.ts.map +0 -1
- package/lib/typescript/src/games/space-traveller/components/SpacecraftPath.d.ts.map +0 -1
- package/lib/typescript/src/games/space-traveller/components/index.d.ts.map +0 -1
- /package/lib/module/games/{fruit-slicer → fruit-ninja}/components/GameArea.js +0 -0
- /package/lib/module/games/{fruit-slicer → fruit-ninja}/components/GameOverModal.js +0 -0
- /package/lib/module/games/{fruit-slicer → fruit-ninja}/components/ParticleSystem.js +0 -0
- /package/lib/module/games/{space-traveller → space-fighter}/components/AsteroidComponent.js +0 -0
- /package/lib/module/games/{space-traveller → space-fighter}/components/GameArea.js +0 -0
- /package/lib/module/games/{space-traveller → space-fighter}/components/GameBackground.js +0 -0
- /package/lib/module/games/{space-traveller → space-fighter}/components/GameOverModal.js +0 -0
- /package/lib/module/games/{space-traveller → space-fighter}/components/ParticleComponent.js +0 -0
- /package/lib/module/games/{space-traveller → space-fighter}/components/SettingsModal.js +0 -0
- /package/lib/module/games/{space-traveller → space-fighter}/components/Spacecraft3D.js +0 -0
- /package/lib/typescript/src/games/{cat-popper → fruit-ninja}/components/GameBackground.d.ts +0 -0
- /package/lib/typescript/src/games/{cat-popper → fruit-ninja}/components/GameOverModal.d.ts +0 -0
- /package/lib/typescript/src/games/{fruit-slicer → fruit-ninja}/components/ScoreBoard.d.ts +0 -0
- /package/lib/typescript/src/games/{fruit-slicer → fruit-ninja}/components/SliceTrail.d.ts +0 -0
- /package/lib/typescript/src/games/{fruit-slicer → space-fighter}/components/GameBackground.d.ts +0 -0
- /package/lib/typescript/src/games/{fruit-slicer → space-fighter}/components/GameOverModal.d.ts +0 -0
- /package/lib/typescript/src/games/{cat-popper → space-fighter}/components/ScoreBoard.d.ts +0 -0
- /package/lib/typescript/src/games/{space-traveller → space-fighter}/components/SettingsModal.d.ts +0 -0
- /package/lib/typescript/src/games/{space-traveller → space-fighter}/components/SpacecraftPath.d.ts +0 -0
- /package/lib/typescript/src/games/{space-traveller → whack-a-mole}/components/GameBackground.d.ts +0 -0
- /package/lib/typescript/src/games/{space-traveller → whack-a-mole}/components/GameOverModal.d.ts +0 -0
- /package/lib/typescript/src/games/{space-traveller → whack-a-mole}/components/ScoreBoard.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Asteroid, Spacecraft } from './
|
|
1
|
+
import type { Asteroid, Spacecraft } from './SpaceFighterService';
|
|
2
2
|
export interface GameState {
|
|
3
3
|
score: number;
|
|
4
4
|
timeLeft: number;
|
|
@@ -6,7 +6,7 @@ export interface GameState {
|
|
|
6
6
|
gameOver: boolean;
|
|
7
7
|
lives: number;
|
|
8
8
|
}
|
|
9
|
-
export interface
|
|
9
|
+
export interface SpaceFighterStore extends GameState {
|
|
10
10
|
asteroids: Asteroid[];
|
|
11
11
|
spacecraft: Spacecraft;
|
|
12
12
|
spacecraftPath: {
|
|
@@ -31,5 +31,13 @@ export interface SpaceTravellerStore extends GameState {
|
|
|
31
31
|
markAsteroidPassed: (pairId: string) => void;
|
|
32
32
|
loseLife: () => void;
|
|
33
33
|
}
|
|
34
|
-
export declare const
|
|
35
|
-
|
|
34
|
+
export declare const useSpaceFighterStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<SpaceFighterStore>, "subscribe"> & {
|
|
35
|
+
subscribe: {
|
|
36
|
+
(listener: (selectedState: SpaceFighterStore, previousSelectedState: SpaceFighterStore) => void): () => void;
|
|
37
|
+
<U>(selector: (state: SpaceFighterStore) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
|
|
38
|
+
equalityFn?: ((a: U, b: U) => boolean) | undefined;
|
|
39
|
+
fireImmediately?: boolean;
|
|
40
|
+
} | undefined): () => void;
|
|
41
|
+
};
|
|
42
|
+
}>;
|
|
43
|
+
//# sourceMappingURL=SpaceFighterStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpaceFighterStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/space-fighter/SpaceFighterStore.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAIlE,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,iBAAkB,SAAQ,SAAS;IAClD,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,UAAU,EAAE,UAAU,CAAC;IACvB,cAAc,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC3C,uBAAuB,EAAE,OAAO,CAAC;IAGjC,SAAS,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,KAAK,IAAI,CAAC;IAC9C,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC;IACzE,gBAAgB,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IACnD,iBAAiB,EAAE,CAAC,IAAI,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,KAAK,IAAI,CAAC;IAC9D,0BAA0B,EAAE,CAAC,aAAa,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7D,kBAAkB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAGD,eAAO,MAAM,oBAAoB;;;;;;;;EAqJ5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AsteroidComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/games/space-fighter/components/AsteroidComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAEvD,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAgH9D,CAAC;AAGF,eAAO,MAAM,aAAa,kCAAoB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type Asteroid, type Spacecraft, type Particle } from '../
|
|
2
|
+
import { type Asteroid, type Spacecraft, type Particle } from '../SpaceFighterService';
|
|
3
3
|
interface GameAreaProps {
|
|
4
4
|
asteroids: Asteroid[];
|
|
5
5
|
spacecraft: Spacecraft;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GameArea.d.ts","sourceRoot":"","sources":["../../../../../../src/games/space-fighter/components/GameArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,UAAU,EAAE,KAAK,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAMvF,UAAU,aAAa;IACrB,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,cAAc,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC3C,uBAAuB,EAAE,OAAO,CAAC;IACjC,mBAAmB,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,mBAAmB,EAAE,MAAM,IAAI,CAAC;CACjC;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAyC5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/space-fighter/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAwBzC,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgPxD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GameOverModal.d.ts","sourceRoot":"","sources":["../../../../../../src/games/space-fighter/components/GameOverModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,kBAAkB;IAC1B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA0CtD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ParticleComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/games/space-fighter/components/ParticleComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAEvD,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAyB9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/space-fighter/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,eAAe;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA4BhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SettingsModal.d.ts","sourceRoot":"","sources":["../../../../../../src/games/space-fighter/components/SettingsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,kBAAkB;IAC1B,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;CAC/B;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAwDtD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spacecraft3D.d.ts","sourceRoot":"","sources":["../../../../../../src/games/space-fighter/components/Spacecraft3D.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAsBzC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD,UAAU,iBAAiB;IACzB,UAAU,EAAE,UAAU,CAAC;IACvB,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAmbpD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpacecraftPath.d.ts","sourceRoot":"","sources":["../../../../../../src/games/space-fighter/components/SpacecraftPath.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,mBAAmB;IAC3B,IAAI,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAClC;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA0BxD,CAAC"}
|
|
@@ -4,7 +4,6 @@ export { Spacecraft3D } from './Spacecraft3D';
|
|
|
4
4
|
export { ParticleComponent } from './ParticleComponent';
|
|
5
5
|
export { SpacecraftPath } from './SpacecraftPath';
|
|
6
6
|
export { GameArea } from './GameArea';
|
|
7
|
-
export { GameControls } from './GameControls';
|
|
8
7
|
export { GameOverModal } from './GameOverModal';
|
|
9
8
|
export { SettingsModal } from './SettingsModal';
|
|
10
9
|
export { GameBackground } from './GameBackground';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/games/space-fighter/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type GameSettings as GameSettingsType } from '../../
|
|
3
|
-
interface
|
|
2
|
+
import { type GameSettings as GameSettingsType } from '../../shared/settings/SettingsService';
|
|
3
|
+
interface WhackAMoleProps {
|
|
4
4
|
settings?: GameSettingsType;
|
|
5
5
|
onSettingsChange?: (settings: GameSettingsType & {
|
|
6
6
|
gameDuration: number;
|
|
@@ -8,6 +8,6 @@ interface CatPopperProps {
|
|
|
8
8
|
showSettingsModal?: boolean;
|
|
9
9
|
onToggleSettingsModal?: () => void;
|
|
10
10
|
}
|
|
11
|
-
export declare const
|
|
11
|
+
export declare const WhackAMole: React.FC<WhackAMoleProps>;
|
|
12
12
|
export {};
|
|
13
|
-
//# sourceMappingURL=
|
|
13
|
+
//# sourceMappingURL=WhackAMole.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WhackAMole.d.ts","sourceRoot":"","sources":["../../../../../src/games/whack-a-mole/WhackAMole.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAS9D,OAAO,EAA2B,KAAK,YAAY,IAAI,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAGvH,UAAU,eAAe;IACvB,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,gBAAgB,GAAG;QAAE,YAAY,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACnF,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;CACpC;AAID,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA0QhD,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import type { GameSettingsTheme } from '../../shared/settings/GameSettings';
|
|
2
|
+
export declare const WHACK_A_MOLE_CONSTANTS: {
|
|
3
|
+
readonly moleSpawnInterval: {
|
|
4
|
+
readonly easy: 2000;
|
|
5
|
+
readonly medium: 1500;
|
|
6
|
+
readonly hard: 1000;
|
|
7
|
+
};
|
|
8
|
+
readonly moleAppearDuration: {
|
|
9
|
+
readonly easy: 2500;
|
|
10
|
+
readonly medium: 2000;
|
|
11
|
+
readonly hard: 1500;
|
|
12
|
+
};
|
|
13
|
+
readonly moleVisibleDuration: {
|
|
14
|
+
readonly easy: 2500;
|
|
15
|
+
readonly medium: 2000;
|
|
16
|
+
readonly hard: 1500;
|
|
17
|
+
};
|
|
18
|
+
readonly gridSize: {
|
|
19
|
+
readonly easy: 3;
|
|
20
|
+
readonly medium: 3;
|
|
21
|
+
readonly hard: 4;
|
|
22
|
+
};
|
|
23
|
+
readonly pointsPerMole: {
|
|
24
|
+
readonly easy: 10;
|
|
25
|
+
readonly medium: 15;
|
|
26
|
+
readonly hard: 20;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export declare const WHACK_A_MOLE_GAME_CONFIG: {
|
|
30
|
+
readonly GRID_SIZE: 3;
|
|
31
|
+
readonly HOLE_SIZE: number;
|
|
32
|
+
readonly MOLE_APPEAR_DURATION: 1500;
|
|
33
|
+
readonly MOLE_DISAPPEAR_DURATION: 500;
|
|
34
|
+
readonly GAME_DURATION: 60;
|
|
35
|
+
readonly INITIAL_SPAWN_DELAY: 1000;
|
|
36
|
+
readonly MAX_SPAWN_INTERVAL: 2000;
|
|
37
|
+
};
|
|
38
|
+
export declare const WHACK_A_MOLE_ANIMATION_CONFIG: {
|
|
39
|
+
readonly MOLE_SPRING: {
|
|
40
|
+
readonly damping: 15;
|
|
41
|
+
readonly stiffness: 200;
|
|
42
|
+
};
|
|
43
|
+
readonly HOLE_SPRING: {
|
|
44
|
+
readonly damping: 20;
|
|
45
|
+
readonly stiffness: 300;
|
|
46
|
+
};
|
|
47
|
+
readonly HIT_TIMING: {
|
|
48
|
+
readonly duration: 300;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
export declare const WHACK_A_MOLE_COLORS: {
|
|
52
|
+
readonly BACKGROUND: "#2E7D32";
|
|
53
|
+
readonly SCORE_BOARD: "#1B5E20";
|
|
54
|
+
readonly HOLE: "#3E2723";
|
|
55
|
+
readonly HOLE_BORDER: "#5D4037";
|
|
56
|
+
readonly HOLE_SHADOW: "#2E2E2E";
|
|
57
|
+
readonly MOLE_SHADOW: "rgba(0,0,0,0.3)";
|
|
58
|
+
readonly SCORE: "#FFEB3B";
|
|
59
|
+
readonly SCORE_TEXT: "#FFD700";
|
|
60
|
+
readonly TIMER_TEXT: "#FF5722";
|
|
61
|
+
readonly UI: "#4CAF50";
|
|
62
|
+
readonly BUTTON_ACTIVE: "#66BB6A";
|
|
63
|
+
readonly BUTTON_INACTIVE: "#A5D6A7";
|
|
64
|
+
readonly TEXT_PRIMARY: "#FFFFFF";
|
|
65
|
+
readonly TEXT_SECONDARY: "#E8F5E8";
|
|
66
|
+
readonly WHITE: "#FFFFFF";
|
|
67
|
+
readonly START_BUTTON: "#4CAF50";
|
|
68
|
+
readonly HIT_EFFECT_OUTER: "#FFD700";
|
|
69
|
+
readonly HIT_EFFECT_INNER: "#FFA500";
|
|
70
|
+
readonly GAME_OVER_OVERLAY: "rgba(0, 0, 0, 0.85)";
|
|
71
|
+
readonly BUTTON_BORDER: "#66BB6A";
|
|
72
|
+
};
|
|
73
|
+
export declare const WHACK_A_MOLE_THEME: GameSettingsTheme;
|
|
74
|
+
export declare const WHACK_A_MOLE_DIFFICULTY_DESCRIPTIONS: {
|
|
75
|
+
readonly easy: "Moles appear slower and stay longer";
|
|
76
|
+
readonly medium: "Balanced gameplay";
|
|
77
|
+
readonly hard: "Fast moles, quick reflexes needed!";
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=WhackAMoleConstants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WhackAMoleConstants.d.ts","sourceRoot":"","sources":["../../../../../src/games/whack-a-mole/WhackAMoleConstants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAK5E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BzB,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;CAQ3B,CAAC;AAEX,eAAO,MAAM,6BAA6B;;;;;;;;;;;;CAYhC,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;CAqBtB,CAAC;AAGX,eAAO,MAAM,kBAAkB,EAAE,iBAgBhC,CAAC;AAGF,eAAO,MAAM,oCAAoC;;;;CAIvC,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { SharedValue } from 'react-native-reanimated';
|
|
2
|
+
import { WHACK_A_MOLE_GAME_CONFIG as GAME_CONFIG, WHACK_A_MOLE_ANIMATION_CONFIG as ANIMATION_CONFIG, WHACK_A_MOLE_COLORS as COLORS } from './WhackAMoleConstants';
|
|
3
|
+
export { GAME_CONFIG, ANIMATION_CONFIG, COLORS };
|
|
4
|
+
export interface Hole {
|
|
5
|
+
id: number;
|
|
6
|
+
isActive: boolean;
|
|
7
|
+
position: {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
z: number;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export declare class WhackAMoleService {
|
|
14
|
+
private moleAnimations;
|
|
15
|
+
private hitAnimations;
|
|
16
|
+
private gameTimerRef;
|
|
17
|
+
private moleTimerRef;
|
|
18
|
+
private activeMoleTimers;
|
|
19
|
+
constructor(moleAnimations: SharedValue<number>[], hitAnimations: SharedValue<number>[]);
|
|
20
|
+
private fastRandom;
|
|
21
|
+
private selectRandomHole;
|
|
22
|
+
startGameTimer(onTick: () => void): void;
|
|
23
|
+
startMoleSpawning(spawnMole: () => void, customSpawnInterval?: number): void;
|
|
24
|
+
spawnRandomMole(availableHoles: number[], onMoleSpawned: (holeId: number) => void, onMoleHidden: (holeId: number) => void, customVisibleDuration?: number): void;
|
|
25
|
+
whackMole(holeId: number, onWhacked: () => void): void;
|
|
26
|
+
resetAnimations(): void;
|
|
27
|
+
cleanup(): void;
|
|
28
|
+
private clearGameTimer;
|
|
29
|
+
private clearMoleTimer;
|
|
30
|
+
private clearAllMoleHideTimeouts;
|
|
31
|
+
}
|
|
32
|
+
export declare const createWhackAMoleService: (moleAnimations: SharedValue<number>[], hitAnimations: SharedValue<number>[]) => WhackAMoleService;
|
|
33
|
+
//# sourceMappingURL=WhackAMoleService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WhackAMoleService.d.ts","sourceRoot":"","sources":["../../../../../src/games/whack-a-mole/WhackAMoleService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EACL,wBAAwB,IAAI,WAAW,EACvC,6BAA6B,IAAI,gBAAgB,EACjD,mBAAmB,IAAI,MAAM,EAC9B,MAAM,uBAAuB,CAAC;AAI/B,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,EAAE,CAAC;AAGjD,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC/C;AAED,qBAAa,iBAAiB;IAO1B,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,aAAa;IAPvB,OAAO,CAAC,YAAY,CAA+B;IACnD,OAAO,CAAC,YAAY,CAA+B;IAEnD,OAAO,CAAC,gBAAgB,CAAqC;gBAGnD,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,EAAE,EACrC,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,EAAE;IAI9C,OAAO,CAAC,UAAU;IAKlB,OAAO,CAAC,gBAAgB;IAQxB,cAAc,CAAC,MAAM,EAAE,MAAM,IAAI;IAKjC,iBAAiB,CAAC,SAAS,EAAE,MAAM,IAAI,EAAE,mBAAmB,CAAC,EAAE,MAAM;IAgBrE,eAAe,CACb,cAAc,EAAE,MAAM,EAAE,EACxB,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,EACvC,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,EACtC,qBAAqB,CAAC,EAAE,MAAM;IA4BhC,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,IAAI;IAY/C,eAAe;IAUf,OAAO;IAMP,OAAO,CAAC,cAAc;IAOtB,OAAO,CAAC,cAAc;IAOtB,OAAO,CAAC,wBAAwB;CAKjC;AAED,eAAO,MAAM,uBAAuB,GAAI,gBAAgB,WAAW,CAAC,MAAM,CAAC,EAAE,EAAE,eAAe,WAAW,CAAC,MAAM,CAAC,EAAE,sBAElH,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { Hole } from './WhackAMoleService';
|
|
2
|
+
export interface GameState {
|
|
3
|
+
score: number;
|
|
4
|
+
timeLeft: number;
|
|
5
|
+
isPlaying: boolean;
|
|
6
|
+
gameOver: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface WhackAMoleStore extends GameState {
|
|
9
|
+
holes: Hole[];
|
|
10
|
+
startGame: (gameDuration?: number, gridSize?: number) => void;
|
|
11
|
+
stopGame: () => void;
|
|
12
|
+
resetGame: () => void;
|
|
13
|
+
whackMole: (holeId: number, points?: number) => void;
|
|
14
|
+
updateScore: (points: number) => void;
|
|
15
|
+
decrementTime: () => void;
|
|
16
|
+
setHoles: (holes: Hole[]) => void;
|
|
17
|
+
activateHole: (holeId: number) => void;
|
|
18
|
+
deactivateHole: (holeId: number) => void;
|
|
19
|
+
batchUpdateHoles: (updates: Array<{
|
|
20
|
+
holeId: number;
|
|
21
|
+
isActive: boolean;
|
|
22
|
+
}>) => void;
|
|
23
|
+
}
|
|
24
|
+
export declare const useWhackAMoleStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<WhackAMoleStore>, "subscribe"> & {
|
|
25
|
+
subscribe: {
|
|
26
|
+
(listener: (selectedState: WhackAMoleStore, previousSelectedState: WhackAMoleStore) => void): () => void;
|
|
27
|
+
<U>(selector: (state: WhackAMoleStore) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
|
|
28
|
+
equalityFn?: ((a: U, b: U) => boolean) | undefined;
|
|
29
|
+
fireImmediately?: boolean;
|
|
30
|
+
} | undefined): () => void;
|
|
31
|
+
};
|
|
32
|
+
}>;
|
|
33
|
+
export declare const useGameState: () => {
|
|
34
|
+
isPlaying: boolean;
|
|
35
|
+
gameOver: boolean;
|
|
36
|
+
};
|
|
37
|
+
export declare const useScore: () => number;
|
|
38
|
+
export declare const useTimeLeft: () => number;
|
|
39
|
+
export declare const useActiveHoles: () => Hole[];
|
|
40
|
+
export declare const useHoleById: (holeId: number) => Hole | undefined;
|
|
41
|
+
//# sourceMappingURL=WhackAMoleStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WhackAMoleStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/whack-a-mole/WhackAMoleStore.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAIhD,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,KAAK,EAAE,IAAI,EAAE,CAAC;IAGd,SAAS,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9D,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IAClC,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,gBAAgB,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,CAAC,KAAK,IAAI,CAAC;CACnF;AAgBD,eAAO,MAAM,kBAAkB;;;;;;;;EA0I9B,CAAC;AAGF,eAAO,MAAM,YAAY;;;CAGtB,CAAC;AAEJ,eAAO,MAAM,QAAQ,cAAiD,CAAC;AACvE,eAAO,MAAM,WAAW,cAAoD,CAAC;AAC7E,eAAO,MAAM,cAAc,cAE1B,CAAC;AACF,eAAO,MAAM,WAAW,GAAI,QAAQ,MAAM,qBAEzC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/whack-a-mole/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAuVvD,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type SharedValue } from 'react-native-reanimated';
|
|
3
|
-
import type { Hole } from '../
|
|
3
|
+
import type { Hole } from '../WhackAMoleService';
|
|
4
4
|
interface GameGridProps {
|
|
5
5
|
holes: Hole[];
|
|
6
|
-
|
|
6
|
+
moleAnimations: SharedValue<number>[];
|
|
7
7
|
hitAnimations: SharedValue<number>[];
|
|
8
8
|
onHolePress: (holeId: number) => void;
|
|
9
9
|
gridSize?: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GameGrid.d.ts","sourceRoot":"","sources":["../../../../../../src/games/whack-a-mole/components/GameGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAiBjD,UAAU,aAAa;IACrB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,EAAE,CAAC;IACtC,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,EAAE,CAAC;IACrC,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA+D3C,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type SharedValue } from 'react-native-reanimated';
|
|
3
|
-
import { type Hole } from '../
|
|
3
|
+
import { type Hole } from '../WhackAMoleService';
|
|
4
4
|
interface GameHoleProps {
|
|
5
5
|
hole: Hole;
|
|
6
|
-
|
|
6
|
+
moleAnimation: SharedValue<number>;
|
|
7
7
|
hitAnimation: SharedValue<number>;
|
|
8
8
|
onPress: (holeId: number) => void;
|
|
9
|
+
holeSize?: number;
|
|
9
10
|
}
|
|
10
11
|
export declare const GameHole: React.FC<GameHoleProps>;
|
|
11
12
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GameHole.d.ts","sourceRoot":"","sources":["../../../../../../src/games/whack-a-mole/components/GameHole.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAiB,EAQf,KAAK,WAAW,EACjB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,KAAK,IAAI,EAAuB,MAAM,sBAAsB,CAAC;AAGtE,UAAU,aAAa;IACrB,IAAI,EAAE,IAAI,CAAC;IACX,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,YAAY,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAClC,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA2I3C,CAAC"}
|
package/lib/typescript/src/games/{fruit-slicer → whack-a-mole}/components/GameOverModal.d.ts.map
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GameOverModal.d.ts","sourceRoot":"","sources":["../../../../../../src/games/
|
|
1
|
+
{"version":3,"file":"GameOverModal.d.ts","sourceRoot":"","sources":["../../../../../../src/games/whack-a-mole/components/GameOverModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,kBAAkB;IAC1B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA0BrD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MoleCharacter.d.ts","sourceRoot":"","sources":["../../../../../../src/games/whack-a-mole/components/MoleCharacter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,kBAAkB;IAC1B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA8CrD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/whack-a-mole/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,eAAe;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAa/C,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export { ScoreBoard } from './ScoreBoard';
|
|
2
2
|
export { GameHole } from './GameHole';
|
|
3
3
|
export { GameGrid } from './GameGrid';
|
|
4
|
-
export { GameControls } from './GameControls';
|
|
5
4
|
export { GameOverModal } from './GameOverModal';
|
|
6
|
-
export {
|
|
5
|
+
export { MoleCharacter } from './MoleCharacter';
|
|
7
6
|
export { GameBackground } from './GameBackground';
|
|
8
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/games/whack-a-mole/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export * from './games/balloon-blaster/BalloonBlaster';
|
|
2
|
-
export * from './games/
|
|
2
|
+
export * from './games/popit-fidget/PopitFidget';
|
|
3
|
+
export * from './games/whack-a-mole/WhackAMole';
|
|
4
|
+
export * from './games/fruit-ninja/FruitNinja';
|
|
3
5
|
export * from './games/maze-runner/MazeRunner';
|
|
4
|
-
export * from './games/space-
|
|
5
|
-
export * from './games/cat-popper/CatPopper';
|
|
6
|
+
export * from './games/space-fighter/SpaceFighter';
|
|
6
7
|
export * from './services/GamesService';
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AACA,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AACA,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AAGnD,cAAc,yBAAyB,CAAC"}
|