react-native-games 0.3.0 → 0.5.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 +134 -130
- package/lib/module/games/balloon-blaster/BalloonBlaster.js +116 -343
- package/lib/module/games/balloon-blaster/BalloonBlaster.js.map +1 -1
- package/lib/module/games/balloon-blaster/BalloonBlasterConstants.js +182 -0
- package/lib/module/games/balloon-blaster/BalloonBlasterConstants.js.map +1 -0
- package/lib/module/games/balloon-blaster/BalloonBlasterService.js +123 -101
- package/lib/module/games/balloon-blaster/BalloonBlasterService.js.map +1 -1
- package/lib/module/games/balloon-blaster/BalloonBlasterStore.js +119 -92
- package/lib/module/games/balloon-blaster/BalloonBlasterStore.js.map +1 -1
- package/lib/module/games/balloon-blaster/components/BalloonComponent.js +123 -113
- package/lib/module/games/balloon-blaster/components/BalloonComponent.js.map +1 -1
- package/lib/module/games/balloon-blaster/components/GameArea.js +137 -23
- 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/ScoreBoard.js +15 -22
- package/lib/module/games/balloon-blaster/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/balloon-blaster/components/index.js +0 -4
- package/lib/module/games/balloon-blaster/components/index.js.map +1 -1
- package/lib/module/games/fruit-ninja/FruitNinja.js +143 -0
- package/lib/module/games/fruit-ninja/FruitNinja.js.map +1 -0
- package/lib/module/games/fruit-ninja/FruitNinjaConstants.js +148 -0
- package/lib/module/games/fruit-ninja/FruitNinjaConstants.js.map +1 -0
- package/lib/module/games/{fruit-slicer/FruitSlicerService.js → fruit-ninja/FruitNinjaService.js} +43 -21
- package/lib/module/games/fruit-ninja/FruitNinjaService.js.map +1 -0
- package/lib/module/games/fruit-ninja/FruitNinjaStore.js +191 -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 +215 -0
- package/lib/module/games/fruit-ninja/components/GameArea.js.map +1 -0
- package/lib/module/games/{fruit-slicer → fruit-ninja}/components/GameBackground.js +250 -304
- package/lib/module/games/fruit-ninja/components/GameBackground.js.map +1 -0
- package/lib/module/games/{fruit-slicer → fruit-ninja}/components/ScoreBoard.js +17 -47
- package/lib/module/games/fruit-ninja/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/fruit-ninja/components/index.js +7 -0
- package/lib/module/games/fruit-ninja/components/index.js.map +1 -0
- package/lib/module/games/maze-runner/MazeRunner.js +184 -169
- package/lib/module/games/maze-runner/MazeRunner.js.map +1 -1
- package/lib/module/games/maze-runner/MazeRunnerConstants.js +100 -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/EnhancedBallComponent.js +5 -4
- package/lib/module/games/maze-runner/components/EnhancedBallComponent.js.map +1 -1
- package/lib/module/games/maze-runner/components/EnhancedGameArea.js +20 -15
- 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 +15 -25
- package/lib/module/games/maze-runner/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/maze-runner/components/WallComponent.js +3 -2
- package/lib/module/games/maze-runner/components/WallComponent.js.map +1 -1
- package/lib/module/games/maze-runner/components/index.js +0 -2
- package/lib/module/games/maze-runner/components/index.js.map +1 -1
- package/lib/module/games/popit-fidget/PopitFidget.js +294 -0
- package/lib/module/games/popit-fidget/PopitFidget.js.map +1 -0
- package/lib/module/games/popit-fidget/PopitFidgetConstants.js +113 -0
- package/lib/module/games/popit-fidget/PopitFidgetConstants.js.map +1 -0
- package/lib/module/games/popit-fidget/PopitFidgetService.js +132 -0
- package/lib/module/games/popit-fidget/PopitFidgetService.js.map +1 -0
- package/lib/module/games/popit-fidget/PopitFidgetStore.js +163 -0
- package/lib/module/games/popit-fidget/PopitFidgetStore.js.map +1 -0
- package/lib/module/games/popit-fidget/components/BubbleComponent.js +198 -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 +177 -0
- package/lib/module/games/popit-fidget/components/GameBackground.js.map +1 -0
- package/lib/module/games/popit-fidget/components/ScoreBoard.js +75 -0
- package/lib/module/games/popit-fidget/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/popit-fidget/components/index.js +7 -0
- package/lib/module/games/popit-fidget/components/index.js.map +1 -0
- package/lib/module/games/space-fighter/SpaceFighter.js +169 -0
- package/lib/module/games/space-fighter/SpaceFighter.js.map +1 -0
- package/lib/module/games/space-fighter/SpaceFighterConstants.js +108 -0
- package/lib/module/games/space-fighter/SpaceFighterConstants.js.map +1 -0
- package/lib/module/games/{space-traveller/SpaceTravellerService.js → space-fighter/SpaceFighterService.js} +48 -21
- package/lib/module/games/space-fighter/SpaceFighterService.js.map +1 -0
- package/lib/module/games/space-fighter/SpaceFighterStore.js +195 -0
- package/lib/module/games/space-fighter/SpaceFighterStore.js.map +1 -0
- package/lib/module/games/{space-traveller → space-fighter}/components/AsteroidComponent.js +7 -5
- package/lib/module/games/space-fighter/components/AsteroidComponent.js.map +1 -0
- package/lib/module/games/space-fighter/components/GameArea.js +295 -0
- package/lib/module/games/space-fighter/components/GameArea.js.map +1 -0
- package/lib/module/games/{space-traveller → space-fighter}/components/GameBackground.js +10 -65
- package/lib/module/games/space-fighter/components/GameBackground.js.map +1 -0
- package/lib/module/games/{space-traveller → space-fighter}/components/ScoreBoard.js +20 -26
- package/lib/module/games/space-fighter/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/{space-traveller → space-fighter}/components/Spacecraft3D.js +72 -111
- package/lib/module/games/space-fighter/components/Spacecraft3D.js.map +1 -0
- package/lib/module/games/space-fighter/components/SpacecraftPath.js +52 -0
- package/lib/module/games/space-fighter/components/SpacecraftPath.js.map +1 -0
- package/lib/module/games/{space-traveller → space-fighter}/components/index.js +0 -4
- package/lib/module/games/space-fighter/components/index.js.map +1 -0
- package/lib/module/games/whack-a-mole/WhackAMole.js +263 -0
- package/lib/module/games/whack-a-mole/WhackAMole.js.map +1 -0
- package/lib/module/games/whack-a-mole/WhackAMoleConstants.js +115 -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 +172 -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/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 +13 -17
- 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 -3
- 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 +41 -519
- package/lib/module/services/GamesConstants.js.map +1 -1
- package/lib/module/services/GamesService.js +35 -23
- 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/shared/helpers/AnimationFrame.js +120 -0
- package/lib/module/shared/helpers/AnimationFrame.js.map +1 -0
- package/lib/module/shared/helpers/AnimationTracker.js +89 -0
- package/lib/module/shared/helpers/AnimationTracker.js.map +1 -0
- package/lib/module/shared/helpers/ErrorHandler.js +269 -0
- package/lib/module/shared/helpers/ErrorHandler.js.map +1 -0
- package/lib/module/shared/helpers/GameControlButton.js +219 -0
- package/lib/module/shared/helpers/GameControlButton.js.map +1 -0
- package/lib/module/{games/balloon-blaster/components → shared/helpers}/GameOverModal.js +25 -17
- package/lib/module/shared/helpers/GameOverModal.js.map +1 -0
- package/lib/module/shared/helpers/GameSettingsModal.js +287 -0
- package/lib/module/shared/helpers/GameSettingsModal.js.map +1 -0
- package/lib/module/shared/helpers/ParticleBlast.js +133 -0
- package/lib/module/shared/helpers/ParticleBlast.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 +12 -0
- package/lib/module/shared/helpers/index.js.map +1 -0
- package/lib/typescript/src/games/balloon-blaster/BalloonBlaster.d.ts +2 -14
- package/lib/typescript/src/games/balloon-blaster/BalloonBlaster.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterConstants.d.ts +144 -0
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterService.d.ts +1 -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 +1 -15
- 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/ScoreBoard.d.ts +1 -7
- 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 -4
- package/lib/typescript/src/games/balloon-blaster/components/index.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-ninja/FruitNinja.d.ts +4 -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} +13 -5
- 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} +13 -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-ninja/components/GameArea.d.ts +3 -0
- 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/ScoreBoard.d.ts +3 -0
- package/lib/typescript/src/games/fruit-ninja/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/fruit-ninja/components/index.d.ts +5 -0
- package/lib/typescript/src/games/fruit-ninja/components/index.d.ts.map +1 -0
- package/lib/typescript/src/games/maze-runner/MazeRunner.d.ts +2 -16
- 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/EnhancedBallComponent.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/WallComponent.d.ts.map +1 -1
- package/lib/typescript/src/games/maze-runner/components/index.d.ts +0 -2
- package/lib/typescript/src/games/maze-runner/components/index.d.ts.map +1 -1
- package/lib/typescript/src/games/popit-fidget/PopitFidget.d.ts +5 -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 +33 -0
- package/lib/typescript/src/games/popit-fidget/PopitFidgetService.d.ts.map +1 -0
- package/lib/typescript/src/games/popit-fidget/PopitFidgetStore.d.ts +36 -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/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 +5 -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 +4 -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-fighter/components/AsteroidComponent.d.ts +8 -0
- package/lib/typescript/src/games/space-fighter/components/AsteroidComponent.d.ts.map +1 -0
- package/lib/typescript/src/games/space-fighter/components/GameArea.d.ts +3 -0
- 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/ScoreBoard.d.ts +3 -0
- package/lib/typescript/src/games/space-fighter/components/ScoreBoard.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 -4
- package/lib/typescript/src/games/space-fighter/components/index.d.ts.map +1 -0
- package/lib/typescript/src/games/whack-a-mole/WhackAMole.d.ts +4 -0
- 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/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/whack-a-mole/components/index.d.ts +6 -0
- 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 +61 -340
- package/lib/typescript/src/services/GamesConstants.d.ts.map +1 -1
- package/lib/typescript/src/services/GamesService.d.ts +21 -3
- 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/AnimationFrame.d.ts +41 -0
- package/lib/typescript/src/shared/helpers/AnimationFrame.d.ts.map +1 -0
- package/lib/typescript/src/shared/helpers/AnimationTracker.d.ts +45 -0
- package/lib/typescript/src/shared/helpers/AnimationTracker.d.ts.map +1 -0
- package/lib/typescript/src/shared/helpers/ErrorHandler.d.ts +124 -0
- package/lib/typescript/src/shared/helpers/ErrorHandler.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/{games/cat-popper/components → shared/helpers}/GameOverModal.d.ts +5 -0
- package/lib/typescript/src/shared/helpers/GameOverModal.d.ts.map +1 -0
- package/lib/typescript/src/shared/helpers/GameSettingsModal.d.ts +9 -0
- package/lib/typescript/src/shared/helpers/GameSettingsModal.d.ts.map +1 -0
- package/lib/typescript/src/shared/helpers/ParticleBlast.d.ts +12 -0
- package/lib/typescript/src/shared/helpers/ParticleBlast.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 +13 -0
- package/lib/typescript/src/shared/helpers/index.d.ts.map +1 -0
- package/package.json +9 -6
- package/lib/module/games/balloon-blaster/components/GameControls.js +0 -229
- package/lib/module/games/balloon-blaster/components/GameControls.js.map +0 -1
- package/lib/module/games/balloon-blaster/components/GameOverModal.js.map +0 -1
- package/lib/module/games/balloon-blaster/components/ParticleSystem.js +0 -52
- package/lib/module/games/balloon-blaster/components/ParticleSystem.js.map +0 -1
- package/lib/module/games/balloon-blaster/components/SliceTrail.js +0 -58
- package/lib/module/games/balloon-blaster/components/SliceTrail.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 +0 -131
- 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 +0 -411
- 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 +0 -50
- 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 +0 -189
- package/lib/module/games/fruit-slicer/components/GameOverModal.js.map +0 -1
- package/lib/module/games/fruit-slicer/components/ParticleSystem.js +0 -52
- 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 +0 -58
- package/lib/module/games/fruit-slicer/components/SliceTrail.js.map +0 -1
- package/lib/module/games/fruit-slicer/components/index.js +0 -11
- 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/maze-runner/components/GameOverModal.js +0 -134
- package/lib/module/games/maze-runner/components/GameOverModal.js.map +0 -1
- package/lib/module/games/space-traveller/SpaceTraveller.js +0 -393
- 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 +0 -75
- 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 +0 -182
- package/lib/module/games/space-traveller/components/GameOverModal.js.map +0 -1
- package/lib/module/games/space-traveller/components/ParticleComponent.js +0 -34
- 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 +0 -222
- 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 +0 -37
- 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/module/shared/settings/GameSettings.js +0 -295
- package/lib/module/shared/settings/GameSettings.js.map +0 -1
- package/lib/module/shared/settings/SettingsService.js +0 -119
- package/lib/module/shared/settings/SettingsService.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/balloon-blaster/components/GameOverModal.d.ts +0 -9
- package/lib/typescript/src/games/balloon-blaster/components/GameOverModal.d.ts.map +0 -1
- package/lib/typescript/src/games/balloon-blaster/components/ParticleSystem.d.ts +0 -8
- package/lib/typescript/src/games/balloon-blaster/components/ParticleSystem.d.ts.map +0 -1
- package/lib/typescript/src/games/balloon-blaster/components/SliceTrail.d.ts +0 -11
- package/lib/typescript/src/games/balloon-blaster/components/SliceTrail.d.ts.map +0 -1
- package/lib/typescript/src/games/cat-popper/CatPopper.d.ts +0 -13
- 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 +0 -8
- 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 +0 -17
- 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/GameOverModal.d.ts +0 -9
- package/lib/typescript/src/games/fruit-slicer/components/GameOverModal.d.ts.map +0 -1
- package/lib/typescript/src/games/fruit-slicer/components/ParticleSystem.d.ts +0 -8
- 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 +0 -9
- 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 +0 -11
- 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 +0 -9
- 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/maze-runner/components/GameOverModal.d.ts +0 -11
- package/lib/typescript/src/games/maze-runner/components/GameOverModal.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 +0 -9
- 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 +0 -17
- 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 +0 -9
- 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 +0 -8
- 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 +0 -8
- 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 +0 -9
- 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/typescript/src/shared/settings/GameSettings.d.ts +0 -36
- package/lib/typescript/src/shared/settings/GameSettings.d.ts.map +0 -1
- package/lib/typescript/src/shared/settings/SettingsService.d.ts +0 -32
- package/lib/typescript/src/shared/settings/SettingsService.d.ts.map +0 -1
- /package/lib/typescript/src/games/{cat-popper → fruit-ninja}/components/GameBackground.d.ts +0 -0
- /package/lib/typescript/src/games/{fruit-slicer → space-fighter}/components/GameBackground.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/{cat-popper → whack-a-mole}/components/ScoreBoard.d.ts +0 -0
|
@@ -1,42 +1,57 @@
|
|
|
1
|
-
|
|
1
|
+
export interface GameSettingsTheme {
|
|
2
|
+
backgroundColor: string;
|
|
3
|
+
headerBackgroundColor: string;
|
|
4
|
+
headerTextColor: string;
|
|
5
|
+
sectionBackgroundColor: string;
|
|
6
|
+
sectionTitleColor: string;
|
|
7
|
+
buttonSelectedColor: string;
|
|
8
|
+
buttonUnselectedColor: string;
|
|
9
|
+
buttonSelectedTextColor: string;
|
|
10
|
+
buttonUnselectedTextColor: string;
|
|
11
|
+
switchTrackColorFalse: string;
|
|
12
|
+
switchTrackColorTrue: string;
|
|
13
|
+
switchThumbColor: string;
|
|
14
|
+
infoTextColor: string;
|
|
15
|
+
}
|
|
2
16
|
export declare const GAME_THEMES: {
|
|
3
17
|
readonly balloonBlaster: GameSettingsTheme;
|
|
4
|
-
readonly
|
|
18
|
+
readonly fruitNinja: GameSettingsTheme;
|
|
5
19
|
readonly mazeRunner: GameSettingsTheme;
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
20
|
+
readonly whackAMole: GameSettingsTheme;
|
|
21
|
+
readonly spaceFighter: GameSettingsTheme;
|
|
22
|
+
readonly popitFidget: GameSettingsTheme;
|
|
8
23
|
};
|
|
9
24
|
export declare const GAME_DIFFICULTY_DESCRIPTIONS: {
|
|
10
25
|
readonly balloonBlaster: {
|
|
11
|
-
readonly easy: "
|
|
12
|
-
readonly medium: "
|
|
13
|
-
readonly hard: "
|
|
26
|
+
readonly easy: "Balloons spawn slower, more forgiving";
|
|
27
|
+
readonly medium: "Balanced gameplay and balloon speed";
|
|
28
|
+
readonly hard: "Fast balloons, quick reflexes needed!";
|
|
14
29
|
};
|
|
15
|
-
readonly
|
|
16
|
-
readonly easy: "
|
|
17
|
-
readonly medium: "
|
|
18
|
-
readonly hard: "
|
|
30
|
+
readonly fruitNinja: {
|
|
31
|
+
readonly easy: "Fruits spawn slower, more forgiving";
|
|
32
|
+
readonly medium: "Balanced gameplay and fruit speed";
|
|
33
|
+
readonly hard: "Fast fruits, quick reflexes needed!";
|
|
19
34
|
};
|
|
20
35
|
readonly mazeRunner: {
|
|
21
|
-
readonly easy: "
|
|
22
|
-
readonly medium: "
|
|
23
|
-
readonly hard: "
|
|
36
|
+
readonly easy: "Small maze, more forgiving maze";
|
|
37
|
+
readonly medium: "Balanced maze, balanced challenge";
|
|
38
|
+
readonly hard: "Complex maze, maximum challenge!";
|
|
24
39
|
};
|
|
25
|
-
readonly
|
|
26
|
-
readonly easy: "
|
|
27
|
-
readonly medium: "
|
|
28
|
-
readonly hard: "
|
|
40
|
+
readonly whackAMole: {
|
|
41
|
+
readonly easy: "Moles appear slower and stay longer";
|
|
42
|
+
readonly medium: "Balanced mole speed and timing";
|
|
43
|
+
readonly hard: "Fast moles, quick reflexes needed!";
|
|
29
44
|
};
|
|
30
|
-
readonly
|
|
31
|
-
readonly easy: "
|
|
32
|
-
readonly medium: "
|
|
33
|
-
readonly hard: "
|
|
45
|
+
readonly spaceFighter: {
|
|
46
|
+
readonly easy: "Slow asteroids, relaxed gameplay";
|
|
47
|
+
readonly medium: "Normal asteroid speed, balanced challenge";
|
|
48
|
+
readonly hard: "Fast asteroids, quick reflexes needed!";
|
|
49
|
+
};
|
|
50
|
+
readonly popitFidget: {
|
|
51
|
+
readonly easy: "Smaller fidget grids, relaxing pace";
|
|
52
|
+
readonly medium: "Medium grids, satisfying pops";
|
|
53
|
+
readonly hard: "Large complex shapes, ultimate satisfaction!";
|
|
34
54
|
};
|
|
35
|
-
};
|
|
36
|
-
export declare const GAME_DURATIONS: {
|
|
37
|
-
readonly EASY: 60;
|
|
38
|
-
readonly MEDIUM: 120;
|
|
39
|
-
readonly HARD: 180;
|
|
40
55
|
};
|
|
41
56
|
export declare const DIFFICULTY_LEVELS: readonly ["easy", "medium", "hard"];
|
|
42
57
|
export type DifficultyLevel = typeof DIFFICULTY_LEVELS[number];
|
|
@@ -50,323 +65,29 @@ export declare const GAME_NAMES: {
|
|
|
50
65
|
export type GameName = typeof GAME_NAMES[keyof typeof GAME_NAMES];
|
|
51
66
|
export declare const getGameTheme: (gameId: string) => GameSettingsTheme;
|
|
52
67
|
export declare const getGameDifficultyDescriptions: (gameId: string) => {
|
|
53
|
-
readonly easy: "
|
|
54
|
-
readonly medium: "
|
|
55
|
-
readonly hard: "
|
|
68
|
+
readonly easy: "Fruits spawn slower, more forgiving";
|
|
69
|
+
readonly medium: "Balanced gameplay and fruit speed";
|
|
70
|
+
readonly hard: "Fast fruits, quick reflexes needed!";
|
|
56
71
|
} | {
|
|
57
|
-
readonly easy: "
|
|
58
|
-
readonly medium: "
|
|
59
|
-
readonly hard: "
|
|
72
|
+
readonly easy: "Small maze, more forgiving maze";
|
|
73
|
+
readonly medium: "Balanced maze, balanced challenge";
|
|
74
|
+
readonly hard: "Complex maze, maximum challenge!";
|
|
60
75
|
} | {
|
|
61
|
-
readonly easy: "
|
|
62
|
-
readonly medium: "
|
|
63
|
-
readonly hard: "
|
|
76
|
+
readonly easy: "Moles appear slower and stay longer";
|
|
77
|
+
readonly medium: "Balanced mole speed and timing";
|
|
78
|
+
readonly hard: "Fast moles, quick reflexes needed!";
|
|
64
79
|
} | {
|
|
65
|
-
readonly easy: "
|
|
66
|
-
readonly medium: "
|
|
67
|
-
readonly hard: "
|
|
80
|
+
readonly easy: "Slow asteroids, relaxed gameplay";
|
|
81
|
+
readonly medium: "Normal asteroid speed, balanced challenge";
|
|
82
|
+
readonly hard: "Fast asteroids, quick reflexes needed!";
|
|
68
83
|
} | {
|
|
69
|
-
readonly easy: "
|
|
70
|
-
readonly medium: "
|
|
71
|
-
readonly hard: "
|
|
84
|
+
readonly easy: "Smaller fidget grids, relaxing pace";
|
|
85
|
+
readonly medium: "Medium grids, satisfying pops";
|
|
86
|
+
readonly hard: "Large complex shapes, ultimate satisfaction!";
|
|
87
|
+
} | {
|
|
88
|
+
readonly easy: "Balloons spawn slower, more forgiving";
|
|
89
|
+
readonly medium: "Balanced gameplay and balloon speed";
|
|
90
|
+
readonly hard: "Fast balloons, quick reflexes needed!";
|
|
72
91
|
};
|
|
73
92
|
export declare const getGameTitle: (gameId: string) => string;
|
|
74
|
-
export declare const CAT_POPPER_CONSTANTS: {
|
|
75
|
-
readonly catSpawnInterval: {
|
|
76
|
-
readonly easy: 2000;
|
|
77
|
-
readonly medium: 1500;
|
|
78
|
-
readonly hard: 1000;
|
|
79
|
-
};
|
|
80
|
-
readonly catVisibleDuration: {
|
|
81
|
-
readonly easy: 2500;
|
|
82
|
-
readonly medium: 2000;
|
|
83
|
-
readonly hard: 1500;
|
|
84
|
-
};
|
|
85
|
-
readonly gridSize: {
|
|
86
|
-
readonly easy: 3;
|
|
87
|
-
readonly medium: 3;
|
|
88
|
-
readonly hard: 4;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
export declare const CAT_POPPER_GAME_CONFIG: {
|
|
92
|
-
readonly GRID_SIZE: 3;
|
|
93
|
-
readonly HOLE_SIZE: number;
|
|
94
|
-
readonly CAT_APPEAR_DURATION: 1500;
|
|
95
|
-
readonly GAME_DURATION: 60;
|
|
96
|
-
readonly MIN_SPAWN_INTERVAL: 500;
|
|
97
|
-
readonly MAX_SPAWN_INTERVAL: 1500;
|
|
98
|
-
readonly INITIAL_SPAWN_DELAY: 1000;
|
|
99
|
-
};
|
|
100
|
-
export declare const CAT_POPPER_ANIMATION_CONFIG: {
|
|
101
|
-
readonly CAT_SPRING: {
|
|
102
|
-
readonly damping: 15;
|
|
103
|
-
readonly stiffness: 200;
|
|
104
|
-
};
|
|
105
|
-
readonly HIT_TIMING: {
|
|
106
|
-
readonly duration: 200;
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
export declare const CAT_POPPER_COLORS: {
|
|
110
|
-
readonly BACKGROUND: "#2E7D32";
|
|
111
|
-
readonly SCORE_BOARD: "#1B5E20";
|
|
112
|
-
readonly HOLE: "#3E2723";
|
|
113
|
-
readonly HOLE_BORDER: "#5D4037";
|
|
114
|
-
readonly SCORE_TEXT: "#FFD700";
|
|
115
|
-
readonly TIMER_TEXT: "#FF5722";
|
|
116
|
-
readonly WHITE: "#FFFFFF";
|
|
117
|
-
readonly START_BUTTON: "#4CAF50";
|
|
118
|
-
readonly HIT_EFFECT_OUTER: "#FFD700";
|
|
119
|
-
readonly HIT_EFFECT_INNER: "#FFA500";
|
|
120
|
-
readonly GAME_OVER_OVERLAY: "rgba(0, 0, 0, 0.85)";
|
|
121
|
-
readonly BUTTON_BORDER: "#66BB6A";
|
|
122
|
-
};
|
|
123
|
-
export declare const FRUIT_SLICER_GAME_CONFIG: {
|
|
124
|
-
readonly GAME_DURATION: 60;
|
|
125
|
-
readonly MAX_LIVES: 3;
|
|
126
|
-
readonly FRUIT_SPAWN_INTERVAL: 1500;
|
|
127
|
-
readonly FRUIT_FALL_SPEED: 2;
|
|
128
|
-
readonly GRAVITY: 0.18;
|
|
129
|
-
readonly INITIAL_VELOCITY_Y: -15;
|
|
130
|
-
readonly INITIAL_VELOCITY_X_RANGE: 3;
|
|
131
|
-
readonly FRUIT_SIZE: 60;
|
|
132
|
-
readonly SLICE_TRAIL_LENGTH: 10;
|
|
133
|
-
readonly COMBO_TIMEOUT: 2000;
|
|
134
|
-
readonly PARTICLE_COUNT: 8;
|
|
135
|
-
readonly PARTICLE_LIFETIME: 1000;
|
|
136
|
-
};
|
|
137
|
-
export declare const FRUIT_SLICER_ANIMATION_CONFIG: {
|
|
138
|
-
readonly FRUIT_SPRING: {
|
|
139
|
-
readonly damping: 15;
|
|
140
|
-
readonly stiffness: 200;
|
|
141
|
-
};
|
|
142
|
-
readonly SLICE_TIMING: {
|
|
143
|
-
readonly duration: 300;
|
|
144
|
-
};
|
|
145
|
-
readonly PARTICLE_TIMING: {
|
|
146
|
-
readonly duration: 800;
|
|
147
|
-
};
|
|
148
|
-
readonly COMBO_TIMING: {
|
|
149
|
-
readonly duration: 200;
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
export declare const FRUIT_SLICER_COLORS: {
|
|
153
|
-
readonly BACKGROUND: "#87CEEB";
|
|
154
|
-
readonly SCORE_BOARD: "#4169E1";
|
|
155
|
-
readonly SLICE_TRAIL: "#FFD700";
|
|
156
|
-
readonly PARTICLE_COLORS: readonly ["#FF6B6B", "#4ECDC4", "#45B7D1", "#96CEB4", "#FFEAA7", "#DDA0DD"];
|
|
157
|
-
readonly COMBO_TEXT: "#FF4757";
|
|
158
|
-
readonly LIVES_COLOR: "#FF6B6B";
|
|
159
|
-
readonly WHITE: "#FFFFFF";
|
|
160
|
-
readonly START_BUTTON: "#4CAF50";
|
|
161
|
-
readonly GAME_OVER_OVERLAY: "rgba(0, 0, 0, 0.85)";
|
|
162
|
-
};
|
|
163
|
-
export declare const FRUIT_TYPES: readonly [{
|
|
164
|
-
readonly emoji: "🍎";
|
|
165
|
-
readonly points: 10;
|
|
166
|
-
readonly name: "apple";
|
|
167
|
-
}, {
|
|
168
|
-
readonly emoji: "🍊";
|
|
169
|
-
readonly points: 10;
|
|
170
|
-
readonly name: "orange";
|
|
171
|
-
}, {
|
|
172
|
-
readonly emoji: "🍌";
|
|
173
|
-
readonly points: 15;
|
|
174
|
-
readonly name: "banana";
|
|
175
|
-
}, {
|
|
176
|
-
readonly emoji: "🍇";
|
|
177
|
-
readonly points: 20;
|
|
178
|
-
readonly name: "grapes";
|
|
179
|
-
}, {
|
|
180
|
-
readonly emoji: "🥝";
|
|
181
|
-
readonly points: 25;
|
|
182
|
-
readonly name: "kiwi";
|
|
183
|
-
}, {
|
|
184
|
-
readonly emoji: "🍓";
|
|
185
|
-
readonly points: 15;
|
|
186
|
-
readonly name: "strawberry";
|
|
187
|
-
}, {
|
|
188
|
-
readonly emoji: "🥭";
|
|
189
|
-
readonly points: 30;
|
|
190
|
-
readonly name: "mango";
|
|
191
|
-
}, {
|
|
192
|
-
readonly emoji: "🍑";
|
|
193
|
-
readonly points: 25;
|
|
194
|
-
readonly name: "cherry";
|
|
195
|
-
}, {
|
|
196
|
-
readonly emoji: "🍒";
|
|
197
|
-
readonly points: 35;
|
|
198
|
-
readonly name: "cherries";
|
|
199
|
-
}, {
|
|
200
|
-
readonly emoji: "🥥";
|
|
201
|
-
readonly points: 40;
|
|
202
|
-
readonly name: "coconut";
|
|
203
|
-
}];
|
|
204
|
-
export declare const FRUIT_SPECIAL_ITEMS: readonly [{
|
|
205
|
-
readonly emoji: "💣";
|
|
206
|
-
readonly points: -50;
|
|
207
|
-
readonly name: "bomb";
|
|
208
|
-
readonly isBomb: true;
|
|
209
|
-
}, {
|
|
210
|
-
readonly emoji: "⭐";
|
|
211
|
-
readonly points: 50;
|
|
212
|
-
readonly name: "star";
|
|
213
|
-
readonly isBonus: true;
|
|
214
|
-
}, {
|
|
215
|
-
readonly emoji: "❄️";
|
|
216
|
-
readonly points: 0;
|
|
217
|
-
readonly name: "freeze";
|
|
218
|
-
readonly isFreeze: true;
|
|
219
|
-
}];
|
|
220
|
-
export declare const BALLOON_BLASTER_GAME_CONFIG: {
|
|
221
|
-
readonly GAME_DURATION: 60;
|
|
222
|
-
readonly MAX_LIVES: 3;
|
|
223
|
-
readonly BALLOON_SPAWN_INTERVAL: 1200;
|
|
224
|
-
readonly BALLOON_RISE_SPEED: 0.1;
|
|
225
|
-
readonly GRAVITY: -0.005;
|
|
226
|
-
readonly INITIAL_VELOCITY_Y: -0.5;
|
|
227
|
-
readonly INITIAL_VELOCITY_X_RANGE: 0.2;
|
|
228
|
-
readonly BALLOON_SIZE: 60;
|
|
229
|
-
readonly SLICE_TRAIL_LENGTH: 10;
|
|
230
|
-
readonly COMBO_TIMEOUT: 2000;
|
|
231
|
-
readonly PARTICLE_COUNT: 8;
|
|
232
|
-
readonly PARTICLE_LIFETIME: 1000;
|
|
233
|
-
};
|
|
234
|
-
export declare const BALLOON_BLASTER_ANIMATION_CONFIG: {
|
|
235
|
-
readonly BALLOON_SPRING: {
|
|
236
|
-
readonly damping: 30;
|
|
237
|
-
readonly stiffness: 50;
|
|
238
|
-
};
|
|
239
|
-
readonly SLICE_TIMING: {
|
|
240
|
-
readonly duration: 300;
|
|
241
|
-
};
|
|
242
|
-
readonly PARTICLE_TIMING: {
|
|
243
|
-
readonly duration: 800;
|
|
244
|
-
};
|
|
245
|
-
readonly COMBO_TIMING: {
|
|
246
|
-
readonly duration: 200;
|
|
247
|
-
};
|
|
248
|
-
};
|
|
249
|
-
export declare const BALLOON_BLASTER_COLORS: {
|
|
250
|
-
readonly BACKGROUND: "#87CEEB";
|
|
251
|
-
readonly SCORE_BOARD: "#4169E1";
|
|
252
|
-
readonly SLICE_TRAIL: "#FFD700";
|
|
253
|
-
readonly PARTICLE_COLORS: readonly ["#FF6B6B", "#4ECDC4", "#45B7D1", "#96CEB4", "#FFEAA7", "#DDA0DD"];
|
|
254
|
-
readonly COMBO_TEXT: "#FF4757";
|
|
255
|
-
readonly LIVES_COLOR: "#FF6B6B";
|
|
256
|
-
readonly WHITE: "#FFFFFF";
|
|
257
|
-
readonly START_BUTTON: "#4CAF50";
|
|
258
|
-
readonly GAME_OVER_OVERLAY: "rgba(0, 0, 0, 0.85)";
|
|
259
|
-
};
|
|
260
|
-
export declare const BALLOON_TYPES: readonly [{
|
|
261
|
-
readonly emoji: "🎈";
|
|
262
|
-
readonly points: 10;
|
|
263
|
-
readonly name: "red balloon";
|
|
264
|
-
readonly color: "#FF0040";
|
|
265
|
-
readonly gradient: readonly ["#FF0040", "#FF4080"];
|
|
266
|
-
}, {
|
|
267
|
-
readonly emoji: "🎈";
|
|
268
|
-
readonly points: 10;
|
|
269
|
-
readonly name: "blue balloon";
|
|
270
|
-
readonly color: "#0080FF";
|
|
271
|
-
readonly gradient: readonly ["#0080FF", "#40A0FF"];
|
|
272
|
-
}, {
|
|
273
|
-
readonly emoji: "🎈";
|
|
274
|
-
readonly points: 15;
|
|
275
|
-
readonly name: "yellow balloon";
|
|
276
|
-
readonly color: "#FFD700";
|
|
277
|
-
readonly gradient: readonly ["#FFD700", "#FFEB3B"];
|
|
278
|
-
}, {
|
|
279
|
-
readonly emoji: "🎈";
|
|
280
|
-
readonly points: 20;
|
|
281
|
-
readonly name: "green balloon";
|
|
282
|
-
readonly color: "#00FF80";
|
|
283
|
-
readonly gradient: readonly ["#00FF80", "#40FFA0"];
|
|
284
|
-
}, {
|
|
285
|
-
readonly emoji: "🎈";
|
|
286
|
-
readonly points: 25;
|
|
287
|
-
readonly name: "purple balloon";
|
|
288
|
-
readonly color: "#8000FF";
|
|
289
|
-
readonly gradient: readonly ["#8000FF", "#A040FF"];
|
|
290
|
-
}, {
|
|
291
|
-
readonly emoji: "🎈";
|
|
292
|
-
readonly points: 15;
|
|
293
|
-
readonly name: "pink balloon";
|
|
294
|
-
readonly color: "#FF0080";
|
|
295
|
-
readonly gradient: readonly ["#FF0080", "#FF40A0"];
|
|
296
|
-
}, {
|
|
297
|
-
readonly emoji: "🎈";
|
|
298
|
-
readonly points: 30;
|
|
299
|
-
readonly name: "orange balloon";
|
|
300
|
-
readonly color: "#FF4000";
|
|
301
|
-
readonly gradient: readonly ["#FF4000", "#FF8040"];
|
|
302
|
-
}, {
|
|
303
|
-
readonly emoji: "🎈";
|
|
304
|
-
readonly points: 25;
|
|
305
|
-
readonly name: "cyan balloon";
|
|
306
|
-
readonly color: "#00FFFF";
|
|
307
|
-
readonly gradient: readonly ["#00FFFF", "#40FFFF"];
|
|
308
|
-
}, {
|
|
309
|
-
readonly emoji: "🎈";
|
|
310
|
-
readonly points: 35;
|
|
311
|
-
readonly name: "magenta balloon";
|
|
312
|
-
readonly color: "#FF00FF";
|
|
313
|
-
readonly gradient: readonly ["#FF00FF", "#FF40FF"];
|
|
314
|
-
}, {
|
|
315
|
-
readonly emoji: "🎈";
|
|
316
|
-
readonly points: 40;
|
|
317
|
-
readonly name: "gold balloon";
|
|
318
|
-
readonly color: "#FFB000";
|
|
319
|
-
readonly gradient: readonly ["#FFB000", "#FFD700"];
|
|
320
|
-
}, {
|
|
321
|
-
readonly emoji: "🎈";
|
|
322
|
-
readonly points: 45;
|
|
323
|
-
readonly name: "rainbow balloon";
|
|
324
|
-
readonly color: "#FF0080";
|
|
325
|
-
readonly gradient: readonly ["#FF0080", "#8000FF", "#0080FF", "#00FF80"];
|
|
326
|
-
}, {
|
|
327
|
-
readonly emoji: "🎈";
|
|
328
|
-
readonly points: 50;
|
|
329
|
-
readonly name: "neon balloon";
|
|
330
|
-
readonly color: "#00FF00";
|
|
331
|
-
readonly gradient: readonly ["#00FF00", "#FFFF00"];
|
|
332
|
-
}];
|
|
333
|
-
export declare const BALLOON_SPECIAL_ITEMS: readonly [{
|
|
334
|
-
readonly emoji: "💣";
|
|
335
|
-
readonly points: -50;
|
|
336
|
-
readonly name: "bomb";
|
|
337
|
-
readonly isBomb: true;
|
|
338
|
-
readonly color: "#FF4444";
|
|
339
|
-
}, {
|
|
340
|
-
readonly emoji: "⭐";
|
|
341
|
-
readonly points: 50;
|
|
342
|
-
readonly name: "star";
|
|
343
|
-
readonly isBonus: true;
|
|
344
|
-
readonly color: "#FFD700";
|
|
345
|
-
}];
|
|
346
|
-
export declare const SPACE_TRAVELLER_GAME_CONFIG: {
|
|
347
|
-
readonly GAME_DURATION: 120;
|
|
348
|
-
readonly SPACECRAFT_SIZE: 28;
|
|
349
|
-
readonly SPACECRAFT_SPEED: 3;
|
|
350
|
-
readonly ASTEROID_WIDTH: 80;
|
|
351
|
-
readonly ASTEROID_GAP: 120;
|
|
352
|
-
readonly ASTEROID_SPAWN_INTERVAL: 3000;
|
|
353
|
-
readonly ASTEROID_SPEED: 2;
|
|
354
|
-
readonly GRAVITY: 0.3;
|
|
355
|
-
readonly BOUNCE_DAMPING: 0.7;
|
|
356
|
-
readonly FRICTION: 0.98;
|
|
357
|
-
readonly MAX_VELOCITY: 8;
|
|
358
|
-
readonly COLLISION_TOLERANCE: 2;
|
|
359
|
-
readonly COLLISION_COOLDOWN: 2000;
|
|
360
|
-
};
|
|
361
|
-
export declare const SPACE_TRAVELLER_COLORS: {
|
|
362
|
-
readonly BACKGROUND: "#0a0a1a";
|
|
363
|
-
readonly SPACECRAFT: "#00d4ff";
|
|
364
|
-
readonly ASTEROID: "#8b4513";
|
|
365
|
-
readonly ASTEROID_SHADOW: "#654321";
|
|
366
|
-
readonly SCORE: "#ffd700";
|
|
367
|
-
readonly UI: "#9370db";
|
|
368
|
-
readonly STARS: "#ffffff";
|
|
369
|
-
};
|
|
370
|
-
export { createGameSettingsStore, DEFAULT_GAME_SETTINGS } from '../shared/settings/SettingsService';
|
|
371
|
-
export type { GameSettings, GameSettingsStore } from '../shared/settings/SettingsService';
|
|
372
93
|
//# sourceMappingURL=GamesConstants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GamesConstants.d.ts","sourceRoot":"","sources":["../../../../src/services/GamesConstants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GamesConstants.d.ts","sourceRoot":"","sources":["../../../../src/services/GamesConstants.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,iBAAiB;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,uBAAuB,EAAE,MAAM,CAAC;IAChC,yBAAyB,EAAE,MAAM,CAAC;IAClC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;CACvB;AAGD,eAAO,MAAM,WAAW;;;;;;;CAOd,CAAC;AAGX,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO/B,CAAC;AAGX,eAAO,MAAM,iBAAiB,qCAAsC,CAAC;AACrE,MAAM,MAAM,eAAe,GAAG,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAC;AAG/D,eAAO,MAAM,UAAU;;;;;;CAMb,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAGlE,eAAO,MAAM,YAAY,GAAI,QAAQ,MAAM,KAAG,iBAiB7C,CAAC;AAEF,eAAO,MAAM,6BAA6B,GAAI,QAAQ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;CAiB3D,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,QAAQ,MAAM,KAAG,MAG7C,CAAC"}
|
|
@@ -1,8 +1,26 @@
|
|
|
1
|
+
export interface GameSettings {
|
|
2
|
+
isVisible: boolean;
|
|
3
|
+
difficulty: 'easy' | 'medium' | 'hard';
|
|
4
|
+
enableSounds: boolean;
|
|
5
|
+
enableHaptics: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface GameProps {
|
|
8
|
+
settings: GameSettings;
|
|
9
|
+
onSettingsChange?: (settings: GameSettings) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const DEFAULT_GAME_SETTINGS: GameSettings;
|
|
12
|
+
export declare enum GAME_IDS {
|
|
13
|
+
WHACK_A_MOLE = "whack-a-mole",
|
|
14
|
+
POPIT_FIDGET = "popit-fidget",
|
|
15
|
+
FRUIT_NINJA = "fruit-ninja",
|
|
16
|
+
BALLOON_BLASTER = "balloon-blaster",
|
|
17
|
+
SPACE_FIGHTER = "space-fighter",
|
|
18
|
+
MAZE_RUNNER = "maze-runner"
|
|
19
|
+
}
|
|
1
20
|
export declare const gamesList: {
|
|
2
|
-
id:
|
|
21
|
+
id: GAME_IDS;
|
|
3
22
|
title: string;
|
|
4
23
|
description: string;
|
|
5
|
-
icon: string;
|
|
6
|
-
color: string;
|
|
7
24
|
}[];
|
|
25
|
+
export declare const immerMiddleware: (config: any) => (set: any, get: any, api: any) => any;
|
|
8
26
|
//# sourceMappingURL=GamesService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GamesService.d.ts","sourceRoot":"","sources":["../../../../src/services/GamesService.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GamesService.d.ts","sourceRoot":"","sources":["../../../../src/services/GamesService.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IACvC,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,YAAY,CAAC;IACvB,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAC;CACrD;AAED,eAAO,MAAM,qBAAqB,EAAE,YAKnC,CAAC;AAEF,oBAAY,QAAQ;IAClB,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IACnC,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;CAC5B;AAED,eAAO,MAAM,SAAS;;;;GA+BrB,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,QAAQ,GAAG,MAAM,KAAK,GAAG,EAAE,KAAK,GAAG,EAAE,KAAK,GAAG,QAAoD,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum HapticType {
|
|
2
|
+
LIGHT = "light",
|
|
3
|
+
MEDIUM = "medium",
|
|
4
|
+
HEAVY = "heavy",
|
|
5
|
+
SUCCESS = "success",
|
|
6
|
+
WARNING = "warning",
|
|
7
|
+
ERROR = "error",
|
|
8
|
+
SELECTION = "selection"
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Play haptic feedback with robust error handling
|
|
12
|
+
* @param type - Type of haptic feedback to play
|
|
13
|
+
* @param hapticEnabled - Whether haptic feedback is enabled in settings
|
|
14
|
+
*/
|
|
15
|
+
export declare const playHaptic: (type: HapticType, hapticEnabled?: boolean) => void;
|
|
16
|
+
//# sourceMappingURL=HapticsService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HapticsService.d.ts","sourceRoot":"","sources":["../../../../src/services/HapticsService.ts"],"names":[],"mappings":"AAEA,oBAAY,UAAU;IACpB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,SAAS,cAAc;CACxB;AAKD;;;;GAIG;AACH,eAAO,MAAM,UAAU,GAAI,MAAM,UAAU,EAAE,gBAAe,OAAe,KAAG,IAsD7E,CAAC"}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
export interface SoundConfig {
|
|
2
|
+
text: string;
|
|
3
|
+
pitch?: number;
|
|
4
|
+
rate?: number;
|
|
5
|
+
language?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const playSound: (soundConfig: SoundConfig, soundEnabled: boolean) => void;
|
|
8
|
+
export declare const stopAllSounds: () => void;
|
|
9
|
+
export declare const isSpeechAvailable: () => Promise<boolean>;
|
|
10
|
+
export declare const GAME_SOUNDS: {
|
|
11
|
+
readonly POP: {
|
|
12
|
+
readonly text: "Pop!";
|
|
13
|
+
readonly pitch: 1.6;
|
|
14
|
+
readonly rate: 2.2;
|
|
15
|
+
};
|
|
16
|
+
readonly SWOOSH: {
|
|
17
|
+
readonly text: "Swoosh!";
|
|
18
|
+
readonly pitch: 1.5;
|
|
19
|
+
readonly rate: 2.5;
|
|
20
|
+
};
|
|
21
|
+
readonly BOOM: {
|
|
22
|
+
readonly text: "Boom!";
|
|
23
|
+
readonly pitch: 0.8;
|
|
24
|
+
readonly rate: 1.5;
|
|
25
|
+
};
|
|
26
|
+
readonly WHOOSH: {
|
|
27
|
+
readonly text: "Whoosh";
|
|
28
|
+
readonly pitch: 0.7;
|
|
29
|
+
readonly rate: 1.8;
|
|
30
|
+
};
|
|
31
|
+
readonly GAME_START: {
|
|
32
|
+
readonly text: "Game started!";
|
|
33
|
+
readonly pitch: 1.1;
|
|
34
|
+
readonly rate: 0.9;
|
|
35
|
+
};
|
|
36
|
+
readonly GAME_OVER: {
|
|
37
|
+
readonly text: "Game over!";
|
|
38
|
+
readonly pitch: 0.9;
|
|
39
|
+
readonly rate: 0.8;
|
|
40
|
+
};
|
|
41
|
+
readonly TIME_UP: {
|
|
42
|
+
readonly text: "Time up! Game over!";
|
|
43
|
+
readonly pitch: 0.9;
|
|
44
|
+
readonly rate: 0.8;
|
|
45
|
+
};
|
|
46
|
+
readonly WELL_DONE: {
|
|
47
|
+
readonly text: "Well done!";
|
|
48
|
+
readonly pitch: 1.2;
|
|
49
|
+
readonly rate: 1;
|
|
50
|
+
};
|
|
51
|
+
readonly CONGRATULATIONS: {
|
|
52
|
+
readonly text: "Congratulations!";
|
|
53
|
+
readonly pitch: 1.1;
|
|
54
|
+
readonly rate: 0.9;
|
|
55
|
+
};
|
|
56
|
+
readonly BUBBLE_POPPER: {
|
|
57
|
+
readonly START: {
|
|
58
|
+
readonly text: "Bubble Popper started!";
|
|
59
|
+
readonly pitch: 1.1;
|
|
60
|
+
readonly rate: 0.9;
|
|
61
|
+
};
|
|
62
|
+
readonly COMPLETE: {
|
|
63
|
+
readonly text: "All bubbles popped! Well done!";
|
|
64
|
+
readonly pitch: 1.2;
|
|
65
|
+
readonly rate: 1;
|
|
66
|
+
};
|
|
67
|
+
readonly POP: {
|
|
68
|
+
readonly text: "Pop!";
|
|
69
|
+
readonly pitch: 1.6;
|
|
70
|
+
readonly rate: 2.2;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
readonly WHACK_A_MOLE: {
|
|
74
|
+
readonly HIT: {
|
|
75
|
+
readonly text: "Pop!";
|
|
76
|
+
readonly pitch: 1.8;
|
|
77
|
+
readonly rate: 2;
|
|
78
|
+
};
|
|
79
|
+
readonly MISS: {
|
|
80
|
+
readonly text: "Whoosh";
|
|
81
|
+
readonly pitch: 0.7;
|
|
82
|
+
readonly rate: 1.8;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
readonly BALLOON_BLASTER: {
|
|
86
|
+
readonly POP: {
|
|
87
|
+
readonly text: "Pop!";
|
|
88
|
+
readonly pitch: 1.5;
|
|
89
|
+
readonly rate: 2.5;
|
|
90
|
+
};
|
|
91
|
+
readonly BOMB: {
|
|
92
|
+
readonly text: "Boom!";
|
|
93
|
+
readonly pitch: 0.8;
|
|
94
|
+
readonly rate: 1.5;
|
|
95
|
+
};
|
|
96
|
+
readonly BONUS: {
|
|
97
|
+
readonly text: "bonus life!";
|
|
98
|
+
readonly pitch: 1.8;
|
|
99
|
+
readonly rate: 2;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
readonly FRUIT_NINJA: {
|
|
103
|
+
readonly SLICE: {
|
|
104
|
+
readonly text: "Swoosh!";
|
|
105
|
+
readonly pitch: 1.5;
|
|
106
|
+
readonly rate: 2.5;
|
|
107
|
+
};
|
|
108
|
+
readonly BOMB: {
|
|
109
|
+
readonly text: "Boom!";
|
|
110
|
+
readonly pitch: 0.8;
|
|
111
|
+
readonly rate: 1.5;
|
|
112
|
+
};
|
|
113
|
+
readonly BONUS: {
|
|
114
|
+
readonly text: "bonus life!";
|
|
115
|
+
readonly pitch: 1.8;
|
|
116
|
+
readonly rate: 2;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
readonly MAZE_RUNNER: {
|
|
120
|
+
readonly START: {
|
|
121
|
+
readonly text: "Maze started! Navigate to the exit!";
|
|
122
|
+
readonly pitch: 1;
|
|
123
|
+
readonly rate: 0.9;
|
|
124
|
+
};
|
|
125
|
+
readonly COMPLETE: {
|
|
126
|
+
readonly text: "Congratulations! Maze completed!";
|
|
127
|
+
readonly pitch: 1.1;
|
|
128
|
+
readonly rate: 0.9;
|
|
129
|
+
};
|
|
130
|
+
readonly STOP: {
|
|
131
|
+
readonly text: "Maze stopped!";
|
|
132
|
+
readonly pitch: 0.9;
|
|
133
|
+
readonly rate: 0.8;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
readonly SPACE_FIGHTER: {
|
|
137
|
+
readonly START: {
|
|
138
|
+
readonly text: "Mission started! Navigate through the asteroid field!";
|
|
139
|
+
readonly pitch: 1;
|
|
140
|
+
readonly rate: 0.9;
|
|
141
|
+
};
|
|
142
|
+
readonly SUCCESS: {
|
|
143
|
+
readonly text: "Nice!";
|
|
144
|
+
readonly pitch: 1.8;
|
|
145
|
+
readonly rate: 2;
|
|
146
|
+
};
|
|
147
|
+
readonly COLLISION: {
|
|
148
|
+
readonly text: "Ouch!";
|
|
149
|
+
readonly pitch: 0.8;
|
|
150
|
+
readonly rate: 1.5;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
//# sourceMappingURL=SoundsService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SoundsService.d.ts","sourceRoot":"","sources":["../../../../src/services/SoundsService.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,SAAS,GAAI,aAAa,WAAW,EAAE,cAAc,OAAO,KAAG,IAQ3E,CAAC;AAEF,eAAO,MAAM,aAAa,QAAO,IAEhC,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAa,OAAO,CAAC,OAAO,CAMzD,CAAC;AAGF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDd,CAAC"}
|