react-native-games 1.6.0 → 1.8.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 +127 -72
- package/lib/module/games/balloon-blaster/BalloonBlaster.js +1 -1
- package/lib/module/games/balloon-blaster/BalloonBlaster.js.map +1 -1
- package/lib/module/games/balloon-blaster/BalloonBlasterConstants.js +1 -1
- package/lib/module/games/balloon-blaster/BalloonBlasterConstants.js.map +1 -1
- package/lib/module/games/balloon-blaster/BalloonBlasterService.js +1 -1
- package/lib/module/games/balloon-blaster/BalloonBlasterService.js.map +1 -1
- package/lib/module/games/balloon-blaster/BalloonBlasterStore.js +1 -1
- package/lib/module/games/balloon-blaster/BalloonBlasterStore.js.map +1 -1
- package/lib/module/games/balloon-blaster/components/BalloonComponent.js +1 -1
- package/lib/module/games/balloon-blaster/components/BalloonComponent.js.map +1 -1
- package/lib/module/games/balloon-blaster/components/GameArea.js +1 -1
- package/lib/module/games/balloon-blaster/components/GameArea.js.map +1 -1
- package/lib/module/games/balloon-blaster/components/GameBackground.js +1 -1
- package/lib/module/games/balloon-blaster/components/GameBackground.js.map +1 -1
- package/lib/module/games/balloon-blaster/components/ScoreBoard.js +1 -1
- package/lib/module/games/balloon-blaster/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/bike-racing/BikeRacing.js +1 -1
- package/lib/module/games/bike-racing/BikeRacing.js.map +1 -1
- package/lib/module/games/bike-racing/BikeRacingConstants.js +1 -1
- package/lib/module/games/bike-racing/BikeRacingConstants.js.map +1 -1
- package/lib/module/games/bike-racing/BikeRacingService.js +1 -1
- package/lib/module/games/bike-racing/BikeRacingService.js.map +1 -1
- package/lib/module/games/bike-racing/BikeRacingStore.js +1 -1
- package/lib/module/games/bike-racing/BikeRacingStore.js.map +1 -1
- package/lib/module/games/bike-racing/components/BikeComponent.js +1 -1
- package/lib/module/games/bike-racing/components/BikeComponent.js.map +1 -1
- package/lib/module/games/bike-racing/components/GameBackground.js +1 -1
- package/lib/module/games/bike-racing/components/GameBackground.js.map +1 -1
- package/lib/module/games/bike-racing/components/ScoreBoard.js +1 -1
- package/lib/module/games/bike-racing/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/block-blast/BlockBlast.js +1 -1
- package/lib/module/games/block-blast/BlockBlast.js.map +1 -1
- package/lib/module/games/block-blast/BlockBlastConstants.js +1 -1
- package/lib/module/games/block-blast/BlockBlastConstants.js.map +1 -1
- package/lib/module/games/block-blast/BlockBlastService.js +1 -1
- package/lib/module/games/block-blast/BlockBlastService.js.map +1 -1
- package/lib/module/games/block-blast/BlockBlastStore.js +1 -1
- package/lib/module/games/block-blast/BlockBlastStore.js.map +1 -1
- package/lib/module/games/block-blast/components/BlastAnimation.js +1 -1
- package/lib/module/games/block-blast/components/BlastAnimation.js.map +1 -1
- package/lib/module/games/block-blast/components/BlockPieceComponent.js +1 -1
- package/lib/module/games/block-blast/components/BlockPieceComponent.js.map +1 -1
- package/lib/module/games/block-blast/components/GameArea.js +1 -1
- package/lib/module/games/block-blast/components/GameArea.js.map +1 -1
- package/lib/module/games/block-blast/components/GameBackground.js +1 -1
- package/lib/module/games/block-blast/components/GameBackground.js.map +1 -1
- package/lib/module/games/block-blast/components/GridComponent.js +1 -1
- package/lib/module/games/block-blast/components/GridComponent.js.map +1 -1
- package/lib/module/games/block-blast/components/ScoreBoard.js +1 -1
- package/lib/module/games/block-blast/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/bubble-shooter/BubbleShooter.js +1 -1
- package/lib/module/games/bubble-shooter/BubbleShooter.js.map +1 -1
- package/lib/module/games/bubble-shooter/BubbleShooterConstants.js +1 -1
- package/lib/module/games/bubble-shooter/BubbleShooterConstants.js.map +1 -1
- package/lib/module/games/bubble-shooter/BubbleShooterService.js +1 -1
- package/lib/module/games/bubble-shooter/BubbleShooterService.js.map +1 -1
- package/lib/module/games/bubble-shooter/BubbleShooterStore.js +1 -1
- package/lib/module/games/bubble-shooter/BubbleShooterStore.js.map +1 -1
- package/lib/module/games/bubble-shooter/components/GameArea.js +1 -1
- package/lib/module/games/bubble-shooter/components/GameArea.js.map +1 -1
- package/lib/module/games/bubble-shooter/components/GameBackground.js +1 -1
- package/lib/module/games/bubble-shooter/components/GameBackground.js.map +1 -1
- package/lib/module/games/bubble-shooter/components/ScoreBoard.js +1 -1
- package/lib/module/games/bubble-shooter/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/candy-crush/CandyCrush.js +1 -1
- package/lib/module/games/candy-crush/CandyCrush.js.map +1 -1
- package/lib/module/games/candy-crush/CandyCrushConstants.js +1 -1
- package/lib/module/games/candy-crush/CandyCrushConstants.js.map +1 -1
- package/lib/module/games/candy-crush/CandyCrushService.js +1 -1
- package/lib/module/games/candy-crush/CandyCrushService.js.map +1 -1
- package/lib/module/games/candy-crush/CandyCrushStore.js +1 -1
- package/lib/module/games/candy-crush/CandyCrushStore.js.map +1 -1
- package/lib/module/games/candy-crush/components/BlastAnimation.js +1 -1
- package/lib/module/games/candy-crush/components/BlastAnimation.js.map +1 -1
- package/lib/module/games/candy-crush/components/CandyItem.js +1 -1
- package/lib/module/games/candy-crush/components/CandyItem.js.map +1 -1
- package/lib/module/games/candy-crush/components/GameBackground.js +1 -1
- package/lib/module/games/candy-crush/components/GameBackground.js.map +1 -1
- package/lib/module/games/candy-crush/components/GameGrid.js +1 -1
- package/lib/module/games/candy-crush/components/GameGrid.js.map +1 -1
- package/lib/module/games/candy-crush/components/ScoreBoard.js +1 -1
- package/lib/module/games/candy-crush/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/car-racing/CarRacing.js +1 -1
- package/lib/module/games/car-racing/CarRacing.js.map +1 -1
- package/lib/module/games/car-racing/CarRacingConstants.js +1 -1
- package/lib/module/games/car-racing/CarRacingConstants.js.map +1 -1
- package/lib/module/games/car-racing/CarRacingService.js +1 -1
- package/lib/module/games/car-racing/CarRacingService.js.map +1 -1
- package/lib/module/games/car-racing/CarRacingStore.js +1 -1
- package/lib/module/games/car-racing/CarRacingStore.js.map +1 -1
- package/lib/module/games/car-racing/components/CarComponent.js +1 -1
- package/lib/module/games/car-racing/components/CarComponent.js.map +1 -1
- package/lib/module/games/car-racing/components/GameBackground.js +1 -1
- package/lib/module/games/car-racing/components/GameBackground.js.map +1 -1
- package/lib/module/games/car-racing/components/ScoreBoard.js +1 -1
- package/lib/module/games/car-racing/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/colors-sort/ColorsSort.js +1 -1
- package/lib/module/games/colors-sort/ColorsSort.js.map +1 -1
- package/lib/module/games/colors-sort/ColorsSortConstants.js +1 -1
- package/lib/module/games/colors-sort/ColorsSortConstants.js.map +1 -1
- package/lib/module/games/colors-sort/ColorsSortService.js +1 -1
- package/lib/module/games/colors-sort/ColorsSortService.js.map +1 -1
- package/lib/module/games/colors-sort/ColorsSortStore.js +1 -1
- package/lib/module/games/colors-sort/ColorsSortStore.js.map +1 -1
- package/lib/module/games/colors-sort/components/ColorContainer.js +1 -1
- package/lib/module/games/colors-sort/components/ColorContainer.js.map +1 -1
- package/lib/module/games/colors-sort/components/GameBackground.js +1 -1
- package/lib/module/games/colors-sort/components/GameBackground.js.map +1 -1
- package/lib/module/games/colors-sort/components/ScoreBoard.js +1 -1
- package/lib/module/games/colors-sort/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/connect-em-all/ConnectEmAll.js +1 -0
- package/lib/module/games/connect-em-all/ConnectEmAll.js.map +1 -0
- package/lib/module/games/connect-em-all/ConnectEmAllConstants.js +1 -0
- package/lib/module/games/connect-em-all/ConnectEmAllConstants.js.map +1 -0
- package/lib/module/games/connect-em-all/ConnectEmAllService.js +1 -0
- package/lib/module/games/connect-em-all/ConnectEmAllService.js.map +1 -0
- package/lib/module/games/connect-em-all/ConnectEmAllStore.js +1 -0
- package/lib/module/games/connect-em-all/ConnectEmAllStore.js.map +1 -0
- package/lib/module/games/connect-em-all/components/GameBackground.js +1 -0
- package/lib/module/games/connect-em-all/components/GameBackground.js.map +1 -0
- package/lib/module/games/connect-em-all/components/GameBoard.js +1 -0
- package/lib/module/games/connect-em-all/components/GameBoard.js.map +1 -0
- package/lib/module/games/connect-em-all/components/ScoreBoard.js +1 -0
- package/lib/module/games/connect-em-all/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/dino-jump/DinoJump.js +1 -1
- package/lib/module/games/dino-jump/DinoJump.js.map +1 -1
- package/lib/module/games/dino-jump/DinoJumpConstants.js +1 -1
- package/lib/module/games/dino-jump/DinoJumpConstants.js.map +1 -1
- package/lib/module/games/dino-jump/DinoJumpService.js +1 -1
- package/lib/module/games/dino-jump/DinoJumpService.js.map +1 -1
- package/lib/module/games/dino-jump/DinoJumpStore.js +1 -1
- package/lib/module/games/dino-jump/DinoJumpStore.js.map +1 -1
- package/lib/module/games/dino-jump/components/DinoSprite.js +1 -1
- package/lib/module/games/dino-jump/components/DinoSprite.js.map +1 -1
- package/lib/module/games/dino-jump/components/GameArea.js +1 -1
- package/lib/module/games/dino-jump/components/GameArea.js.map +1 -1
- package/lib/module/games/dino-jump/components/GameBackground.js +1 -1
- package/lib/module/games/dino-jump/components/GameBackground.js.map +1 -1
- package/lib/module/games/dino-jump/components/ObstacleSprite.js +1 -1
- package/lib/module/games/dino-jump/components/ObstacleSprite.js.map +1 -1
- package/lib/module/games/dino-jump/components/ScoreBoard.js +1 -1
- package/lib/module/games/dino-jump/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/dino-jump/components/StarSprite.js +1 -1
- package/lib/module/games/dino-jump/components/StarSprite.js.map +1 -1
- package/lib/module/games/dots-and-boxes/DotsAndBoxes.js +1 -0
- package/lib/module/games/dots-and-boxes/DotsAndBoxes.js.map +1 -0
- package/lib/module/games/dots-and-boxes/DotsAndBoxesConstants.js +1 -0
- package/lib/module/games/dots-and-boxes/DotsAndBoxesConstants.js.map +1 -0
- package/lib/module/games/dots-and-boxes/DotsAndBoxesService.js +1 -0
- package/lib/module/games/dots-and-boxes/DotsAndBoxesService.js.map +1 -0
- package/lib/module/games/dots-and-boxes/DotsAndBoxesStore.js +1 -0
- package/lib/module/games/dots-and-boxes/DotsAndBoxesStore.js.map +1 -0
- package/lib/module/games/dots-and-boxes/components/GameBackground.js +1 -0
- package/lib/module/games/dots-and-boxes/components/GameBackground.js.map +1 -0
- package/lib/module/games/dots-and-boxes/components/GameBoard.js +1 -0
- package/lib/module/games/dots-and-boxes/components/GameBoard.js.map +1 -0
- package/lib/module/games/dots-and-boxes/components/ScoreBoard.js +1 -0
- package/lib/module/games/dots-and-boxes/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/flappy-bird/FlappyBird.js +1 -1
- package/lib/module/games/flappy-bird/FlappyBird.js.map +1 -1
- package/lib/module/games/flappy-bird/FlappyBirdConstants.js +1 -1
- package/lib/module/games/flappy-bird/FlappyBirdConstants.js.map +1 -1
- package/lib/module/games/flappy-bird/FlappyBirdStore.js +1 -1
- package/lib/module/games/flappy-bird/FlappyBirdStore.js.map +1 -1
- package/lib/module/games/flappy-bird/components/Bird.js +1 -1
- package/lib/module/games/flappy-bird/components/Bird.js.map +1 -1
- package/lib/module/games/flappy-bird/components/GameArea.js +1 -1
- package/lib/module/games/flappy-bird/components/GameArea.js.map +1 -1
- package/lib/module/games/flappy-bird/components/GameBackground.js +1 -1
- package/lib/module/games/flappy-bird/components/GameBackground.js.map +1 -1
- package/lib/module/games/flappy-bird/components/Pipes.js +1 -1
- package/lib/module/games/flappy-bird/components/Pipes.js.map +1 -1
- package/lib/module/games/flappy-bird/components/ScoreBoard.js +1 -1
- package/lib/module/games/flappy-bird/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/fruit-merger/FruitMerger.js +1 -1
- package/lib/module/games/fruit-merger/FruitMerger.js.map +1 -1
- package/lib/module/games/fruit-merger/FruitMergerConstants.js +1 -1
- package/lib/module/games/fruit-merger/FruitMergerConstants.js.map +1 -1
- package/lib/module/games/fruit-merger/FruitMergerService.js +1 -1
- package/lib/module/games/fruit-merger/FruitMergerService.js.map +1 -1
- package/lib/module/games/fruit-merger/FruitMergerStore.js +1 -1
- package/lib/module/games/fruit-merger/FruitMergerStore.js.map +1 -1
- package/lib/module/games/fruit-merger/components/FruitItem.js +1 -1
- package/lib/module/games/fruit-merger/components/FruitItem.js.map +1 -1
- package/lib/module/games/fruit-merger/components/GameArea.js +1 -1
- package/lib/module/games/fruit-merger/components/GameArea.js.map +1 -1
- package/lib/module/games/fruit-merger/components/GameBackground.js +1 -1
- package/lib/module/games/fruit-merger/components/GameBackground.js.map +1 -1
- package/lib/module/games/fruit-merger/components/ScoreBoard.js +1 -1
- package/lib/module/games/fruit-merger/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/fruit-ninja/FruitNinja.js +1 -1
- package/lib/module/games/fruit-ninja/FruitNinja.js.map +1 -1
- package/lib/module/games/fruit-ninja/FruitNinjaConstants.js +1 -1
- package/lib/module/games/fruit-ninja/FruitNinjaConstants.js.map +1 -1
- package/lib/module/games/fruit-ninja/FruitNinjaService.js +1 -1
- package/lib/module/games/fruit-ninja/FruitNinjaService.js.map +1 -1
- package/lib/module/games/fruit-ninja/FruitNinjaStore.js +1 -1
- package/lib/module/games/fruit-ninja/FruitNinjaStore.js.map +1 -1
- package/lib/module/games/fruit-ninja/components/FruitComponent.js +1 -1
- package/lib/module/games/fruit-ninja/components/FruitComponent.js.map +1 -1
- package/lib/module/games/fruit-ninja/components/GameArea.js +1 -1
- package/lib/module/games/fruit-ninja/components/GameArea.js.map +1 -1
- package/lib/module/games/fruit-ninja/components/GameBackground.js +1 -1
- package/lib/module/games/fruit-ninja/components/GameBackground.js.map +1 -1
- package/lib/module/games/fruit-ninja/components/ScoreBoard.js +1 -1
- package/lib/module/games/fruit-ninja/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/game-2048/Game2048.js +1 -1
- package/lib/module/games/game-2048/Game2048.js.map +1 -1
- package/lib/module/games/game-2048/Game2048Constants.js +1 -1
- package/lib/module/games/game-2048/Game2048Constants.js.map +1 -1
- package/lib/module/games/game-2048/Game2048Service.js +1 -1
- package/lib/module/games/game-2048/Game2048Service.js.map +1 -1
- package/lib/module/games/game-2048/Game2048Store.js +1 -1
- package/lib/module/games/game-2048/Game2048Store.js.map +1 -1
- package/lib/module/games/game-2048/components/GameBackground.js +1 -1
- package/lib/module/games/game-2048/components/GameBackground.js.map +1 -1
- package/lib/module/games/game-2048/components/GameGrid.js +1 -1
- package/lib/module/games/game-2048/components/GameGrid.js.map +1 -1
- package/lib/module/games/game-2048/components/GameTile.js +1 -1
- package/lib/module/games/game-2048/components/GameTile.js.map +1 -1
- package/lib/module/games/game-2048/components/ScoreBoard.js +1 -1
- package/lib/module/games/game-2048/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/ludo-king/LudoKing.js +1 -0
- package/lib/module/games/ludo-king/LudoKing.js.map +1 -0
- package/lib/module/games/ludo-king/LudoKingConstants.js +1 -0
- package/lib/module/games/ludo-king/LudoKingConstants.js.map +1 -0
- package/lib/module/games/ludo-king/LudoKingService.js +1 -0
- package/lib/module/games/ludo-king/LudoKingService.js.map +1 -0
- package/lib/module/games/ludo-king/LudoKingStore.js +1 -0
- package/lib/module/games/ludo-king/LudoKingStore.js.map +1 -0
- package/lib/module/games/ludo-king/components/Dice.js +1 -0
- package/lib/module/games/ludo-king/components/Dice.js.map +1 -0
- package/lib/module/games/ludo-king/components/GameBackground.js +1 -0
- package/lib/module/games/ludo-king/components/GameBackground.js.map +1 -0
- package/lib/module/games/ludo-king/components/GameBoard.js +1 -0
- package/lib/module/games/ludo-king/components/GameBoard.js.map +1 -0
- package/lib/module/games/ludo-king/components/ScoreBoard.js +1 -0
- package/lib/module/games/ludo-king/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/maze-runner/MazeRunner.js +1 -1
- package/lib/module/games/maze-runner/MazeRunner.js.map +1 -1
- package/lib/module/games/maze-runner/MazeRunnerConstants.js +1 -1
- package/lib/module/games/maze-runner/MazeRunnerConstants.js.map +1 -1
- package/lib/module/games/maze-runner/MazeRunnerStore.js +1 -0
- package/lib/module/games/maze-runner/MazeRunnerStore.js.map +1 -0
- package/lib/module/games/maze-runner/components/EnhancedBallComponent.js +1 -1
- package/lib/module/games/maze-runner/components/EnhancedBallComponent.js.map +1 -1
- package/lib/module/games/maze-runner/components/EnhancedGameArea.js +1 -1
- package/lib/module/games/maze-runner/components/EnhancedGameArea.js.map +1 -1
- package/lib/module/games/maze-runner/components/GameBackground.js +1 -1
- package/lib/module/games/maze-runner/components/GameBackground.js.map +1 -1
- package/lib/module/games/maze-runner/components/ScoreBoard.js +1 -1
- package/lib/module/games/maze-runner/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/maze-runner/components/SkiaPipeComponent.js +1 -1
- package/lib/module/games/maze-runner/components/SkiaPipeComponent.js.map +1 -1
- package/lib/module/games/maze-runner/components/StaticGameBackground.js +1 -1
- package/lib/module/games/maze-runner/components/StaticGameBackground.js.map +1 -1
- package/lib/module/games/maze-runner/components/WallComponent.js +1 -1
- package/lib/module/games/maze-runner/components/WallComponent.js.map +1 -1
- package/lib/module/games/number-search/NumberSearch.js +1 -0
- package/lib/module/games/number-search/NumberSearch.js.map +1 -0
- package/lib/module/games/number-search/NumberSearchConstants.js +1 -0
- package/lib/module/games/number-search/NumberSearchConstants.js.map +1 -0
- package/lib/module/games/number-search/NumberSearchService.js +1 -0
- package/lib/module/games/number-search/NumberSearchService.js.map +1 -0
- package/lib/module/games/number-search/NumberSearchStore.js +1 -0
- package/lib/module/games/number-search/NumberSearchStore.js.map +1 -0
- package/lib/module/games/number-search/components/GameBackground.js +1 -0
- package/lib/module/games/number-search/components/GameBackground.js.map +1 -0
- package/lib/module/games/number-search/components/GameBoard.js +1 -0
- package/lib/module/games/number-search/components/GameBoard.js.map +1 -0
- package/lib/module/games/number-search/components/NumberList.js +1 -0
- package/lib/module/games/number-search/components/NumberList.js.map +1 -0
- package/lib/module/games/number-search/components/ScoreBoard.js +1 -0
- package/lib/module/games/number-search/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/nuts-and-bolts/NutsAndBolts.js +1 -0
- package/lib/module/games/nuts-and-bolts/NutsAndBolts.js.map +1 -0
- package/lib/module/games/nuts-and-bolts/NutsAndBoltsConstants.js +1 -0
- package/lib/module/games/nuts-and-bolts/NutsAndBoltsConstants.js.map +1 -0
- package/lib/module/games/nuts-and-bolts/NutsAndBoltsService.js +1 -0
- package/lib/module/games/nuts-and-bolts/NutsAndBoltsService.js.map +1 -0
- package/lib/module/games/nuts-and-bolts/NutsAndBoltsStore.js +1 -0
- package/lib/module/games/nuts-and-bolts/NutsAndBoltsStore.js.map +1 -0
- package/lib/module/games/nuts-and-bolts/components/GameBackground.js +1 -0
- package/lib/module/games/nuts-and-bolts/components/GameBackground.js.map +1 -0
- package/lib/module/games/nuts-and-bolts/components/GameBoard.js +1 -0
- package/lib/module/games/nuts-and-bolts/components/GameBoard.js.map +1 -0
- package/lib/module/games/nuts-and-bolts/components/ScoreBoard.js +1 -0
- package/lib/module/games/nuts-and-bolts/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/pac-man/PacMan.js +1 -0
- package/lib/module/games/pac-man/PacMan.js.map +1 -0
- package/lib/module/games/pac-man/PacManConstants.js +1 -0
- package/lib/module/games/pac-man/PacManConstants.js.map +1 -0
- package/lib/module/games/pac-man/PacManService.js +1 -0
- package/lib/module/games/pac-man/PacManService.js.map +1 -0
- package/lib/module/games/pac-man/PacManStore.js +1 -0
- package/lib/module/games/pac-man/PacManStore.js.map +1 -0
- package/lib/module/games/pac-man/components/GameBackground.js +1 -0
- package/lib/module/games/pac-man/components/GameBackground.js.map +1 -0
- package/lib/module/games/pac-man/components/GameCanvas.js +1 -0
- package/lib/module/games/pac-man/components/GameCanvas.js.map +1 -0
- package/lib/module/games/pac-man/components/ScoreBoard.js +1 -0
- package/lib/module/games/pac-man/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/perfect-circle/PerfectCircle.js +1 -1
- package/lib/module/games/perfect-circle/PerfectCircle.js.map +1 -1
- package/lib/module/games/perfect-circle/PerfectCircleConstants.js +1 -1
- package/lib/module/games/perfect-circle/PerfectCircleConstants.js.map +1 -1
- package/lib/module/games/perfect-circle/PerfectCircleService.js +1 -1
- package/lib/module/games/perfect-circle/PerfectCircleService.js.map +1 -1
- package/lib/module/games/perfect-circle/PerfectCircleStore.js +1 -1
- package/lib/module/games/perfect-circle/PerfectCircleStore.js.map +1 -1
- package/lib/module/games/perfect-circle/components/DrawingCanvas.js +1 -1
- package/lib/module/games/perfect-circle/components/DrawingCanvas.js.map +1 -1
- package/lib/module/games/perfect-circle/components/GameBackground.js +1 -1
- package/lib/module/games/perfect-circle/components/GameBackground.js.map +1 -1
- package/lib/module/games/perfect-circle/components/ScoreBoard.js +1 -1
- package/lib/module/games/perfect-circle/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/popit-fidget/PopitFidget.js +1 -1
- package/lib/module/games/popit-fidget/PopitFidget.js.map +1 -1
- package/lib/module/games/popit-fidget/PopitFidgetConstants.js +1 -1
- package/lib/module/games/popit-fidget/PopitFidgetConstants.js.map +1 -1
- package/lib/module/games/popit-fidget/PopitFidgetService.js +1 -1
- package/lib/module/games/popit-fidget/PopitFidgetService.js.map +1 -1
- package/lib/module/games/popit-fidget/PopitFidgetStore.js +1 -1
- package/lib/module/games/popit-fidget/PopitFidgetStore.js.map +1 -1
- package/lib/module/games/popit-fidget/components/BubbleComponent.js +1 -1
- package/lib/module/games/popit-fidget/components/BubbleComponent.js.map +1 -1
- package/lib/module/games/popit-fidget/components/FidgetGrid.js +1 -1
- package/lib/module/games/popit-fidget/components/FidgetGrid.js.map +1 -1
- package/lib/module/games/popit-fidget/components/GameBackground.js +1 -1
- package/lib/module/games/popit-fidget/components/GameBackground.js.map +1 -1
- package/lib/module/games/popit-fidget/components/ScoreBoard.js +1 -1
- package/lib/module/games/popit-fidget/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/sliding-numbers/SlidingNumbers.js +1 -1
- package/lib/module/games/sliding-numbers/SlidingNumbers.js.map +1 -1
- package/lib/module/games/sliding-numbers/SlidingNumbersConstants.js +1 -1
- package/lib/module/games/sliding-numbers/SlidingNumbersConstants.js.map +1 -1
- package/lib/module/games/sliding-numbers/SlidingNumbersService.js +1 -1
- package/lib/module/games/sliding-numbers/SlidingNumbersService.js.map +1 -1
- package/lib/module/games/sliding-numbers/SlidingNumbersStore.js +1 -1
- package/lib/module/games/sliding-numbers/SlidingNumbersStore.js.map +1 -1
- package/lib/module/games/sliding-numbers/components/GameBackground.js +1 -1
- package/lib/module/games/sliding-numbers/components/GameBackground.js.map +1 -1
- package/lib/module/games/sliding-numbers/components/NumbersGrid.js +1 -1
- package/lib/module/games/sliding-numbers/components/NumbersGrid.js.map +1 -1
- package/lib/module/games/sliding-numbers/components/NumbersTile.js +1 -1
- package/lib/module/games/sliding-numbers/components/NumbersTile.js.map +1 -1
- package/lib/module/games/sliding-numbers/components/ScoreBoard.js +1 -1
- package/lib/module/games/sliding-numbers/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/snake-3d/Snake3D.js +1 -0
- package/lib/module/games/snake-3d/Snake3D.js.map +1 -0
- package/lib/module/games/snake-3d/Snake3DConstants.js +1 -0
- package/lib/module/games/snake-3d/Snake3DConstants.js.map +1 -0
- package/lib/module/games/snake-3d/Snake3DService.js +1 -0
- package/lib/module/games/snake-3d/Snake3DService.js.map +1 -0
- package/lib/module/games/snake-3d/Snake3DStore.js +1 -0
- package/lib/module/games/snake-3d/Snake3DStore.js.map +1 -0
- package/lib/module/games/snake-3d/components/GameBackground.js +1 -0
- package/lib/module/games/snake-3d/components/GameBackground.js.map +1 -0
- package/lib/module/games/snake-3d/components/GameGrid.js +1 -0
- package/lib/module/games/snake-3d/components/GameGrid.js.map +1 -0
- package/lib/module/games/snake-3d/components/ScoreBoard.js +1 -0
- package/lib/module/games/snake-3d/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/space-fighter/SpaceFighter.js +1 -1
- package/lib/module/games/space-fighter/SpaceFighter.js.map +1 -1
- package/lib/module/games/space-fighter/SpaceFighterConstants.js +1 -1
- package/lib/module/games/space-fighter/SpaceFighterConstants.js.map +1 -1
- package/lib/module/games/space-fighter/SpaceFighterService.js +1 -1
- package/lib/module/games/space-fighter/SpaceFighterService.js.map +1 -1
- package/lib/module/games/space-fighter/SpaceFighterStore.js +1 -1
- package/lib/module/games/space-fighter/SpaceFighterStore.js.map +1 -1
- package/lib/module/games/space-fighter/components/AsteroidComponent.js +1 -1
- package/lib/module/games/space-fighter/components/AsteroidComponent.js.map +1 -1
- package/lib/module/games/space-fighter/components/GameArea.js +1 -1
- package/lib/module/games/space-fighter/components/GameArea.js.map +1 -1
- package/lib/module/games/space-fighter/components/GameBackground.js +1 -1
- package/lib/module/games/space-fighter/components/GameBackground.js.map +1 -1
- package/lib/module/games/space-fighter/components/ScoreBoard.js +1 -1
- package/lib/module/games/space-fighter/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/space-fighter/components/Spacecraft3D.js +1 -1
- package/lib/module/games/space-fighter/components/Spacecraft3D.js.map +1 -1
- package/lib/module/games/space-fighter/components/SpacecraftPath.js +1 -1
- package/lib/module/games/space-fighter/components/SpacecraftPath.js.map +1 -1
- package/lib/module/games/spider-solitaire/SpiderSolitaire.js +1 -0
- package/lib/module/games/spider-solitaire/SpiderSolitaire.js.map +1 -0
- package/lib/module/games/spider-solitaire/SpiderSolitaireConstants.js +1 -0
- package/lib/module/games/spider-solitaire/SpiderSolitaireConstants.js.map +1 -0
- package/lib/module/games/spider-solitaire/SpiderSolitaireService.js +1 -0
- package/lib/module/games/spider-solitaire/SpiderSolitaireService.js.map +1 -0
- package/lib/module/games/spider-solitaire/SpiderSolitaireStore.js +1 -0
- package/lib/module/games/spider-solitaire/SpiderSolitaireStore.js.map +1 -0
- package/lib/module/games/spider-solitaire/components/Card.js +1 -0
- package/lib/module/games/spider-solitaire/components/Card.js.map +1 -0
- package/lib/module/games/spider-solitaire/components/CardPile.js +1 -0
- package/lib/module/games/spider-solitaire/components/CardPile.js.map +1 -0
- package/lib/module/games/spider-solitaire/components/GameBackground.js +1 -0
- package/lib/module/games/spider-solitaire/components/GameBackground.js.map +1 -0
- package/lib/module/games/spider-solitaire/components/ScoreBoard.js +1 -0
- package/lib/module/games/spider-solitaire/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/tank-1990/Tank1990.js +1 -0
- package/lib/module/games/tank-1990/Tank1990.js.map +1 -0
- package/lib/module/games/tank-1990/Tank1990Constants.js +1 -0
- package/lib/module/games/tank-1990/Tank1990Constants.js.map +1 -0
- package/lib/module/games/tank-1990/Tank1990Service.js +1 -0
- package/lib/module/games/tank-1990/Tank1990Service.js.map +1 -0
- package/lib/module/games/tank-1990/Tank1990Store.js +1 -0
- package/lib/module/games/tank-1990/Tank1990Store.js.map +1 -0
- package/lib/module/games/tank-1990/components/Controls.js +1 -0
- package/lib/module/games/tank-1990/components/Controls.js.map +1 -0
- package/lib/module/games/tank-1990/components/GameBackground.js +1 -0
- package/lib/module/games/tank-1990/components/GameBackground.js.map +1 -0
- package/lib/module/games/tank-1990/components/GameBoard.js +1 -0
- package/lib/module/games/tank-1990/components/GameBoard.js.map +1 -0
- package/lib/module/games/tank-1990/components/ScoreBoard.js +1 -0
- package/lib/module/games/tank-1990/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/tic-tac-toe/TicTacToe.js +1 -0
- package/lib/module/games/tic-tac-toe/TicTacToe.js.map +1 -0
- package/lib/module/games/tic-tac-toe/TicTacToeConstants.js +1 -0
- package/lib/module/games/tic-tac-toe/TicTacToeConstants.js.map +1 -0
- package/lib/module/games/tic-tac-toe/TicTacToeService.js +1 -0
- package/lib/module/games/tic-tac-toe/TicTacToeService.js.map +1 -0
- package/lib/module/games/tic-tac-toe/TicTacToeStore.js +1 -0
- package/lib/module/games/tic-tac-toe/TicTacToeStore.js.map +1 -0
- package/lib/module/games/tic-tac-toe/components/GameBackground.js +1 -0
- package/lib/module/games/tic-tac-toe/components/GameBackground.js.map +1 -0
- package/lib/module/games/tic-tac-toe/components/GameBoard.js +1 -0
- package/lib/module/games/tic-tac-toe/components/GameBoard.js.map +1 -0
- package/lib/module/games/tic-tac-toe/components/ScoreBoard.js +1 -0
- package/lib/module/games/tic-tac-toe/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/tile-home/TileHome.js +1 -0
- package/lib/module/games/tile-home/TileHome.js.map +1 -0
- package/lib/module/games/tile-home/TileHomeConstants.js +1 -0
- package/lib/module/games/tile-home/TileHomeConstants.js.map +1 -0
- package/lib/module/games/tile-home/TileHomeService.js +1 -0
- package/lib/module/games/tile-home/TileHomeService.js.map +1 -0
- package/lib/module/games/tile-home/TileHomeStore.js +1 -0
- package/lib/module/games/tile-home/TileHomeStore.js.map +1 -0
- package/lib/module/games/tile-home/components/AnimatingTile.js +1 -0
- package/lib/module/games/tile-home/components/AnimatingTile.js.map +1 -0
- package/lib/module/games/tile-home/components/FlyingTile.js +1 -0
- package/lib/module/games/tile-home/components/FlyingTile.js.map +1 -0
- package/lib/module/games/tile-home/components/GameBackground.js +1 -0
- package/lib/module/games/tile-home/components/GameBackground.js.map +1 -0
- package/lib/module/games/tile-home/components/GameBoard.js +1 -0
- package/lib/module/games/tile-home/components/GameBoard.js.map +1 -0
- package/lib/module/games/tile-home/components/ScoreBoard.js +1 -0
- package/lib/module/games/tile-home/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/tile-home/components/TileItem.js +1 -0
- package/lib/module/games/tile-home/components/TileItem.js.map +1 -0
- package/lib/module/games/tile-home/components/TileSlot.js +1 -0
- package/lib/module/games/tile-home/components/TileSlot.js.map +1 -0
- package/lib/module/games/whack-a-mole/WhackAMole.js +1 -1
- package/lib/module/games/whack-a-mole/WhackAMole.js.map +1 -1
- package/lib/module/games/whack-a-mole/WhackAMoleConstants.js +1 -1
- package/lib/module/games/whack-a-mole/WhackAMoleConstants.js.map +1 -1
- package/lib/module/games/whack-a-mole/WhackAMoleService.js +1 -1
- package/lib/module/games/whack-a-mole/WhackAMoleStore.js +1 -1
- package/lib/module/games/whack-a-mole/WhackAMoleStore.js.map +1 -1
- package/lib/module/games/whack-a-mole/components/GameBackground.js +1 -1
- package/lib/module/games/whack-a-mole/components/GameBackground.js.map +1 -1
- package/lib/module/games/whack-a-mole/components/GameGrid.js +1 -1
- package/lib/module/games/whack-a-mole/components/GameGrid.js.map +1 -1
- package/lib/module/games/whack-a-mole/components/GameHole.js +1 -1
- package/lib/module/games/whack-a-mole/components/GameHole.js.map +1 -1
- package/lib/module/games/whack-a-mole/components/MoleCharacter.js +1 -1
- package/lib/module/games/whack-a-mole/components/MoleCharacter.js.map +1 -1
- package/lib/module/games/whack-a-mole/components/ScoreBoard.js +1 -1
- package/lib/module/games/whack-a-mole/components/ScoreBoard.js.map +1 -1
- package/lib/module/games/word-search/WordSearch.js +1 -0
- package/lib/module/games/word-search/WordSearch.js.map +1 -0
- package/lib/module/games/word-search/WordSearchConstants.js +1 -0
- package/lib/module/games/word-search/WordSearchConstants.js.map +1 -0
- package/lib/module/games/word-search/WordSearchService.js +1 -0
- package/lib/module/games/word-search/WordSearchService.js.map +1 -0
- package/lib/module/games/word-search/WordSearchStore.js +1 -0
- package/lib/module/games/word-search/WordSearchStore.js.map +1 -0
- package/lib/module/games/word-search/components/GameBackground.js +1 -0
- package/lib/module/games/word-search/components/GameBackground.js.map +1 -0
- package/lib/module/games/word-search/components/GameBoard.js +1 -0
- package/lib/module/games/word-search/components/GameBoard.js.map +1 -0
- package/lib/module/games/word-search/components/ScoreBoard.js +1 -0
- package/lib/module/games/word-search/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/word-search/components/WordList.js +1 -0
- package/lib/module/games/word-search/components/WordList.js.map +1 -0
- package/lib/module/helpers/AnimationFrame.js +1 -1
- package/lib/module/helpers/AnimationFrame.js.map +1 -1
- package/lib/module/helpers/AnimationTracker.js +1 -1
- package/lib/module/helpers/AnimationTracker.js.map +1 -1
- package/lib/module/helpers/ErrorHandler.js +1 -1
- package/lib/module/helpers/ErrorHandler.js.map +1 -1
- package/lib/module/helpers/GameControlButton.js +1 -1
- package/lib/module/helpers/GameControlButton.js.map +1 -1
- package/lib/module/helpers/GameOverModal.js +1 -1
- package/lib/module/helpers/GameOverModal.js.map +1 -1
- package/lib/module/helpers/GameSettingsModal.js +1 -1
- package/lib/module/helpers/GameSettingsModal.js.map +1 -1
- package/lib/module/helpers/ParticleBlast.js +1 -1
- package/lib/module/helpers/ParticleBlast.js.map +1 -1
- package/lib/module/helpers/ScoreBoardContainer.js +1 -1
- package/lib/module/helpers/ScoreBoardContainer.js.map +1 -1
- package/lib/module/helpers/assets/apple-fruit.js +1 -0
- package/lib/module/helpers/assets/apple-fruit.js.map +1 -0
- package/lib/module/helpers/assets/avocado-item.js +1 -0
- package/lib/module/helpers/assets/avocado-item.js.map +1 -0
- package/lib/module/helpers/assets/banana-fruit.js +1 -0
- package/lib/module/helpers/assets/banana-fruit.js.map +1 -0
- package/lib/module/helpers/assets/bomb-item.js +1 -0
- package/lib/module/helpers/assets/bomb-item.js.map +1 -0
- package/lib/module/helpers/assets/broccoli-item.js +1 -0
- package/lib/module/helpers/assets/broccoli-item.js.map +1 -0
- package/lib/module/helpers/assets/cherries-fruit.js +1 -0
- package/lib/module/helpers/assets/cherries-fruit.js.map +1 -0
- package/lib/module/helpers/assets/donut-item.js +1 -0
- package/lib/module/helpers/assets/donut-item.js.map +1 -0
- package/lib/module/helpers/assets/dragonfruit-item.js +1 -0
- package/lib/module/helpers/assets/dragonfruit-item.js.map +1 -0
- package/lib/module/helpers/assets/fries-item.js +1 -0
- package/lib/module/helpers/assets/fries-item.js.map +1 -0
- package/lib/module/helpers/assets/fruit-helpers.js +1 -0
- package/lib/module/helpers/assets/fruit-helpers.js.map +1 -0
- package/lib/module/helpers/assets/grapes-fruit.js +1 -0
- package/lib/module/helpers/assets/grapes-fruit.js.map +1 -0
- package/lib/module/helpers/assets/icecream-item.js +1 -0
- package/lib/module/helpers/assets/icecream-item.js.map +1 -0
- package/lib/module/helpers/assets/index.js +1 -0
- package/lib/module/helpers/assets/index.js.map +1 -0
- package/lib/module/helpers/assets/kiwi-fruit.js +1 -0
- package/lib/module/helpers/assets/kiwi-fruit.js.map +1 -0
- package/lib/module/helpers/assets/mango-fruit.js +1 -0
- package/lib/module/helpers/assets/mango-fruit.js.map +1 -0
- package/lib/module/helpers/assets/orange-fruit.js +1 -0
- package/lib/module/helpers/assets/orange-fruit.js.map +1 -0
- package/lib/module/helpers/assets/papaya-fruit.js +1 -0
- package/lib/module/helpers/assets/papaya-fruit.js.map +1 -0
- package/lib/module/helpers/assets/papaya-full-fruit.js +1 -0
- package/lib/module/helpers/assets/papaya-full-fruit.js.map +1 -0
- package/lib/module/helpers/assets/peach-fruit.js +1 -0
- package/lib/module/helpers/assets/peach-fruit.js.map +1 -0
- package/lib/module/helpers/assets/pineapple-fruit.js +1 -0
- package/lib/module/helpers/assets/pineapple-fruit.js.map +1 -0
- package/lib/module/helpers/assets/pomegranate-fruit.js +1 -0
- package/lib/module/helpers/assets/pomegranate-fruit.js.map +1 -0
- package/lib/module/helpers/assets/pumpkin-fruit.js +1 -0
- package/lib/module/helpers/assets/pumpkin-fruit.js.map +1 -0
- package/lib/module/helpers/assets/raspberry-item.js +1 -0
- package/lib/module/helpers/assets/raspberry-item.js.map +1 -0
- package/lib/module/helpers/assets/star-item.js +1 -0
- package/lib/module/helpers/assets/star-item.js.map +1 -0
- package/lib/module/helpers/assets/strawberry-fruit.js +1 -0
- package/lib/module/helpers/assets/strawberry-fruit.js.map +1 -0
- package/lib/module/helpers/assets/watermelon-fruit.js +1 -0
- package/lib/module/helpers/assets/watermelon-fruit.js.map +1 -0
- package/lib/module/helpers/index.js +1 -1
- package/lib/module/helpers/index.js.map +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/services/GamesConstants.js +1 -1
- package/lib/module/services/GamesConstants.js.map +1 -1
- package/lib/module/services/GamesService.js +1 -1
- package/lib/module/services/GamesService.js.map +1 -1
- package/lib/module/services/HapticsService.js +1 -1
- package/lib/module/services/HapticsService.js.map +1 -1
- package/lib/module/services/ScoringService.js +1 -1
- package/lib/module/services/ScoringService.js.map +1 -1
- package/lib/module/services/SoundsService.js +1 -1
- package/lib/module/services/SoundsService.js.map +1 -1
- package/lib/module/services/ThemeUtils.js +1 -0
- package/lib/module/services/ThemeUtils.js.map +1 -0
- package/lib/module/services/UtilsService.js +1 -1
- package/lib/module/services/UtilsService.js.map +1 -1
- package/lib/module/types.d.js +1 -0
- package/lib/module/types.d.js.map +1 -0
- package/lib/typescript/src/games/balloon-blaster/BalloonBlaster.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterConstants.d.ts +21 -25
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterService.d.ts +27 -1
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterService.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterStore.d.ts +4 -0
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterStore.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/components/BalloonComponent.d.ts +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 +8 -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/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/bike-racing/BikeRacing.d.ts.map +1 -1
- package/lib/typescript/src/games/bike-racing/BikeRacingConstants.d.ts +28 -61
- package/lib/typescript/src/games/bike-racing/BikeRacingConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/bike-racing/BikeRacingService.d.ts +19 -0
- package/lib/typescript/src/games/bike-racing/BikeRacingService.d.ts.map +1 -1
- package/lib/typescript/src/games/bike-racing/BikeRacingStore.d.ts +1 -13
- package/lib/typescript/src/games/bike-racing/BikeRacingStore.d.ts.map +1 -1
- package/lib/typescript/src/games/bike-racing/components/BikeComponent.d.ts +3 -2
- package/lib/typescript/src/games/bike-racing/components/BikeComponent.d.ts.map +1 -1
- package/lib/typescript/src/games/bike-racing/components/GameBackground.d.ts +1 -2
- package/lib/typescript/src/games/bike-racing/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/bike-racing/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/block-blast/BlockBlast.d.ts.map +1 -1
- package/lib/typescript/src/games/block-blast/BlockBlastConstants.d.ts +30 -67
- package/lib/typescript/src/games/block-blast/BlockBlastConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/block-blast/BlockBlastService.d.ts.map +1 -1
- package/lib/typescript/src/games/block-blast/BlockBlastStore.d.ts.map +1 -1
- package/lib/typescript/src/games/block-blast/components/BlastAnimation.d.ts.map +1 -1
- package/lib/typescript/src/games/block-blast/components/BlockPieceComponent.d.ts +1 -1
- package/lib/typescript/src/games/block-blast/components/BlockPieceComponent.d.ts.map +1 -1
- package/lib/typescript/src/games/block-blast/components/GameArea.d.ts.map +1 -1
- package/lib/typescript/src/games/block-blast/components/GameBackground.d.ts +1 -1
- package/lib/typescript/src/games/block-blast/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/block-blast/components/GridComponent.d.ts +2 -4
- package/lib/typescript/src/games/block-blast/components/GridComponent.d.ts.map +1 -1
- package/lib/typescript/src/games/block-blast/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/bubble-shooter/BubbleShooter.d.ts +1 -1
- package/lib/typescript/src/games/bubble-shooter/BubbleShooter.d.ts.map +1 -1
- package/lib/typescript/src/games/bubble-shooter/BubbleShooterConstants.d.ts +22 -51
- package/lib/typescript/src/games/bubble-shooter/BubbleShooterConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/bubble-shooter/BubbleShooterService.d.ts +5 -4
- package/lib/typescript/src/games/bubble-shooter/BubbleShooterService.d.ts.map +1 -1
- package/lib/typescript/src/games/bubble-shooter/BubbleShooterStore.d.ts.map +1 -1
- package/lib/typescript/src/games/bubble-shooter/components/GameArea.d.ts +1 -1
- package/lib/typescript/src/games/bubble-shooter/components/GameArea.d.ts.map +1 -1
- package/lib/typescript/src/games/bubble-shooter/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/bubble-shooter/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/candy-crush/CandyCrush.d.ts.map +1 -1
- package/lib/typescript/src/games/candy-crush/CandyCrushConstants.d.ts +22 -50
- package/lib/typescript/src/games/candy-crush/CandyCrushConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/candy-crush/CandyCrushService.d.ts +1 -1
- package/lib/typescript/src/games/candy-crush/CandyCrushService.d.ts.map +1 -1
- package/lib/typescript/src/games/candy-crush/CandyCrushStore.d.ts +1 -2
- package/lib/typescript/src/games/candy-crush/CandyCrushStore.d.ts.map +1 -1
- package/lib/typescript/src/games/candy-crush/components/BlastAnimation.d.ts.map +1 -1
- package/lib/typescript/src/games/candy-crush/components/CandyItem.d.ts +2 -1
- package/lib/typescript/src/games/candy-crush/components/CandyItem.d.ts.map +1 -1
- package/lib/typescript/src/games/candy-crush/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/candy-crush/components/GameGrid.d.ts +1 -1
- package/lib/typescript/src/games/candy-crush/components/GameGrid.d.ts.map +1 -1
- package/lib/typescript/src/games/candy-crush/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/car-racing/CarRacing.d.ts.map +1 -1
- package/lib/typescript/src/games/car-racing/CarRacingConstants.d.ts +28 -61
- package/lib/typescript/src/games/car-racing/CarRacingConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/car-racing/CarRacingService.d.ts +19 -0
- package/lib/typescript/src/games/car-racing/CarRacingService.d.ts.map +1 -1
- package/lib/typescript/src/games/car-racing/CarRacingStore.d.ts +1 -13
- package/lib/typescript/src/games/car-racing/CarRacingStore.d.ts.map +1 -1
- package/lib/typescript/src/games/car-racing/components/CarComponent.d.ts +2 -1
- package/lib/typescript/src/games/car-racing/components/CarComponent.d.ts.map +1 -1
- package/lib/typescript/src/games/car-racing/components/GameBackground.d.ts +1 -2
- package/lib/typescript/src/games/car-racing/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/car-racing/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/colors-sort/ColorsSort.d.ts.map +1 -1
- package/lib/typescript/src/games/colors-sort/ColorsSortConstants.d.ts +19 -24
- package/lib/typescript/src/games/colors-sort/ColorsSortConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/colors-sort/ColorsSortService.d.ts +4 -8
- package/lib/typescript/src/games/colors-sort/ColorsSortService.d.ts.map +1 -1
- package/lib/typescript/src/games/colors-sort/ColorsSortStore.d.ts +1 -2
- package/lib/typescript/src/games/colors-sort/ColorsSortStore.d.ts.map +1 -1
- package/lib/typescript/src/games/colors-sort/components/ColorContainer.d.ts +1 -2
- package/lib/typescript/src/games/colors-sort/components/ColorContainer.d.ts.map +1 -1
- package/lib/typescript/src/games/colors-sort/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/colors-sort/components/ScoreBoard.d.ts +1 -1
- package/lib/typescript/src/games/colors-sort/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/connect-em-all/ConnectEmAll.d.ts +4 -0
- package/lib/typescript/src/games/connect-em-all/ConnectEmAll.d.ts.map +1 -0
- package/lib/typescript/src/games/connect-em-all/ConnectEmAllConstants.d.ts +26 -0
- package/lib/typescript/src/games/connect-em-all/ConnectEmAllConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/connect-em-all/ConnectEmAllService.d.ts +20 -0
- package/lib/typescript/src/games/connect-em-all/ConnectEmAllService.d.ts.map +1 -0
- package/lib/typescript/src/games/connect-em-all/ConnectEmAllStore.d.ts +41 -0
- package/lib/typescript/src/games/connect-em-all/ConnectEmAllStore.d.ts.map +1 -0
- package/lib/typescript/src/games/connect-em-all/components/GameBackground.d.ts +8 -0
- package/lib/typescript/src/games/connect-em-all/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/connect-em-all/components/GameBoard.d.ts +8 -0
- package/lib/typescript/src/games/connect-em-all/components/GameBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/connect-em-all/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/dino-jump/DinoJump.d.ts.map +1 -1
- package/lib/typescript/src/games/dino-jump/DinoJumpConstants.d.ts +20 -34
- package/lib/typescript/src/games/dino-jump/DinoJumpConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/dino-jump/DinoJumpService.d.ts +6 -6
- package/lib/typescript/src/games/dino-jump/DinoJumpService.d.ts.map +1 -1
- package/lib/typescript/src/games/dino-jump/DinoJumpStore.d.ts +27 -35
- package/lib/typescript/src/games/dino-jump/DinoJumpStore.d.ts.map +1 -1
- package/lib/typescript/src/games/dino-jump/components/DinoSprite.d.ts.map +1 -1
- package/lib/typescript/src/games/dino-jump/components/GameArea.d.ts +1 -1
- package/lib/typescript/src/games/dino-jump/components/GameArea.d.ts.map +1 -1
- package/lib/typescript/src/games/dino-jump/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/dino-jump/components/ObstacleSprite.d.ts +7 -1
- package/lib/typescript/src/games/dino-jump/components/ObstacleSprite.d.ts.map +1 -1
- package/lib/typescript/src/games/dino-jump/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/dino-jump/components/StarSprite.d.ts.map +1 -1
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxes.d.ts +4 -0
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxes.d.ts.map +1 -0
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxesConstants.d.ts +31 -0
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxesConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxesService.d.ts +41 -0
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxesService.d.ts.map +1 -0
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxesStore.d.ts +30 -0
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxesStore.d.ts.map +1 -0
- package/lib/typescript/src/games/dots-and-boxes/components/GameBackground.d.ts +8 -0
- package/lib/typescript/src/games/dots-and-boxes/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/dots-and-boxes/components/GameBoard.d.ts +8 -0
- package/lib/typescript/src/games/dots-and-boxes/components/GameBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/dots-and-boxes/components/ScoreBoard.d.ts +7 -0
- package/lib/typescript/src/games/dots-and-boxes/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/flappy-bird/FlappyBird.d.ts.map +1 -1
- package/lib/typescript/src/games/flappy-bird/FlappyBirdConstants.d.ts +17 -58
- package/lib/typescript/src/games/flappy-bird/FlappyBirdConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/flappy-bird/FlappyBirdStore.d.ts +16 -4
- package/lib/typescript/src/games/flappy-bird/FlappyBirdStore.d.ts.map +1 -1
- package/lib/typescript/src/games/flappy-bird/components/Bird.d.ts +1 -6
- package/lib/typescript/src/games/flappy-bird/components/Bird.d.ts.map +1 -1
- package/lib/typescript/src/games/flappy-bird/components/GameArea.d.ts +1 -1
- package/lib/typescript/src/games/flappy-bird/components/GameArea.d.ts.map +1 -1
- package/lib/typescript/src/games/flappy-bird/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/flappy-bird/components/Pipes.d.ts.map +1 -1
- package/lib/typescript/src/games/flappy-bird/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-merger/FruitMerger.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-merger/FruitMergerConstants.d.ts +23 -32
- package/lib/typescript/src/games/fruit-merger/FruitMergerConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-merger/FruitMergerService.d.ts +0 -1
- package/lib/typescript/src/games/fruit-merger/FruitMergerService.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-merger/FruitMergerStore.d.ts +12 -0
- package/lib/typescript/src/games/fruit-merger/FruitMergerStore.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-merger/components/FruitItem.d.ts +1 -1
- package/lib/typescript/src/games/fruit-merger/components/FruitItem.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-merger/components/GameArea.d.ts +3 -2
- package/lib/typescript/src/games/fruit-merger/components/GameArea.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-merger/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-merger/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-ninja/FruitNinja.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaConstants.d.ts +34 -26
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaService.d.ts +23 -5
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaService.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaStore.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-ninja/components/FruitComponent.d.ts +3 -3
- package/lib/typescript/src/games/fruit-ninja/components/FruitComponent.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-ninja/components/GameArea.d.ts +6 -1
- package/lib/typescript/src/games/fruit-ninja/components/GameArea.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-ninja/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-ninja/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/game-2048/Game2048.d.ts.map +1 -1
- package/lib/typescript/src/games/game-2048/Game2048Constants.d.ts +16 -35
- package/lib/typescript/src/games/game-2048/Game2048Constants.d.ts.map +1 -1
- package/lib/typescript/src/games/game-2048/Game2048Service.d.ts +3 -10
- package/lib/typescript/src/games/game-2048/Game2048Service.d.ts.map +1 -1
- package/lib/typescript/src/games/game-2048/Game2048Store.d.ts +3 -8
- package/lib/typescript/src/games/game-2048/Game2048Store.d.ts.map +1 -1
- package/lib/typescript/src/games/game-2048/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/game-2048/components/GameGrid.d.ts +0 -1
- package/lib/typescript/src/games/game-2048/components/GameGrid.d.ts.map +1 -1
- package/lib/typescript/src/games/game-2048/components/GameTile.d.ts.map +1 -1
- package/lib/typescript/src/games/game-2048/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/ludo-king/LudoKing.d.ts +4 -0
- package/lib/typescript/src/games/ludo-king/LudoKing.d.ts.map +1 -0
- package/lib/typescript/src/games/ludo-king/LudoKingConstants.d.ts +49 -0
- package/lib/typescript/src/games/ludo-king/LudoKingConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/ludo-king/LudoKingService.d.ts +34 -0
- package/lib/typescript/src/games/ludo-king/LudoKingService.d.ts.map +1 -0
- package/lib/typescript/src/games/ludo-king/LudoKingStore.d.ts +35 -0
- package/lib/typescript/src/games/ludo-king/LudoKingStore.d.ts.map +1 -0
- package/lib/typescript/src/games/ludo-king/components/Dice.d.ts +8 -0
- package/lib/typescript/src/games/ludo-king/components/Dice.d.ts.map +1 -0
- package/lib/typescript/src/games/ludo-king/components/GameBackground.d.ts +8 -0
- package/lib/typescript/src/games/ludo-king/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/ludo-king/components/GameBoard.d.ts +8 -0
- package/lib/typescript/src/games/ludo-king/components/GameBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/ludo-king/components/ScoreBoard.d.ts +7 -0
- package/lib/typescript/src/games/ludo-king/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/maze-runner/MazeRunner.d.ts.map +1 -1
- package/lib/typescript/src/games/maze-runner/MazeRunnerConstants.d.ts +20 -37
- package/lib/typescript/src/games/maze-runner/MazeRunnerConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/maze-runner/MazeRunnerStore.d.ts +63 -0
- package/lib/typescript/src/games/maze-runner/MazeRunnerStore.d.ts.map +1 -0
- package/lib/typescript/src/games/maze-runner/components/EnhancedBallComponent.d.ts +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 +24 -2
- 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.map +1 -1
- package/lib/typescript/src/games/maze-runner/components/ScoreBoard.d.ts +16 -1
- package/lib/typescript/src/games/maze-runner/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/maze-runner/components/SkiaPipeComponent.d.ts.map +1 -1
- package/lib/typescript/src/games/maze-runner/components/StaticGameBackground.d.ts +1 -1
- package/lib/typescript/src/games/maze-runner/components/StaticGameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/maze-runner/components/WallComponent.d.ts +1 -1
- package/lib/typescript/src/games/maze-runner/components/WallComponent.d.ts.map +1 -1
- package/lib/typescript/src/games/number-search/NumberSearch.d.ts +4 -0
- package/lib/typescript/src/games/number-search/NumberSearch.d.ts.map +1 -0
- package/lib/typescript/src/games/number-search/NumberSearchConstants.d.ts +66 -0
- package/lib/typescript/src/games/number-search/NumberSearchConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/number-search/NumberSearchService.d.ts +35 -0
- package/lib/typescript/src/games/number-search/NumberSearchService.d.ts.map +1 -0
- package/lib/typescript/src/games/number-search/NumberSearchStore.d.ts +66 -0
- package/lib/typescript/src/games/number-search/NumberSearchStore.d.ts.map +1 -0
- package/lib/typescript/src/games/number-search/components/GameBackground.d.ts +8 -0
- package/lib/typescript/src/games/number-search/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/number-search/components/GameBoard.d.ts +8 -0
- package/lib/typescript/src/games/number-search/components/GameBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/number-search/components/NumberList.d.ts +3 -0
- package/lib/typescript/src/games/number-search/components/NumberList.d.ts.map +1 -0
- package/lib/typescript/src/games/number-search/components/ScoreBoard.d.ts +7 -0
- package/lib/typescript/src/games/number-search/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBolts.d.ts +4 -0
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBolts.d.ts.map +1 -0
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBoltsConstants.d.ts +38 -0
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBoltsConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBoltsService.d.ts +68 -0
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBoltsService.d.ts.map +1 -0
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBoltsStore.d.ts +45 -0
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBoltsStore.d.ts.map +1 -0
- package/lib/typescript/src/games/nuts-and-bolts/components/GameBackground.d.ts +7 -0
- package/lib/typescript/src/games/nuts-and-bolts/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/nuts-and-bolts/components/GameBoard.d.ts +8 -0
- package/lib/typescript/src/games/nuts-and-bolts/components/GameBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/nuts-and-bolts/components/ScoreBoard.d.ts +7 -0
- package/lib/typescript/src/games/nuts-and-bolts/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/{snake/Snake.d.ts → pac-man/PacMan.d.ts} +2 -2
- package/lib/typescript/src/games/pac-man/PacMan.d.ts.map +1 -0
- package/lib/typescript/src/games/pac-man/PacManConstants.d.ts +181 -0
- package/lib/typescript/src/games/pac-man/PacManConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/pac-man/PacManService.d.ts +68 -0
- package/lib/typescript/src/games/pac-man/PacManService.d.ts.map +1 -0
- package/lib/typescript/src/games/pac-man/PacManStore.d.ts +71 -0
- package/lib/typescript/src/games/pac-man/PacManStore.d.ts.map +1 -0
- package/lib/typescript/src/games/pac-man/components/GameBackground.d.ts +5 -0
- package/lib/typescript/src/games/pac-man/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/pac-man/components/GameCanvas.d.ts +3 -0
- package/lib/typescript/src/games/pac-man/components/GameCanvas.d.ts.map +1 -0
- package/lib/typescript/src/games/pac-man/components/ScoreBoard.d.ts +7 -0
- package/lib/typescript/src/games/pac-man/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/perfect-circle/PerfectCircle.d.ts +1 -1
- package/lib/typescript/src/games/perfect-circle/PerfectCircle.d.ts.map +1 -1
- package/lib/typescript/src/games/perfect-circle/PerfectCircleConstants.d.ts +14 -33
- package/lib/typescript/src/games/perfect-circle/PerfectCircleConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/perfect-circle/PerfectCircleService.d.ts.map +1 -1
- package/lib/typescript/src/games/perfect-circle/PerfectCircleStore.d.ts.map +1 -1
- package/lib/typescript/src/games/perfect-circle/components/DrawingCanvas.d.ts.map +1 -1
- package/lib/typescript/src/games/perfect-circle/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/perfect-circle/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/popit-fidget/PopitFidget.d.ts.map +1 -1
- package/lib/typescript/src/games/popit-fidget/PopitFidgetConstants.d.ts +18 -16
- package/lib/typescript/src/games/popit-fidget/PopitFidgetConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/popit-fidget/PopitFidgetService.d.ts +1 -1
- package/lib/typescript/src/games/popit-fidget/PopitFidgetService.d.ts.map +1 -1
- package/lib/typescript/src/games/popit-fidget/PopitFidgetStore.d.ts.map +1 -1
- package/lib/typescript/src/games/popit-fidget/components/BubbleComponent.d.ts +2 -2
- package/lib/typescript/src/games/popit-fidget/components/BubbleComponent.d.ts.map +1 -1
- package/lib/typescript/src/games/popit-fidget/components/FidgetGrid.d.ts.map +1 -1
- package/lib/typescript/src/games/popit-fidget/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/popit-fidget/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbers.d.ts.map +1 -1
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersConstants.d.ts +16 -18
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersService.d.ts +7 -7
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersService.d.ts.map +1 -1
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersStore.d.ts +3 -5
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersStore.d.ts.map +1 -1
- package/lib/typescript/src/games/sliding-numbers/components/GameBackground.d.ts +1 -1
- package/lib/typescript/src/games/sliding-numbers/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/sliding-numbers/components/NumbersGrid.d.ts +0 -1
- package/lib/typescript/src/games/sliding-numbers/components/NumbersGrid.d.ts.map +1 -1
- package/lib/typescript/src/games/sliding-numbers/components/NumbersTile.d.ts.map +1 -1
- package/lib/typescript/src/games/sliding-numbers/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/snake-3d/Snake3D.d.ts +4 -0
- package/lib/typescript/src/games/snake-3d/Snake3D.d.ts.map +1 -0
- package/lib/typescript/src/games/{snake/SnakeConstants.d.ts → snake-3d/Snake3DConstants.d.ts} +22 -23
- package/lib/typescript/src/games/snake-3d/Snake3DConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/{snake/SnakeService.d.ts → snake-3d/Snake3DService.d.ts} +4 -4
- package/lib/typescript/src/games/snake-3d/Snake3DService.d.ts.map +1 -0
- package/lib/typescript/src/games/{snake/SnakeStore.d.ts → snake-3d/Snake3DStore.d.ts} +10 -12
- package/lib/typescript/src/games/snake-3d/Snake3DStore.d.ts.map +1 -0
- package/lib/typescript/src/games/snake-3d/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/snake-3d/components/GameGrid.d.ts.map +1 -0
- package/lib/typescript/src/games/snake-3d/components/ScoreBoard.d.ts +7 -0
- package/lib/typescript/src/games/snake-3d/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/space-fighter/SpaceFighter.d.ts.map +1 -1
- package/lib/typescript/src/games/space-fighter/SpaceFighterConstants.d.ts +27 -62
- package/lib/typescript/src/games/space-fighter/SpaceFighterConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/space-fighter/SpaceFighterService.d.ts +9 -2
- package/lib/typescript/src/games/space-fighter/SpaceFighterService.d.ts.map +1 -1
- package/lib/typescript/src/games/space-fighter/SpaceFighterStore.d.ts +4 -0
- package/lib/typescript/src/games/space-fighter/SpaceFighterStore.d.ts.map +1 -1
- package/lib/typescript/src/games/space-fighter/components/AsteroidComponent.d.ts.map +1 -1
- package/lib/typescript/src/games/space-fighter/components/GameArea.d.ts.map +1 -1
- package/lib/typescript/src/games/space-fighter/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/space-fighter/components/ScoreBoard.d.ts +1 -1
- package/lib/typescript/src/games/space-fighter/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/space-fighter/components/Spacecraft3D.d.ts.map +1 -1
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaire.d.ts +4 -0
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaire.d.ts.map +1 -0
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaireConstants.d.ts +49 -0
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaireConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaireService.d.ts +24 -0
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaireService.d.ts.map +1 -0
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaireStore.d.ts +72 -0
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaireStore.d.ts.map +1 -0
- package/lib/typescript/src/games/spider-solitaire/components/Card.d.ts +11 -0
- package/lib/typescript/src/games/spider-solitaire/components/Card.d.ts.map +1 -0
- package/lib/typescript/src/games/spider-solitaire/components/CardPile.d.ts +13 -0
- package/lib/typescript/src/games/spider-solitaire/components/CardPile.d.ts.map +1 -0
- package/lib/typescript/src/games/spider-solitaire/components/GameBackground.d.ts +7 -0
- package/lib/typescript/src/games/spider-solitaire/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/spider-solitaire/components/ScoreBoard.d.ts +7 -0
- package/lib/typescript/src/games/spider-solitaire/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/tank-1990/Tank1990.d.ts +4 -0
- package/lib/typescript/src/games/tank-1990/Tank1990.d.ts.map +1 -0
- package/lib/typescript/src/games/tank-1990/Tank1990Constants.d.ts +85 -0
- package/lib/typescript/src/games/tank-1990/Tank1990Constants.d.ts.map +1 -0
- package/lib/typescript/src/games/tank-1990/Tank1990Service.d.ts +81 -0
- package/lib/typescript/src/games/tank-1990/Tank1990Service.d.ts.map +1 -0
- package/lib/typescript/src/games/tank-1990/Tank1990Store.d.ts +47 -0
- package/lib/typescript/src/games/tank-1990/Tank1990Store.d.ts.map +1 -0
- package/lib/typescript/src/games/tank-1990/components/Controls.d.ts +3 -0
- package/lib/typescript/src/games/tank-1990/components/Controls.d.ts.map +1 -0
- package/lib/typescript/src/games/tank-1990/components/GameBackground.d.ts +7 -0
- package/lib/typescript/src/games/tank-1990/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/tank-1990/components/GameBoard.d.ts +3 -0
- package/lib/typescript/src/games/tank-1990/components/GameBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/tank-1990/components/ScoreBoard.d.ts +7 -0
- package/lib/typescript/src/games/tank-1990/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/tic-tac-toe/TicTacToe.d.ts +4 -0
- package/lib/typescript/src/games/tic-tac-toe/TicTacToe.d.ts.map +1 -0
- package/lib/typescript/src/games/tic-tac-toe/TicTacToeConstants.d.ts +42 -0
- package/lib/typescript/src/games/tic-tac-toe/TicTacToeConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/tic-tac-toe/TicTacToeService.d.ts +1 -0
- package/lib/typescript/src/games/tic-tac-toe/TicTacToeService.d.ts.map +1 -0
- package/lib/typescript/src/games/tic-tac-toe/TicTacToeStore.d.ts +56 -0
- package/lib/typescript/src/games/tic-tac-toe/TicTacToeStore.d.ts.map +1 -0
- package/lib/typescript/src/games/tic-tac-toe/components/GameBackground.d.ts +7 -0
- package/lib/typescript/src/games/tic-tac-toe/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/tic-tac-toe/components/GameBoard.d.ts +12 -0
- package/lib/typescript/src/games/tic-tac-toe/components/GameBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/tic-tac-toe/components/ScoreBoard.d.ts +7 -0
- package/lib/typescript/src/games/tic-tac-toe/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/tile-home/TileHome.d.ts +4 -0
- package/lib/typescript/src/games/tile-home/TileHome.d.ts.map +1 -0
- package/lib/typescript/src/games/tile-home/TileHomeConstants.d.ts +76 -0
- package/lib/typescript/src/games/tile-home/TileHomeConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/tile-home/TileHomeService.d.ts +2 -0
- package/lib/typescript/src/games/tile-home/TileHomeService.d.ts.map +1 -0
- package/lib/typescript/src/games/tile-home/TileHomeStore.d.ts +52 -0
- package/lib/typescript/src/games/tile-home/TileHomeStore.d.ts.map +1 -0
- package/lib/typescript/src/games/tile-home/components/AnimatingTile.d.ts +10 -0
- package/lib/typescript/src/games/tile-home/components/AnimatingTile.d.ts.map +1 -0
- package/lib/typescript/src/games/tile-home/components/FlyingTile.d.ts +17 -0
- package/lib/typescript/src/games/tile-home/components/FlyingTile.d.ts.map +1 -0
- package/lib/typescript/src/games/tile-home/components/GameBackground.d.ts +8 -0
- package/lib/typescript/src/games/tile-home/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/tile-home/components/GameBoard.d.ts +8 -0
- package/lib/typescript/src/games/tile-home/components/GameBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/tile-home/components/ScoreBoard.d.ts +7 -0
- package/lib/typescript/src/games/tile-home/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/tile-home/components/TileItem.d.ts +12 -0
- package/lib/typescript/src/games/tile-home/components/TileItem.d.ts.map +1 -0
- package/lib/typescript/src/games/tile-home/components/TileSlot.d.ts +8 -0
- package/lib/typescript/src/games/tile-home/components/TileSlot.d.ts.map +1 -0
- package/lib/typescript/src/games/whack-a-mole/WhackAMole.d.ts.map +1 -1
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleConstants.d.ts +20 -46
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleStore.d.ts +2 -4
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleStore.d.ts.map +1 -1
- package/lib/typescript/src/games/whack-a-mole/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/whack-a-mole/components/GameGrid.d.ts +1 -1
- package/lib/typescript/src/games/whack-a-mole/components/GameGrid.d.ts.map +1 -1
- package/lib/typescript/src/games/whack-a-mole/components/GameHole.d.ts +1 -1
- package/lib/typescript/src/games/whack-a-mole/components/GameHole.d.ts.map +1 -1
- package/lib/typescript/src/games/whack-a-mole/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/word-search/WordSearch.d.ts +4 -0
- package/lib/typescript/src/games/word-search/WordSearch.d.ts.map +1 -0
- package/lib/typescript/src/games/word-search/WordSearchConstants.d.ts +66 -0
- package/lib/typescript/src/games/word-search/WordSearchConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/word-search/WordSearchService.d.ts +35 -0
- package/lib/typescript/src/games/word-search/WordSearchService.d.ts.map +1 -0
- package/lib/typescript/src/games/word-search/WordSearchStore.d.ts +66 -0
- package/lib/typescript/src/games/word-search/WordSearchStore.d.ts.map +1 -0
- package/lib/typescript/src/games/word-search/components/GameBackground.d.ts +8 -0
- package/lib/typescript/src/games/word-search/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/word-search/components/GameBoard.d.ts +8 -0
- package/lib/typescript/src/games/word-search/components/GameBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/word-search/components/ScoreBoard.d.ts +7 -0
- package/lib/typescript/src/games/word-search/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/word-search/components/WordList.d.ts +3 -0
- package/lib/typescript/src/games/word-search/components/WordList.d.ts.map +1 -0
- package/lib/typescript/src/helpers/AnimationFrame.d.ts.map +1 -1
- package/lib/typescript/src/helpers/AnimationTracker.d.ts.map +1 -1
- package/lib/typescript/src/helpers/ErrorHandler.d.ts.map +1 -1
- package/lib/typescript/src/helpers/GameControlButton.d.ts.map +1 -1
- package/lib/typescript/src/helpers/GameOverModal.d.ts.map +1 -1
- package/lib/typescript/src/helpers/GameSettingsModal.d.ts.map +1 -1
- package/lib/typescript/src/helpers/ParticleBlast.d.ts.map +1 -1
- package/lib/typescript/src/helpers/ScoreBoardContainer.d.ts.map +1 -1
- package/lib/typescript/src/helpers/assets/apple-fruit.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/apple-fruit.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/avocado-item.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/avocado-item.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/banana-fruit.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/banana-fruit.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/bomb-item.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/bomb-item.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/broccoli-item.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/broccoli-item.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/cherries-fruit.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/cherries-fruit.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/donut-item.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/donut-item.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/dragonfruit-item.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/dragonfruit-item.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/fries-item.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/fries-item.d.ts.map +1 -0
- package/lib/typescript/src/helpers/{AbstractFruits.d.ts → assets/fruit-helpers.d.ts} +6 -59
- package/lib/typescript/src/helpers/assets/fruit-helpers.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/grapes-fruit.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/grapes-fruit.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/icecream-item.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/icecream-item.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/index.d.ts +32 -0
- package/lib/typescript/src/helpers/assets/index.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/kiwi-fruit.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/kiwi-fruit.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/mango-fruit.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/mango-fruit.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/orange-fruit.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/orange-fruit.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/papaya-fruit.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/papaya-fruit.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/papaya-full-fruit.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/papaya-full-fruit.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/peach-fruit.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/peach-fruit.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/pineapple-fruit.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/pineapple-fruit.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/pomegranate-fruit.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/pomegranate-fruit.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/pumpkin-fruit.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/pumpkin-fruit.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/raspberry-item.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/raspberry-item.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/star-item.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/star-item.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/strawberry-fruit.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/strawberry-fruit.d.ts.map +1 -0
- package/lib/typescript/src/helpers/assets/watermelon-fruit.d.ts +5 -0
- package/lib/typescript/src/helpers/assets/watermelon-fruit.d.ts.map +1 -0
- package/lib/typescript/src/helpers/index.d.ts +1 -1
- package/lib/typescript/src/helpers/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +25 -14
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/services/GamesConstants.d.ts +19 -264
- package/lib/typescript/src/services/GamesConstants.d.ts.map +1 -1
- package/lib/typescript/src/services/GamesService.d.ts.map +1 -1
- package/lib/typescript/src/services/SoundsService.d.ts +74 -0
- package/lib/typescript/src/services/SoundsService.d.ts.map +1 -1
- package/lib/typescript/src/services/ThemeUtils.d.ts +5 -0
- package/lib/typescript/src/services/ThemeUtils.d.ts.map +1 -0
- package/lib/typescript/src/services/UtilsService.d.ts +21 -3
- package/lib/typescript/src/services/UtilsService.d.ts.map +1 -1
- package/package.json +55 -46
- package/lib/module/games/balloon-blaster/components/index.js +0 -1
- package/lib/module/games/balloon-blaster/components/index.js.map +0 -1
- package/lib/module/games/bike-racing/components/index.js +0 -1
- package/lib/module/games/bike-racing/components/index.js.map +0 -1
- package/lib/module/games/bike-racing/index.js +0 -1
- package/lib/module/games/bike-racing/index.js.map +0 -1
- package/lib/module/games/block-blast/components/index.js +0 -1
- package/lib/module/games/block-blast/components/index.js.map +0 -1
- package/lib/module/games/block-blast/index.js +0 -1
- package/lib/module/games/block-blast/index.js.map +0 -1
- package/lib/module/games/bubble-shooter/components/index.js +0 -1
- package/lib/module/games/bubble-shooter/components/index.js.map +0 -1
- package/lib/module/games/bubble-shooter/index.js +0 -1
- package/lib/module/games/bubble-shooter/index.js.map +0 -1
- package/lib/module/games/candy-crush/components/index.js +0 -1
- package/lib/module/games/candy-crush/components/index.js.map +0 -1
- package/lib/module/games/candy-crush/index.js +0 -1
- package/lib/module/games/candy-crush/index.js.map +0 -1
- package/lib/module/games/car-racing/components/index.js +0 -1
- package/lib/module/games/car-racing/components/index.js.map +0 -1
- package/lib/module/games/colors-sort/components/index.js +0 -1
- package/lib/module/games/colors-sort/components/index.js.map +0 -1
- package/lib/module/games/dino-jump/components/index.js +0 -1
- package/lib/module/games/dino-jump/components/index.js.map +0 -1
- package/lib/module/games/flappy-bird/components/index.js +0 -1
- package/lib/module/games/flappy-bird/components/index.js.map +0 -1
- package/lib/module/games/fruit-merger/components/index.js +0 -1
- package/lib/module/games/fruit-merger/components/index.js.map +0 -1
- package/lib/module/games/fruit-ninja/components/index.js +0 -1
- package/lib/module/games/fruit-ninja/components/index.js.map +0 -1
- package/lib/module/games/game-2048/components/index.js +0 -1
- package/lib/module/games/game-2048/components/index.js.map +0 -1
- package/lib/module/games/maze-runner/MazeRunnerService.js +0 -1
- package/lib/module/games/maze-runner/MazeRunnerService.js.map +0 -1
- package/lib/module/games/maze-runner/components/index.js +0 -1
- package/lib/module/games/maze-runner/components/index.js.map +0 -1
- package/lib/module/games/perfect-circle/index.js +0 -1
- package/lib/module/games/perfect-circle/index.js.map +0 -1
- package/lib/module/games/popit-fidget/components/index.js +0 -1
- package/lib/module/games/popit-fidget/components/index.js.map +0 -1
- package/lib/module/games/sliding-numbers/components/index.js +0 -1
- package/lib/module/games/sliding-numbers/components/index.js.map +0 -1
- package/lib/module/games/snake/Snake.js +0 -1
- package/lib/module/games/snake/Snake.js.map +0 -1
- package/lib/module/games/snake/SnakeConstants.js +0 -1
- package/lib/module/games/snake/SnakeConstants.js.map +0 -1
- package/lib/module/games/snake/SnakeService.js +0 -1
- package/lib/module/games/snake/SnakeService.js.map +0 -1
- package/lib/module/games/snake/SnakeStore.js +0 -1
- package/lib/module/games/snake/SnakeStore.js.map +0 -1
- package/lib/module/games/snake/components/GameBackground.js +0 -1
- package/lib/module/games/snake/components/GameBackground.js.map +0 -1
- package/lib/module/games/snake/components/GameGrid.js +0 -1
- package/lib/module/games/snake/components/GameGrid.js.map +0 -1
- package/lib/module/games/snake/components/ScoreBoard.js +0 -1
- package/lib/module/games/snake/components/ScoreBoard.js.map +0 -1
- package/lib/module/games/snake/components/index.js +0 -1
- package/lib/module/games/snake/components/index.js.map +0 -1
- package/lib/module/games/snake/index.js +0 -1
- package/lib/module/games/snake/index.js.map +0 -1
- package/lib/module/games/space-fighter/components/index.js +0 -1
- package/lib/module/games/space-fighter/components/index.js.map +0 -1
- package/lib/module/games/whack-a-mole/components/index.js +0 -1
- package/lib/module/games/whack-a-mole/components/index.js.map +0 -1
- package/lib/module/helpers/AbstractFruits.js +0 -1
- package/lib/module/helpers/AbstractFruits.js.map +0 -1
- package/lib/typescript/src/games/balloon-blaster/components/index.d.ts +0 -5
- package/lib/typescript/src/games/balloon-blaster/components/index.d.ts.map +0 -1
- package/lib/typescript/src/games/bike-racing/components/index.d.ts +0 -4
- package/lib/typescript/src/games/bike-racing/components/index.d.ts.map +0 -1
- package/lib/typescript/src/games/bike-racing/index.d.ts +0 -5
- package/lib/typescript/src/games/bike-racing/index.d.ts.map +0 -1
- package/lib/typescript/src/games/block-blast/components/index.d.ts +0 -6
- package/lib/typescript/src/games/block-blast/components/index.d.ts.map +0 -1
- package/lib/typescript/src/games/block-blast/index.d.ts +0 -5
- package/lib/typescript/src/games/block-blast/index.d.ts.map +0 -1
- package/lib/typescript/src/games/bubble-shooter/components/index.d.ts +0 -4
- package/lib/typescript/src/games/bubble-shooter/components/index.d.ts.map +0 -1
- package/lib/typescript/src/games/bubble-shooter/index.d.ts +0 -3
- package/lib/typescript/src/games/bubble-shooter/index.d.ts.map +0 -1
- package/lib/typescript/src/games/candy-crush/components/index.d.ts +0 -6
- package/lib/typescript/src/games/candy-crush/components/index.d.ts.map +0 -1
- package/lib/typescript/src/games/candy-crush/index.d.ts +0 -4
- package/lib/typescript/src/games/candy-crush/index.d.ts.map +0 -1
- package/lib/typescript/src/games/car-racing/components/index.d.ts +0 -4
- package/lib/typescript/src/games/car-racing/components/index.d.ts.map +0 -1
- package/lib/typescript/src/games/colors-sort/components/index.d.ts +0 -4
- package/lib/typescript/src/games/colors-sort/components/index.d.ts.map +0 -1
- package/lib/typescript/src/games/dino-jump/components/index.d.ts +0 -7
- package/lib/typescript/src/games/dino-jump/components/index.d.ts.map +0 -1
- package/lib/typescript/src/games/flappy-bird/components/index.d.ts +0 -6
- package/lib/typescript/src/games/flappy-bird/components/index.d.ts.map +0 -1
- package/lib/typescript/src/games/fruit-merger/components/index.d.ts +0 -5
- package/lib/typescript/src/games/fruit-merger/components/index.d.ts.map +0 -1
- package/lib/typescript/src/games/fruit-ninja/components/index.d.ts +0 -5
- package/lib/typescript/src/games/fruit-ninja/components/index.d.ts.map +0 -1
- package/lib/typescript/src/games/game-2048/components/index.d.ts +0 -5
- package/lib/typescript/src/games/game-2048/components/index.d.ts.map +0 -1
- package/lib/typescript/src/games/maze-runner/MazeRunnerService.d.ts +0 -85
- package/lib/typescript/src/games/maze-runner/MazeRunnerService.d.ts.map +0 -1
- package/lib/typescript/src/games/maze-runner/components/index.d.ts +0 -6
- package/lib/typescript/src/games/maze-runner/components/index.d.ts.map +0 -1
- package/lib/typescript/src/games/perfect-circle/index.d.ts +0 -3
- package/lib/typescript/src/games/perfect-circle/index.d.ts.map +0 -1
- package/lib/typescript/src/games/popit-fidget/components/index.d.ts +0 -5
- package/lib/typescript/src/games/popit-fidget/components/index.d.ts.map +0 -1
- package/lib/typescript/src/games/sliding-numbers/components/index.d.ts +0 -5
- package/lib/typescript/src/games/sliding-numbers/components/index.d.ts.map +0 -1
- package/lib/typescript/src/games/snake/Snake.d.ts.map +0 -1
- package/lib/typescript/src/games/snake/SnakeConstants.d.ts.map +0 -1
- package/lib/typescript/src/games/snake/SnakeService.d.ts.map +0 -1
- package/lib/typescript/src/games/snake/SnakeStore.d.ts.map +0 -1
- package/lib/typescript/src/games/snake/components/GameBackground.d.ts.map +0 -1
- package/lib/typescript/src/games/snake/components/GameGrid.d.ts.map +0 -1
- package/lib/typescript/src/games/snake/components/ScoreBoard.d.ts.map +0 -1
- package/lib/typescript/src/games/snake/components/index.d.ts +0 -4
- package/lib/typescript/src/games/snake/components/index.d.ts.map +0 -1
- package/lib/typescript/src/games/snake/index.d.ts +0 -4
- package/lib/typescript/src/games/snake/index.d.ts.map +0 -1
- package/lib/typescript/src/games/space-fighter/components/index.d.ts +0 -7
- package/lib/typescript/src/games/space-fighter/components/index.d.ts.map +0 -1
- package/lib/typescript/src/games/whack-a-mole/components/index.d.ts +0 -6
- package/lib/typescript/src/games/whack-a-mole/components/index.d.ts.map +0 -1
- package/lib/typescript/src/helpers/AbstractFruits.d.ts.map +0 -1
- /package/lib/typescript/src/games/{snake → connect-em-all}/components/ScoreBoard.d.ts +0 -0
- /package/lib/typescript/src/games/{snake → snake-3d}/components/GameBackground.d.ts +0 -0
- /package/lib/typescript/src/games/{snake → snake-3d}/components/GameGrid.d.ts +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 🎮 react-native-games
|
|
2
2
|
|
|
3
|
-
**react-native-games** is a collection of high-performance games for your React Native projects. Built with modern React Native technologies including Skia, Reanimated, Gesture Handler and TypeScript for smooth 60fps gameplay across iOS
|
|
3
|
+
**react-native-games** is a collection of 30 high-performance games for your React Native projects. Built with modern React Native technologies including Skia, Reanimated, Gesture Handler and TypeScript for smooth 60fps gameplay across iOS and Android platforms.
|
|
4
4
|
|
|
5
5
|
<div style="display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0;">
|
|
6
6
|
|
|
@@ -60,27 +60,38 @@
|
|
|
60
60
|
|
|
61
61
|
## 🎯 Available Games
|
|
62
62
|
|
|
63
|
-
| Screenshot
|
|
64
|
-
|
|
65
|
-
| <img src="https://cdn.worklage.com/playtura/screenshots/block-blast.png" alt="Block Blast" width="120"/>
|
|
66
|
-
| <img src="https://cdn.worklage.com/playtura/screenshots/bubble-shooter.png" alt="Bubble Shooter" width="120"/>
|
|
67
|
-
| <img src="https://cdn.worklage.com/playtura/screenshots/car-racing.png" alt="Car Racing" width="120"/>
|
|
68
|
-
| <img src="https://cdn.worklage.com/playtura/screenshots/fruit-ninja.png" alt="Fruit Ninja" width="120"/>
|
|
69
|
-
| <img src="https://cdn.worklage.com/playtura/screenshots/popit-fidget.png" alt="Popit Fidget" width="120"/>
|
|
70
|
-
| <img src="https://cdn.worklage.com/playtura/screenshots/flappy-bird.png" alt="Flappy Bird" width="120"/>
|
|
71
|
-
| <img src="https://cdn.worklage.com/playtura/screenshots/colors-sort.png" alt="Colors Sort" width="120"/>
|
|
72
|
-
| <img src="https://cdn.worklage.com/playtura/screenshots/dino-jump.png" alt="Dino Jump" width="120"/>
|
|
73
|
-
| <img src="https://cdn.worklage.com/playtura/screenshots/candy-crush.png" alt="Candy Crush" width="120"/>
|
|
74
|
-
| <img src="https://cdn.worklage.com/playtura/screenshots/whack-a-mole.png" alt="Whack A Mole" width="120"/>
|
|
75
|
-
| <img src="https://cdn.worklage.com/playtura/screenshots/balloon-blaster.png" alt="Balloon Blaster" width="120"/> | **🎈 Balloon Blaster**<br/>Pop rising balloons before they escape - quick taps and swipes win!<br/><br/>• Swipe or tap to pop balloons<br/>• Balloons rise from bottom to top<br/>• Particle effects on pop<br/>• Difficulty affects balloon speed and spawn rate
|
|
76
|
-
| <img src="https://cdn.worklage.com/playtura/screenshots/space-fighter.png" alt="Space Fighter" width="120"/>
|
|
77
|
-
| <img src="https://cdn.worklage.com/playtura/screenshots/bike-racing.png" alt="Bike Racing" width="120"/>
|
|
78
|
-
| <img src="https://cdn.worklage.com/playtura/screenshots/maze-runner.png" alt="Maze Runner" width="120"/>
|
|
79
|
-
| <img src="https://cdn.worklage.com/playtura/screenshots/sliding-numbers.png" alt="Sliding Numbers" width="120"/> | **🔢 Sliding Numbers**<br/>Slide numbered tiles to solve puzzles - classic sliding puzzle game!<br/><br/>• Classic 15-puzzle mechanics<br/>• Grid sizes: easy 3x3, medium 4x4, hard 5x5<br/>• Timer challenge mode<br/>• Smooth tile sliding animations
|
|
80
|
-
| <img src="https://cdn.worklage.com/playtura/screenshots/game-2048.png" alt="2048" width="120"/>
|
|
81
|
-
| <img src="https://cdn.worklage.com/playtura/screenshots/fruit-merger.png" alt="Fruit Merger" width="120"/>
|
|
82
|
-
| <img src="https://cdn.worklage.com/playtura/screenshots/snake.png" alt="Snake & Eggs" width="120"/>
|
|
83
|
-
| <img src="https://cdn.worklage.com/playtura/screenshots/perfect-circle.png" alt="Perfect Circle" width="120"/>
|
|
63
|
+
| Screenshot | Game Details |
|
|
64
|
+
| ---------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
65
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/block-blast.png" alt="Block Blast" width="120"/> | **🧩 Block Blast**<br/>Place blocks on grid to clear lines - strategic puzzle challenge!<br/><br/>• Tetris-style block placement puzzle<br/>• Clear lines horizontally or vertically<br/>• Strategic planning required for high scores<br/>• Difficulty affects available block shapes |
|
|
66
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/bubble-shooter.png" alt="Bubble Shooter" width="120"/> | **🎯 Bubble Shooter**<br/>Match 3+ bubbles of the same color - classic puzzle fun!<br/><br/>• Aim and shoot bubbles to match colors<br/>• Clear clusters of 3 or more bubbles<br/>• Physics-based bubble bouncing<br/>• Difficulty affects bubble speed and patterns |
|
|
67
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/car-racing.png" alt="Car Racing" width="120"/> | **🏎️ Car Racing**<br/>Dodge traffic and race through lanes - test your reflexes!<br/><br/>• Lane-based racing with traffic dodging<br/>• Swipe to change lanes quickly<br/>• Collect coins and power-ups<br/>• Difficulty affects traffic density and speed |
|
|
68
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/fruit-ninja.png" alt="Fruit Ninja" width="120"/> | **🍎 Fruit Ninja**<br/>Slice flying fruits with finger swipes - avoid the bombs!<br/><br/>• Swipe-based fruit slicing mechanics<br/>• Physics-based particle effects and combos<br/>• Avoid bombs for survival<br/>• Difficulty affects fruit spawn rate and bomb frequency |
|
|
69
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/popit-fidget.png" alt="Popit Fidget" width="120"/> | **🫧 Popit Fidget**<br/>Pop satisfying bubbles in this relaxing fidget toy simulation!<br/><br/>• Relaxing bubble popping experience<br/>• Satisfying sound effects and haptics<br/>• Rainbow gradient background<br/>• Different bubble patterns and colors |
|
|
70
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/flappy-bird.png" alt="Flappy Bird" width="120"/> | **🐦 Flappy Bird**<br/>Tap to flap and navigate through pipes - classic arcade challenge!<br/><br/>• Classic tap-to-flap mechanics<br/>• Gravity physics and collision detection<br/>• Navigate through pipe gaps<br/>• Difficulty affects pipe gap size and speed |
|
|
71
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/colors-sort.png" alt="Colors Sort" width="120"/> | **🎨 Colors Sort**<br/>Sort colored liquids into matching tubes - challenging logic puzzle!<br/><br/>• Pour liquids between tubes<br/>• Match all colors in separate tubes<br/>• Satisfying pour animations<br/>• Difficulty affects number of tubes and colors |
|
|
72
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/dino-jump.png" alt="Dino Jump" width="120"/> | **🦖 Dino Jump**<br/>Jump over obstacles and collect stars for lives - endless runner!<br/><br/>• Chrome dino-inspired endless runner<br/>• Tap to jump over obstacles<br/>• Collect stars for extra lives (max 3)<br/>• Difficulty affects obstacle spawn rate and speed |
|
|
73
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/candy-crush.png" alt="Candy Crush" width="120"/> | **🍬 Candy Crush**<br/>Match colorful candies in rows to score points - sweet puzzle fun!<br/><br/>• Match-3 puzzle mechanics<br/>• Create special candies with 4+ matches<br/>• Cascading combos and animations<br/>• Difficulty affects level objectives |
|
|
74
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/whack-a-mole.png" alt="Whack A Mole" width="120"/> | **🐱 Whack A Mole**<br/>Whack cute cats popping from holes - test your lightning reflexes!<br/><br/>• Fast-paced whacking action<br/>• Grid sizes: easy/medium 3x3, hard 4x4<br/>• Cat spawn intervals vary by difficulty<br/>• Difficulty affects speed and grid size |
|
|
75
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/balloon-blaster.png" alt="Balloon Blaster" width="120"/> | **🎈 Balloon Blaster**<br/>Pop rising balloons before they escape - quick taps and swipes win!<br/><br/>• Swipe or tap to pop balloons<br/>• Balloons rise from bottom to top<br/>• Particle effects on pop<br/>• Difficulty affects balloon speed and spawn rate |
|
|
76
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/space-fighter.png" alt="Space Fighter" width="120"/> | **🚀 Space Fighter**<br/>Pilot your spaceship through asteroid fields - endless space survival!<br/><br/>• Drag controls for spacecraft movement<br/>• Dodge asteroids in endless space<br/>• 1-second collision immunity<br/>• Difficulty affects asteroid speed and frequency |
|
|
77
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/bike-racing.png" alt="Bike Racing" width="120"/> | **🏍️ Bike Racing**<br/>Race on bikes through traffic - faster and more challenging!<br/><br/>• High-speed bike racing<br/>• Lane-based traffic dodging<br/>• Faster than car racing<br/>• Difficulty affects traffic and speed |
|
|
78
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/maze-runner.png" alt="Maze Runner" width="120"/> | **🧩 Maze Runner**<br/>Navigate ball through procedural mazes - tilt and physics controls!<br/><br/>• Procedurally generated mazes<br/>• Tilt-based physics controls<br/>• Grid sizes: easy 8x8, medium 10x10, hard 12x12<br/>• Difficulty affects maze complexity |
|
|
79
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/sliding-numbers.png" alt="Sliding Numbers" width="120"/> | **🔢 Sliding Numbers**<br/>Slide numbered tiles to solve puzzles - classic sliding puzzle game!<br/><br/>• Classic 15-puzzle mechanics<br/>• Grid sizes: easy 3x3, medium 4x4, hard 5x5<br/>• Timer challenge mode<br/>• Smooth tile sliding animations |
|
|
80
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/game-2048.png" alt="2048" width="120"/> | **🎮 2048**<br/>Merge matching tiles to reach 2048 and beyond - addictive puzzle!<br/><br/>• Swipe to merge matching tiles<br/>• Reach 2048 tile to win<br/>• Continue for higher scores<br/>• Difficulty affects starting values |
|
|
81
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/fruit-merger.png" alt="Fruit Merger" width="120"/> | **🍉 Fruit Merger**<br/>Drop and merge fruits to create bigger ones - reach the watermelon!<br/><br/>• Physics-based fruit dropping<br/>• Merge fruits to evolve them<br/>• Reach watermelon for victory<br/>• Combo system for multiple merges |
|
|
82
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/snake.png" alt="Snake & Eggs" width="120"/> | **🐍 Snake & Eggs**<br/>Eat eggs to grow longer and avoid walls - classic snake gameplay!<br/><br/>• Classic snake mechanics<br/>• Swipe or tap to change direction<br/>• Grow by eating eggs<br/>• Difficulty affects snake speed |
|
|
83
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/perfect-circle.png" alt="Perfect Circle" width="120"/> | **⭕ Perfect Circle**<br/>Draw the most perfect circle you can - test your precision!<br/><br/>• Draw circles with your finger<br/>• Precision scoring system<br/>• Challenge your drawing skills<br/>• Difficulty affects scoring strictness |
|
|
84
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/tank-1990.png" alt="Tank 1990" width="120"/> | **🪖 Tank 1990**<br/>Classic tank battle - destroy enemies and defend your base!<br/><br/>• Retro-style tank combat<br/>• Destructible terrain and barriers<br/>• Defend your base from enemy waves<br/>• Difficulty affects enemy count and speed |
|
|
85
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/ludo-king.png" alt="Ludo King" width="120"/> | **🎲 Ludo King**<br/>Classic board game - roll dice and race your tokens home!<br/><br/>• Classic Ludo board game<br/>• Play against AI opponents<br/>• Roll dice and move tokens strategically<br/>• Difficulty affects AI intelligence |
|
|
86
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/dots-and-boxes.png" alt="Dots and Boxes" width="120"/> | **🔲 Dots and Boxes**<br/>Connect dots to complete boxes - classic strategy game vs AI!<br/><br/>• Classic pen-and-paper strategy game<br/>• Play against smart AI opponent<br/>• Complete boxes by connecting dots<br/>• Difficulty affects AI strategy |
|
|
87
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/number-search.png" alt="Number Search" width="120"/> | **🔢 Number Search**<br/>Find hidden numbers in the grid - swipe to select digits!<br/><br/>• Number-based word search variant<br/>• Swipe to find hidden number sequences<br/>• Timed challenge mode<br/>• Difficulty affects grid size and number count |
|
|
88
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/nuts-and-bolts.png" alt="Nuts and Bolts" width="120"/> | **🔩 Nuts and Bolts**<br/>Unscrew bolts and remove planks to solve puzzles!<br/><br/>• Physics-based bolt unscrewing puzzles<br/>• Remove planks in the correct order<br/>• Satisfying unscrewing mechanics<br/>• Difficulty affects puzzle complexity |
|
|
89
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/connect-em-all.png" alt="Connect Em All" width="120"/> | **🔗 Connect Em All**<br/>Connect matching colored dots to score points!<br/><br/>• Connect dots of the same color<br/>• Draw paths without crossing lines<br/>• Fill the entire board for bonus points<br/>• Difficulty affects grid size and color count |
|
|
90
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/word-search.png" alt="Word Search" width="120"/> | **📝 Word Search**<br/>Find hidden words in the grid - swipe to select letters!<br/><br/>• Classic word search puzzle<br/>• Swipe to find hidden words<br/>• Multiple word categories<br/>• Difficulty affects grid size and word count |
|
|
91
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/tile-home.png" alt="Tile Home" width="120"/> | **🀄 Tile Home**<br/>Match 3 tiles of the same type - classic mahjong-style puzzle!<br/><br/>• Mahjong-style tile matching<br/>• Match 3 identical tiles to clear them<br/>• Strategic tile selection<br/>• Difficulty affects tile variety and layout |
|
|
92
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/pac-man.png" alt="Pac-Man" width="120"/> | **👾 Pac-Man**<br/>Classic arcade game - eat dots, avoid ghosts, and clear the maze!<br/><br/>• Classic Pac-Man maze gameplay<br/>• Eat dots and avoid ghost enemies<br/>• Power pellets to chase ghosts<br/>• Difficulty affects ghost speed and AI |
|
|
93
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/spider-solitaire.png" alt="Spider Solitaire" width="120"/> | **🕷️ Spider Solitaire**<br/>Classic Spider Solitaire - build sequences and clear the tableau!<br/><br/>• Classic Spider Solitaire card game<br/>• Build descending card sequences<br/>• Multiple suit difficulty levels<br/>• Undo and hint system |
|
|
94
|
+
| <img src="https://cdn.worklage.com/playtura/screenshots/tic-tac-toe.png" alt="Tic Tac Toe" width="120"/> | **❌ Tic Tac Toe**<br/>Classic X and O game - play against a smart robot!<br/><br/>• Classic tic-tac-toe gameplay<br/>• Play against AI with varying intelligence<br/>• Clean grid-based interface<br/>• Difficulty affects AI strategy |
|
|
84
95
|
|
|
85
96
|
## 📦 Installation
|
|
86
97
|
|
|
@@ -154,7 +165,7 @@ export default function FruitNinjaScreen() {
|
|
|
154
165
|
};
|
|
155
166
|
|
|
156
167
|
const handleToggleSettingsModal = () => {
|
|
157
|
-
setSettings({...settings, isVisible: !settings.isVisible});
|
|
168
|
+
setSettings({ ...settings, isVisible: !settings.isVisible });
|
|
158
169
|
};
|
|
159
170
|
|
|
160
171
|
useLayoutEffect(() => {
|
|
@@ -163,7 +174,7 @@ export default function FruitNinjaScreen() {
|
|
|
163
174
|
<TouchableOpacity className="p-2" onPress={handleToggleSettingsModal}>
|
|
164
175
|
<Ionicons name="settings-outline" size={24} color={colors.text} />
|
|
165
176
|
</TouchableOpacity>
|
|
166
|
-
)
|
|
177
|
+
)
|
|
167
178
|
});
|
|
168
179
|
}, [navigation, handleToggleSettingsModal]);
|
|
169
180
|
|
|
@@ -199,15 +210,23 @@ import {
|
|
|
199
210
|
SlidingNumbers,
|
|
200
211
|
Game2048,
|
|
201
212
|
FruitMerger,
|
|
202
|
-
|
|
203
|
-
PerfectCircle
|
|
213
|
+
Snake3D,
|
|
214
|
+
PerfectCircle,
|
|
215
|
+
Tank1990,
|
|
216
|
+
LudoKing,
|
|
217
|
+
DotsAndBoxes,
|
|
218
|
+
NumberSearch,
|
|
219
|
+
NutsAndBolts,
|
|
220
|
+
ConnectEmAll,
|
|
221
|
+
WordSearch,
|
|
222
|
+
TileHome,
|
|
223
|
+
PacMan,
|
|
224
|
+
SpiderSolitaire,
|
|
225
|
+
TicTacToe
|
|
204
226
|
} from 'react-native-games';
|
|
205
227
|
|
|
206
228
|
// All games accept the same props:
|
|
207
|
-
<GameComponent
|
|
208
|
-
settings={settings}
|
|
209
|
-
onSettingsChange={handleSettingsChange}
|
|
210
|
-
/>
|
|
229
|
+
<GameComponent settings={settings} onSettingsChange={handleSettingsChange} />;
|
|
211
230
|
```
|
|
212
231
|
|
|
213
232
|
### Game Settings & Configuration
|
|
@@ -216,10 +235,10 @@ All games use the unified `GameSettings` interface:
|
|
|
216
235
|
|
|
217
236
|
```tsx
|
|
218
237
|
interface GameSettings {
|
|
219
|
-
isVisible: boolean;
|
|
238
|
+
isVisible: boolean; // Settings modal visibility
|
|
220
239
|
difficulty: 'easy' | 'medium' | 'hard';
|
|
221
|
-
enableSounds: boolean;
|
|
222
|
-
enableHaptics: boolean;
|
|
240
|
+
enableSounds: boolean; // Audio feedback
|
|
241
|
+
enableHaptics: boolean; // Haptic feedback
|
|
223
242
|
}
|
|
224
243
|
|
|
225
244
|
// Default settings for all games
|
|
@@ -228,7 +247,7 @@ const DEFAULT_GAME_SETTINGS = {
|
|
|
228
247
|
difficulty: 'medium',
|
|
229
248
|
enableSounds: true,
|
|
230
249
|
enableHaptics: true,
|
|
231
|
-
offset: 0
|
|
250
|
+
offset: 0
|
|
232
251
|
};
|
|
233
252
|
```
|
|
234
253
|
|
|
@@ -264,7 +283,7 @@ import {
|
|
|
264
283
|
type GameDefinition,
|
|
265
284
|
type GameComponent,
|
|
266
285
|
|
|
267
|
-
// All Game Components (
|
|
286
|
+
// All Game Components (30 total)
|
|
268
287
|
BlockBlast,
|
|
269
288
|
BubbleShooter,
|
|
270
289
|
CarRacing,
|
|
@@ -282,8 +301,19 @@ import {
|
|
|
282
301
|
SlidingNumbers,
|
|
283
302
|
Game2048,
|
|
284
303
|
FruitMerger,
|
|
285
|
-
|
|
286
|
-
PerfectCircle
|
|
304
|
+
Snake3D,
|
|
305
|
+
PerfectCircle,
|
|
306
|
+
Tank1990,
|
|
307
|
+
LudoKing,
|
|
308
|
+
DotsAndBoxes,
|
|
309
|
+
NumberSearch,
|
|
310
|
+
NutsAndBolts,
|
|
311
|
+
ConnectEmAll,
|
|
312
|
+
WordSearch,
|
|
313
|
+
TileHome,
|
|
314
|
+
PacMan,
|
|
315
|
+
SpiderSolitaire,
|
|
316
|
+
TicTacToe
|
|
287
317
|
} from 'react-native-games';
|
|
288
318
|
```
|
|
289
319
|
|
|
@@ -292,25 +322,36 @@ import {
|
|
|
292
322
|
All available game identifiers:
|
|
293
323
|
|
|
294
324
|
```tsx
|
|
295
|
-
GAME_IDS.BLOCK_BLAST
|
|
296
|
-
GAME_IDS.BUBBLE_SHOOTER
|
|
297
|
-
GAME_IDS.CAR_RACING
|
|
298
|
-
GAME_IDS.FRUIT_NINJA
|
|
299
|
-
GAME_IDS.POPIT_FIDGET
|
|
300
|
-
GAME_IDS.FLAPPY_BIRD
|
|
301
|
-
GAME_IDS.COLORS_SORT
|
|
302
|
-
GAME_IDS.DINO_JUMP
|
|
303
|
-
GAME_IDS.CANDY_CRUSH
|
|
304
|
-
GAME_IDS.WHACK_A_MOLE
|
|
305
|
-
GAME_IDS.BALLOON_BLASTER
|
|
306
|
-
GAME_IDS.SPACE_FIGHTER
|
|
307
|
-
GAME_IDS.BIKE_RACING
|
|
308
|
-
GAME_IDS.MAZE_RUNNER
|
|
309
|
-
GAME_IDS.SLIDING_NUMBERS
|
|
310
|
-
GAME_IDS.GAME_2048
|
|
311
|
-
GAME_IDS.FRUIT_MERGER
|
|
312
|
-
GAME_IDS.
|
|
313
|
-
GAME_IDS.PERFECT_CIRCLE
|
|
325
|
+
GAME_IDS.BLOCK_BLAST; // 'block-blast'
|
|
326
|
+
GAME_IDS.BUBBLE_SHOOTER; // 'bubble-shooter'
|
|
327
|
+
GAME_IDS.CAR_RACING; // 'car-racing'
|
|
328
|
+
GAME_IDS.FRUIT_NINJA; // 'fruit-ninja'
|
|
329
|
+
GAME_IDS.POPIT_FIDGET; // 'popit-fidget'
|
|
330
|
+
GAME_IDS.FLAPPY_BIRD; // 'flappy-bird'
|
|
331
|
+
GAME_IDS.COLORS_SORT; // 'colors-sort'
|
|
332
|
+
GAME_IDS.DINO_JUMP; // 'dino-jump'
|
|
333
|
+
GAME_IDS.CANDY_CRUSH; // 'candy-crush'
|
|
334
|
+
GAME_IDS.WHACK_A_MOLE; // 'whack-a-mole'
|
|
335
|
+
GAME_IDS.BALLOON_BLASTER; // 'balloon-blaster'
|
|
336
|
+
GAME_IDS.SPACE_FIGHTER; // 'space-fighter'
|
|
337
|
+
GAME_IDS.BIKE_RACING; // 'bike-racing'
|
|
338
|
+
GAME_IDS.MAZE_RUNNER; // 'maze-runner'
|
|
339
|
+
GAME_IDS.SLIDING_NUMBERS; // 'sliding-numbers'
|
|
340
|
+
GAME_IDS.GAME_2048; // 'game-2048'
|
|
341
|
+
GAME_IDS.FRUIT_MERGER; // 'fruit-merger'
|
|
342
|
+
GAME_IDS.SNAKE_3D; // 'snake-3d'
|
|
343
|
+
GAME_IDS.PERFECT_CIRCLE; // 'perfect-circle'
|
|
344
|
+
GAME_IDS.SPIDER_SOLITAIRE; // 'spider-solitaire'
|
|
345
|
+
GAME_IDS.TIC_TAC_TOE; // 'tic-tac-toe'
|
|
346
|
+
GAME_IDS.PAC_MAN; // 'pac-man'
|
|
347
|
+
GAME_IDS.TILE_HOME; // 'tile-home'
|
|
348
|
+
GAME_IDS.WORD_SEARCH; // 'word-search'
|
|
349
|
+
GAME_IDS.CONNECT_EM_ALL; // 'connect-em-all'
|
|
350
|
+
GAME_IDS.NUTS_AND_BOLTS; // 'nuts-and-bolts'
|
|
351
|
+
GAME_IDS.NUMBER_SEARCH; // 'number-search'
|
|
352
|
+
GAME_IDS.DOTS_AND_BOXES; // 'dots-and-boxes'
|
|
353
|
+
GAME_IDS.LUDO_KING; // 'ludo-king'
|
|
354
|
+
GAME_IDS.TANK_1990; // 'tank-1990'
|
|
314
355
|
```
|
|
315
356
|
|
|
316
357
|
### DEFAULT_GAME_SETTINGS
|
|
@@ -319,17 +360,17 @@ Default configuration for all games:
|
|
|
319
360
|
|
|
320
361
|
```tsx
|
|
321
362
|
const DEFAULT_GAME_SETTINGS = {
|
|
322
|
-
isVisible: false,
|
|
323
|
-
difficulty: 'medium',
|
|
324
|
-
enableSounds: true,
|
|
325
|
-
enableHaptics: true,
|
|
326
|
-
offset: 0
|
|
363
|
+
isVisible: false, // Settings modal visibility
|
|
364
|
+
difficulty: 'medium', // Game difficulty level
|
|
365
|
+
enableSounds: true, // Audio feedback enabled
|
|
366
|
+
enableHaptics: true, // Haptic feedback enabled
|
|
367
|
+
offset: 0 // Top offset for notch/status bar
|
|
327
368
|
};
|
|
328
369
|
|
|
329
370
|
// Example: Custom settings with offset
|
|
330
371
|
const customSettings = {
|
|
331
372
|
...DEFAULT_GAME_SETTINGS,
|
|
332
|
-
offset: 50
|
|
373
|
+
offset: 50 // Moves game elements 50px down from top
|
|
333
374
|
};
|
|
334
375
|
```
|
|
335
376
|
|
|
@@ -340,10 +381,10 @@ Array of all game definitions with metadata:
|
|
|
340
381
|
```tsx
|
|
341
382
|
// GAMES_LIST is an array of GameDefinition objects
|
|
342
383
|
GAMES_LIST.forEach(game => {
|
|
343
|
-
console.log(game.id);
|
|
344
|
-
console.log(game.title);
|
|
384
|
+
console.log(game.id); // GAME_IDS enum value
|
|
385
|
+
console.log(game.title); // Display title
|
|
345
386
|
console.log(game.description); // Game description
|
|
346
|
-
console.log(game.component);
|
|
387
|
+
console.log(game.component); // React component
|
|
347
388
|
});
|
|
348
389
|
|
|
349
390
|
// Example: Find a specific game
|
|
@@ -359,7 +400,7 @@ Object mapping game IDs to their components:
|
|
|
359
400
|
const GameComponent = GAMES_MAPPING[GAME_IDS.FRUIT_NINJA];
|
|
360
401
|
|
|
361
402
|
// Render dynamically
|
|
362
|
-
<GameComponent settings={settings} onSettingsChange={handleChange}
|
|
403
|
+
<GameComponent settings={settings} onSettingsChange={handleChange} />;
|
|
363
404
|
```
|
|
364
405
|
|
|
365
406
|
### TypeScript Types
|
|
@@ -367,17 +408,27 @@ const GameComponent = GAMES_MAPPING[GAME_IDS.FRUIT_NINJA];
|
|
|
367
408
|
```tsx
|
|
368
409
|
// Game settings interface
|
|
369
410
|
interface GameSettings {
|
|
370
|
-
isVisible: boolean;
|
|
411
|
+
isVisible: boolean; // Settings modal visibility
|
|
371
412
|
difficulty: 'easy' | 'medium' | 'hard';
|
|
372
|
-
enableSounds: boolean;
|
|
373
|
-
enableHaptics: boolean;
|
|
374
|
-
offset?: number;
|
|
413
|
+
enableSounds: boolean; // Audio feedback
|
|
414
|
+
enableHaptics: boolean; // Haptic feedback
|
|
415
|
+
offset?: number; // Optional padding from top (default: 0)
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
// Game completion metrics
|
|
419
|
+
interface GameCompletionMetrics {
|
|
420
|
+
status: 'win' | 'lose' | 'cancel';
|
|
421
|
+
score?: string;
|
|
375
422
|
}
|
|
376
423
|
|
|
377
424
|
// Game component props
|
|
378
425
|
interface GameProps {
|
|
379
426
|
settings?: GameSettings;
|
|
380
427
|
onSettingsChange?: (settings: GameSettings) => void;
|
|
428
|
+
onEndGame?: (metrics: GameCompletionMetrics) => void;
|
|
429
|
+
onReplayGame?: () => void;
|
|
430
|
+
onShare?: () => void;
|
|
431
|
+
onShowLeaderboard?: () => void;
|
|
381
432
|
}
|
|
382
433
|
```
|
|
383
434
|
|
|
@@ -386,19 +437,23 @@ interface GameProps {
|
|
|
386
437
|
This library is available under a **dual licensing model**:
|
|
387
438
|
|
|
388
439
|
### 🆓 **Non-Commercial License (Free)**
|
|
440
|
+
|
|
389
441
|
- ✅ **Personal projects** and learning
|
|
390
442
|
- ✅ **Educational use** and research
|
|
391
443
|
- ✅ **Open source projects** (non-commercial)
|
|
392
444
|
- ✅ **Portfolio** and demonstration apps
|
|
393
445
|
|
|
394
446
|
### 💼 **Commercial License (Paid)**
|
|
447
|
+
|
|
395
448
|
Required for commercial use including:
|
|
449
|
+
|
|
396
450
|
- 🏢 **Commercial applications** and products
|
|
397
451
|
- 💰 **Revenue-generating** projects
|
|
398
452
|
- 🏪 **App Store** or **Play Store** apps with monetization
|
|
399
453
|
- 🏭 **Enterprise** and business applications
|
|
400
454
|
|
|
401
455
|
**Commercial licensing includes:**
|
|
456
|
+
|
|
402
457
|
- Full commercial usage rights
|
|
403
458
|
- Priority support and maintenance
|
|
404
459
|
- Custom feature development consideration
|
|
@@ -420,8 +475,8 @@ See the complete [LICENSE](LICENSE) file for detailed terms and definitions.
|
|
|
420
475
|
## 📞 Support
|
|
421
476
|
|
|
422
477
|
- 📧 **Email**: niranjan.devasani@gmail.com
|
|
423
|
-
- 🐛 **Issues**: [GitHub Issues](https://github.com/
|
|
424
|
-
- 🌐 **Website**: [https://www.
|
|
478
|
+
- 🐛 **Issues**: [GitHub Issues](https://github.com/nicejmp1/react-native-games/issues)
|
|
479
|
+
- 🌐 **Website**: [https://www.playtura.in](https://www.playtura.in)
|
|
425
480
|
|
|
426
481
|
---
|
|
427
482
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import
|
|
1
|
+
"use strict";import React,{useEffect,useRef,useMemo,useCallback}from"react";import{View,StyleSheet}from"react-native";import{GestureHandlerRootView}from"react-native-gesture-handler";import{useBalloonBlasterStore}from"./BalloonBlasterStore.js";import{BalloonBlasterService}from"./BalloonBlasterService.js";import{BALLOON_BLASTER_GAME_CONFIG,BALLOON_BLASTER_COLORS}from"./BalloonBlasterConstants.js";import{ScoreBoard}from"./components/ScoreBoard.js";import{GameArea}from"./components/GameArea.js";import{GameBackground}from"./components/GameBackground.js";import{GameControlButton,GameOverModal,useAnimationTrackers}from"../../helpers/index.js";import{GameSettingsModal}from"../../helpers/index.js";import{GAME_IDS,DEFAULT_GAME_SETTINGS}from"../../services/UtilsService.js";import{playSound,GAME_SOUNDS}from"../../services/SoundsService.js";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";export const BalloonBlaster=({settings:e,onSettingsChange:o,onEndGame:t,onReplayGame:r,onShare:s,onShowLeaderboard:a})=>{const n=useBalloonBlasterStore(e=>e.isPlaying),l=useBalloonBlasterStore(e=>e.gameOver),i=useBalloonBlasterStore(e=>e.score),u=useBalloonBlasterStore(e=>e.lives),S=useRef(!1),B=useRef(t);B.current=t,useRef(e).current=e;const m=e?.enableSounds??!0,O=useCallback(e=>{if(B.current&&!S.current){const o=useBalloonBlasterStore.getState().score;B.current({status:e,score:o.toString()}),S.current=!0}},[]),_=useBalloonBlasterStore(e=>e.startGame),A=useBalloonBlasterStore(e=>e.resetGame),E=useBalloonBlasterStore(e=>e.decrementTime),{balloonAnimations:L,particleAnimations:R}=useAnimationTrackers(["balloonAnimations","particleAnimations"]),G=useMemo(()=>new BalloonBlasterService(L,R),[L,R]);useEffect(()=>()=>{useBalloonBlasterStore.getState().isPlaying&&!S.current&&O("cancel");try{G.cleanup()}catch{}try{A()}catch{}},[]),useEffect(()=>{!l||n||S.current||(u<=0?(playSound(GAME_SOUNDS.TIME_UP,m),O("lose")):(playSound(GAME_SOUNDS.WELL_DONE,m),O("win"))),l||(S.current=!1)},[l,n,u,m]),useEffect(()=>{let e=null;return n&&(e=setInterval(()=>{E()},1e3)),()=>{e&&clearInterval(e)}},[n,E]),useEffect(()=>{l&&G.cleanup()},[l,G]);const f=useCallback(()=>{S.current=!1,G.cleanup(),G.resetAnimations(),_(BALLOON_BLASTER_GAME_CONFIG.GAME_DURATION)},[G,_]),p=useCallback(()=>{O("cancel"),G.cleanup(),A()},[G,A]),T=useCallback(()=>{r?.(),G.cleanup(),G.resetAnimations(),A()},[G,A,r]),d=useMemo(()=>({isPlaying:n,gameOver:l,onStartGame:f,onStopGame:p,onShare:s,onShowLeaderboard:a,startButtonSubtext:"Pop balloons to score!",buttonColor:BALLOON_BLASTER_COLORS.BUTTON_COLOR,buttonBorderColor:BALLOON_BLASTER_COLORS.BUTTON_BORDER}),[n,l,f,p,s,a]),C=useMemo(()=>({isVisible:l,score:i,onPlayAgain:T,buttonText:"Pop Again!",primaryColor:BALLOON_BLASTER_COLORS.GAME_OVER_BG,borderColor:BALLOON_BLASTER_COLORS.GAME_OVER_BORDER,buttonColor:BALLOON_BLASTER_COLORS.GAME_OVER_BUTTON,buttonBorderColor:BALLOON_BLASTER_COLORS.GAME_OVER_BUTTON_BORDER,buttonTextColor:BALLOON_BLASTER_COLORS.GAME_OVER_BUTTON_TEXT}),[l,i,T]),g=useMemo(()=>({gameId:GAME_IDS.BALLOON_BLASTER,settings:e||DEFAULT_GAME_SETTINGS,onSettingsChange:o}),[e,o]),M=e?.offset??0;return _jsx(View,{style:styles.container,children:_jsx(GestureHandlerRootView,{style:styles.gestureRoot,children:_jsxs(GameBackground,{offset:M,children:[_jsx(GameArea,{service:G,enableSounds:e?.enableSounds,enableHaptics:e?.enableHaptics}),_jsx(ScoreBoard,{offset:M}),_jsx(GameControlButton,{...d}),_jsx(GameOverModal,{...C}),_jsx(GameSettingsModal,{...g})]})})})};const styles=StyleSheet.create({container:{flex:1},gestureRoot:{flex:1}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useEffect","useMemo","useCallback","View","StyleSheet","GestureHandlerRootView","useBalloonBlasterStore","
|
|
1
|
+
{"version":3,"names":["React","useEffect","useRef","useMemo","useCallback","View","StyleSheet","GestureHandlerRootView","useBalloonBlasterStore","BalloonBlasterService","BALLOON_BLASTER_GAME_CONFIG","BALLOON_BLASTER_COLORS","ScoreBoard","GameArea","GameBackground","GameControlButton","GameOverModal","useAnimationTrackers","GameSettingsModal","GAME_IDS","DEFAULT_GAME_SETTINGS","playSound","GAME_SOUNDS","jsx","_jsx","jsxs","_jsxs","BalloonBlaster","settings","onSettingsChange","onEndGame","onReplayGame","onShare","onShowLeaderboard","isPlaying","state","gameOver","score","lives","gameReportedRef","onEndGameRef","current","settingsRef","enableSounds","reportGameEnd","status","currentScore","getState","toString","startGame","resetGame","decrementTime","balloonAnimations","particleAnimations","service","cleanup","TIME_UP","WELL_DONE","timerInterval","setInterval","clearInterval","startGameHandler","resetAnimations","GAME_DURATION","stopGameHandler","resetGameHandler","gameControlButtonProps","onStartGame","onStopGame","startButtonSubtext","buttonColor","BUTTON_COLOR","buttonBorderColor","BUTTON_BORDER","gameOverModalProps","isVisible","onPlayAgain","buttonText","primaryColor","GAME_OVER_BG","borderColor","GAME_OVER_BORDER","GAME_OVER_BUTTON","GAME_OVER_BUTTON_BORDER","buttonTextColor","GAME_OVER_BUTTON_TEXT","gameSettingsModalProps","gameId","BALLOON_BLASTER","offset","style","styles","container","children","gestureRoot","enableHaptics","create","flex"],"sourceRoot":"../../../../src","sources":["games/balloon-blaster/BalloonBlaster.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";export const BALLOON_BLASTER_GAME_CONFIG={GAME_DURATION:
|
|
1
|
+
"use strict";import{createGameTheme}from"../../services/ThemeUtils.js";import{isTablet}from"../../services/UtilsService.js";const PRIMARY_COLOR="#ffffff",BACKGROUND_COLOR="#3a3a5e";export const BALLOON_BLASTER_THEME=createGameTheme("#ffffff","#3a3a5e");export const BALLOON_BLASTER_GAME_CONFIG={GAME_DURATION:120,MAX_LIVES:3,BALLOON_SPAWN_INTERVAL:800,BALLOON_RISE_SPEED:2.5,GRAVITY:-.005,INITIAL_VELOCITY_Y:-1.2,INITIAL_VELOCITY_X_RANGE:.5,ROTATION_SPEED_RANGE:.02,BALLOON_SIZE:isTablet?92:60,SLICE_TRAIL_LENGTH:10,COMBO_TIMEOUT:2e3,PARTICLE_COUNT:4,PARTICLE_LIFETIME:600};export const BALLOON_BLASTER_ANIMATION_CONFIG={BALLOON_SPRING:{damping:30,stiffness:50},POP_SPRING:{damping:20,stiffness:300},PARTICLE_SPRING:{damping:25,stiffness:400},SLICE_TIMING:{duration:200}};export const BALLOON_BLASTER_COLORS={BACKGROUND:"#3a3a5e",PRIMARY:"#ffffff",SCORE_BOARD:"#3b82f6",SLICE_TRAIL:"#FFD700",PARTICLE_COLORS:["#FF6B6B","#4ECDC4","#45B7D1","#96CEB4","#FFEAA7","#DDA0DD"],COMBO_TEXT:"#FF4757",LIVES_COLOR:"#FF6B6B",PARTICLE_GLOW:"rgba(255,255,255,0.9)",SCORE_BACKGROUND:BALLOON_BLASTER_THEME.sectionBackgroundColor,SCORE_BORDER:BALLOON_BLASTER_THEME.buttonSelectedColor,SCORE_TEXT:BALLOON_BLASTER_THEME.headerTextColor,UI:"#ffffff",BUTTON_COLOR:BALLOON_BLASTER_THEME.headerBackgroundColor,BUTTON_BORDER:BALLOON_BLASTER_THEME.buttonSelectedColor,TEXT_PRIMARY:"#FFFFFF",TEXT_SECONDARY:"#F0F8FF",WHITE:"#FFFFFF",GAME_OVER_BG:BALLOON_BLASTER_THEME.buttonSelectedColor,GAME_OVER_BORDER:BALLOON_BLASTER_THEME.buttonSelectedColor,GAME_OVER_BUTTON:"#ffffff",GAME_OVER_BUTTON_BORDER:"#ffffff",GAME_OVER_BUTTON_TEXT:"#000000"};export const BALLOON_TYPES=[{emoji:"\ud83c\udf88",points:10,name:"red balloon",color:"#FF0040",gradient:["#FF0040","#FF4080"]},{emoji:"\ud83c\udf88",points:10,name:"blue balloon",color:"#0080FF",gradient:["#0080FF","#40A0FF"]},{emoji:"\ud83c\udf88",points:15,name:"yellow balloon",color:"#FFD700",gradient:["#FFD700","#FFEB3B"]},{emoji:"\ud83c\udf88",points:20,name:"green balloon",color:"#00FF80",gradient:["#00FF80","#40FFA0"]},{emoji:"\ud83c\udf88",points:25,name:"purple balloon",color:"#8000FF",gradient:["#8000FF","#A040FF"]},{emoji:"\ud83c\udf88",points:15,name:"pink balloon",color:"#FF0080",gradient:["#FF0080","#FF40A0"]},{emoji:"\ud83c\udf88",points:30,name:"orange balloon",color:"#FF4000",gradient:["#FF4000","#FF8040"]},{emoji:"\ud83c\udf88",points:25,name:"cyan balloon",color:"#00FFFF",gradient:["#00FFFF","#40FFFF"]},{emoji:"\ud83c\udf88",points:35,name:"magenta balloon",color:"#FF00FF",gradient:["#FF00FF","#FF40FF"]},{emoji:"\ud83c\udf88",points:40,name:"gold balloon",color:"#FFB000",gradient:["#FFB000","#FFD700"]},{emoji:"\ud83c\udf88",points:45,name:"rainbow balloon",color:"#FF0080",gradient:["#FF0080","#8000FF","#0080FF","#00FF80"]},{emoji:"\ud83c\udf88",points:50,name:"neon balloon",color:"#00FF00",gradient:["#00FF00","#FFFF00"]}];export const BALLOON_SPECIAL_ITEMS=[{emoji:"\ud83d\udca3",points:-50,name:"bomb",isBomb:!0,color:"#FF4444"},{emoji:"\u2b50",points:50,name:"star",isBonus:!0,color:"#FFD700"}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["createGameTheme","isTablet","PRIMARY_COLOR","BACKGROUND_COLOR","BALLOON_BLASTER_THEME","BALLOON_BLASTER_GAME_CONFIG","GAME_DURATION","MAX_LIVES","BALLOON_SPAWN_INTERVAL","BALLOON_RISE_SPEED","GRAVITY","INITIAL_VELOCITY_Y","INITIAL_VELOCITY_X_RANGE","ROTATION_SPEED_RANGE","BALLOON_SIZE","SLICE_TRAIL_LENGTH","COMBO_TIMEOUT","PARTICLE_COUNT","PARTICLE_LIFETIME","BALLOON_BLASTER_ANIMATION_CONFIG","BALLOON_SPRING","damping","stiffness","POP_SPRING","PARTICLE_SPRING","SLICE_TIMING","duration","BALLOON_BLASTER_COLORS","BACKGROUND","PRIMARY","SCORE_BOARD","SLICE_TRAIL","PARTICLE_COLORS","COMBO_TEXT","LIVES_COLOR","PARTICLE_GLOW","SCORE_BACKGROUND","sectionBackgroundColor","SCORE_BORDER","buttonSelectedColor","SCORE_TEXT","headerTextColor","UI","BUTTON_COLOR","headerBackgroundColor","BUTTON_BORDER","TEXT_PRIMARY","TEXT_SECONDARY","WHITE","GAME_OVER_BG","GAME_OVER_BORDER","GAME_OVER_BUTTON","GAME_OVER_BUTTON_BORDER","GAME_OVER_BUTTON_TEXT","BALLOON_TYPES","emoji","points","name","color","gradient","BALLOON_SPECIAL_ITEMS","isBomb","isBonus"],"sourceRoot":"../../../../src","sources":["games/balloon-blaster/BalloonBlasterConstants.ts"],"mappings":"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","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{
|
|
1
|
+
"use strict";import{BALLOON_BLASTER_GAME_CONFIG as GAME_CONFIG,BALLOON_BLASTER_ANIMATION_CONFIG as ANIMATION_CONFIG,BALLOON_BLASTER_COLORS as COLORS,BALLOON_TYPES,BALLOON_SPECIAL_ITEMS as SPECIAL_ITEMS}from"./BalloonBlasterConstants.js";import{Dimensions}from"react-native";const{width:width,height:height}=Dimensions.get("window");export{GAME_CONFIG,ANIMATION_CONFIG,COLORS,BALLOON_TYPES,SPECIAL_ITEMS};const POP_ANIM_DURATION=200,POP_REMOVAL_DELAY=250;export class BalloonBlasterService{gameTimerRef=null;balloonSpawnRef=null;animationRef=null;comboTimeoutRef=null;particles=[];balloonsRef=[];needsRedraw=!1;sharedValuesMap=new Map;onListChange=null;constructor(t,e){this.balloonAnimations=t,this.particleAnimations=e}registerSharedValues(t,e){this.sharedValuesMap.set(t,e)}unregisterSharedValues(t){this.sharedValuesMap.delete(t)}setOnListChange(t){this.onListChange=t}startGameTimer(t){this.clearGameTimer(),this.gameTimerRef=setInterval(t,1e3)}startBalloonSpawning(t,e){this.clearBalloonSpawn();const o=e||GAME_CONFIG.BALLOON_SPAWN_INTERVAL,i=()=>{const e=this.createRandomBalloon();t(e);const a=150*(Math.random()-.5),n=o+a;this.balloonSpawnRef=setTimeout(i,Math.max(200,n))};for(let e=0;e<3;e++)setTimeout(()=>{const e=this.createRandomBalloon();t(e)},50*e);this.balloonSpawnRef=setTimeout(i,100)}getBalloons(){return this.balloonsRef}getNeedsRedraw(){return this.needsRedraw}clearNeedsRedraw(){this.needsRedraw=!1}addBalloonToRef(t){this.balloonsRef.push(t),this.needsRedraw=!0,this.onListChange?.()}popBalloonInRef(t){for(let e=0;e<this.balloonsRef.length;e++){const o=this.balloonsRef[e];if(o&&o.id===t&&!o.isPopped)return o.isPopped=!0,o.popTime=performance.now(),this.needsRedraw=!0,o}return null}hitTestBalloon(t,e){const o=GAME_CONFIG.BALLOON_SIZE,i=1.25*o;for(let a=this.balloonsRef.length-1;a>=0;a--){const n=this.balloonsRef[a];if(!n||n.isPopped)continue;const s=t-(n.position.x+o/2),l=e-(n.position.y+i/2),r=o/2,h=i/2;if(s*s/(r*r)+l*l/(h*h)<=1)return n}return null}startRefPhysicsLoop(){let t=performance.now();const e=1e3/60,o=GAME_CONFIG.GRAVITY,i=GAME_CONFIG.BALLOON_SIZE,a=2*-i,n=width-i,s=performance.now,l=i=>{const r=i-t;if(r<e)return void(this.animationRef=requestAnimationFrame(l));t=i;const h=r/16.67;this.updateParticles(h);const m=this.balloonsRef;let p=0;const O=s();let L=!1;for(let t=0;t<m.length;t++){const e=m[t];if(!e)continue;const i=this.sharedValuesMap.get(e.id);if(e.isPopped){const t=O-(e.popTime||O);if(t>=250){this.sharedValuesMap.delete(e.id),L=!0;continue}const o=Math.min(1,t/200);e.scale=1-o,e.opacity=1-o,i&&(i.scale.value=e.scale,i.opacity.value=e.opacity),m[p++]=e;continue}const s=e.velocity.y+o*h;let l=e.position.x+e.velocity.x*h;const r=e.position.y+s*h;if(r<a){this.sharedValuesMap.delete(e.id),L=!0;continue}let A=e.velocity.x;l<=0?(l=0,A=.8*Math.abs(A)):l>=n&&(l=n,A=.8*-Math.abs(A)),e.position.x=l,e.position.y=r,e.velocity.x=A,e.velocity.y=s,e.rotation+=e.rotationSpeed*h,i&&(i.translateX.value=l,i.translateY.value=r,i.rotation.value=e.rotation),m[p++]=e}m.length=p,L&&this.onListChange?.(),this.animationRef=requestAnimationFrame(l)};this.animationRef=requestAnimationFrame(l)}createRandomBalloon(){const t=(Math.random()<.2?SPECIAL_ITEMS[Math.floor(Math.random()*SPECIAL_ITEMS.length)]:BALLOON_TYPES[Math.floor(Math.random()*BALLOON_TYPES.length)])||BALLOON_TYPES[0],e=GAME_CONFIG.BALLOON_SIZE,o=e/2,i=width-2*o-e,a=o+Math.random()*i,n=height+e,s=(Math.random()-.5)*GAME_CONFIG.INITIAL_VELOCITY_X_RANGE,l=GAME_CONFIG.INITIAL_VELOCITY_Y;return{id:`balloon_${Date.now()}_${Math.random()}`,type:t,position:{x:a,y:n},spawnX:a,spawnY:n,velocity:{x:s,y:l},rotation:0,rotationSpeed:(Math.random()-.5)*GAME_CONFIG.ROTATION_SPEED_RANGE,isPopped:!1,spawnTime:Date.now(),isBomb:"isBomb"in t&&t.isBomb,isBonus:"isBonus"in t&&t.isBonus,scale:1,opacity:1}}createPopParticles(t){this.particles.length>=15&&this.particles.splice(0,Math.floor(this.particles.length/2));const e=[],o=Math.min(GAME_CONFIG.PARTICLE_COUNT,6),i=1.25*GAME_CONFIG.BALLOON_SIZE,a=t.position.x+GAME_CONFIG.BALLOON_SIZE/2,n=t.position.y+i/2;for(let i=0;i<o;i++){const s=i/o*Math.PI*2,l=5+4*Math.random();e.push({id:`particle_${t.id}_${i}_${Date.now()}_${Math.random()}`,position:{x:a,y:n},velocity:{x:Math.cos(s)*l,y:Math.sin(s)*l-3},color:COLORS.PARTICLE_COLORS[i%COLORS.PARTICLE_COLORS.length]||"#FF6B6B",size:4+3*Math.random(),lifetime:0,maxLifetime:Math.min(GAME_CONFIG.PARTICLE_LIFETIME,800)})}return this.particles=[...this.particles,...e],e}updateParticles(t=1){const e=16*t,o=.08*t,i=Math.pow(.99,t);let a=0;for(let n=0;n<this.particles.length;n++){const s=this.particles[n];s&&(s.lifetime+=e,s.lifetime>=s.maxLifetime||(s.position.x+=s.velocity.x*t,s.position.y+=s.velocity.y*t,s.velocity.x*=i,s.velocity.y=(s.velocity.y+o)*i,this.particles[a]=s,a++))}this.particles.length=a}getParticles(){return this.particles}checkBalloonPop(t,e){if(t.isPopped||e.length<2)return!1;const o={x:t.position.x+GAME_CONFIG.BALLOON_SIZE/2,y:t.position.y+GAME_CONFIG.BALLOON_SIZE/2},i=GAME_CONFIG.BALLOON_SIZE/2;for(let t=0;t<e.length-1;t++){const a=e[t],n=e[t+1];if(a&&n&&this.distanceFromPointToLine(o,a,n)<=i)return!0}return!1}distanceFromPointToLine(t,e,o){const i=t.x-e.x,a=t.y-e.y,n=o.x-e.x,s=o.y-e.y,l=i*n+a*s,r=n*n+s*s;if(0===r)return Math.sqrt(i*i+a*a);let h=l/r;h=Math.max(0,Math.min(1,h));const m=e.x+h*n,p=e.y+h*s,O=t.x-m,L=t.y-p;return Math.sqrt(O*O+L*L)}resetAnimations(){this.balloonAnimations.clear(),this.particleAnimations.clear(),this.particles=[],this.balloonsRef=[],this.sharedValuesMap.clear(),this.needsRedraw=!0,this.onListChange?.()}cleanup(){this.clearGameTimer(),this.clearBalloonSpawn(),this.clearAnimationLoop(),this.clearComboTimeout(),this.particles=[],this.balloonsRef=[],this.sharedValuesMap.clear(),this.onListChange?.()}clearGameTimer(){this.gameTimerRef&&(clearInterval(this.gameTimerRef),this.gameTimerRef=null)}clearBalloonSpawn(){this.balloonSpawnRef&&(clearTimeout(this.balloonSpawnRef),this.balloonSpawnRef=null)}stopPhysicsLoop(){this.clearAnimationLoop()}clearAnimationLoop(){this.animationRef&&(cancelAnimationFrame(this.animationRef),this.animationRef=null)}clearComboTimeout(){this.comboTimeoutRef&&(clearTimeout(this.comboTimeoutRef),this.comboTimeoutRef=null)}}export const createBalloonBlasterService=(t,e)=>new BalloonBlasterService(t,e);
|