react-native-games 1.4.0 → 1.6.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/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/balloon-blaster/components/index.js +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/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/bike-racing/components/index.js +1 -1
- package/lib/module/games/bike-racing/index.js +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 -0
- package/lib/module/games/block-blast/components/BlastAnimation.js.map +1 -0
- 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/index.js +1 -1
- package/lib/module/games/block-blast/index.js +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/bubble-shooter/components/index.js +1 -1
- package/lib/module/games/bubble-shooter/index.js +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/CandyCrushService.js +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 -0
- package/lib/module/games/candy-crush/components/BlastAnimation.js.map +1 -0
- 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/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/index.js +1 -1
- package/lib/module/games/candy-crush/components/index.js.map +1 -1
- package/lib/module/games/candy-crush/index.js +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/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/car-racing/components/index.js +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/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/colors-sort/components/index.js +1 -1
- 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/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/index.js +1 -1
- 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/flappy-bird/components/index.js +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/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/index.js +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/index.js +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/Game2048Service.js +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/game-2048/components/index.js +1 -1
- 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/MazeRunnerService.js +1 -1
- package/lib/module/games/maze-runner/MazeRunnerService.js.map +1 -1
- 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/StaticGameBackground.js +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/maze-runner/components/index.js +1 -1
- 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/index.js +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/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/popit-fidget/components/index.js +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/SlidingNumbersService.js +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/sliding-numbers/components/index.js +1 -1
- package/lib/module/games/snake/Snake.js +1 -1
- package/lib/module/games/snake/Snake.js.map +1 -1
- package/lib/module/games/snake/SnakeConstants.js +1 -1
- package/lib/module/games/snake/SnakeService.js +1 -1
- package/lib/module/games/snake/SnakeStore.js +1 -1
- package/lib/module/games/snake/SnakeStore.js.map +1 -1
- package/lib/module/games/snake/components/GameBackground.js +1 -1
- package/lib/module/games/snake/components/GameBackground.js.map +1 -1
- package/lib/module/games/snake/components/GameGrid.js +1 -1
- package/lib/module/games/snake/components/GameGrid.js.map +1 -1
- package/lib/module/games/snake/components/ScoreBoard.js +1 -1
- package/lib/module/games/snake/components/index.js +1 -1
- package/lib/module/games/snake/index.js +1 -1
- 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/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/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/index.js +1 -1
- 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/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/whack-a-mole/components/index.js +1 -1
- package/lib/module/helpers/AbstractFruits.js +1 -0
- package/lib/module/helpers/AbstractFruits.js.map +1 -0
- package/lib/module/helpers/AnimationFrame.js +1 -1
- package/lib/module/helpers/AnimationTracker.js +1 -1
- package/lib/module/helpers/ErrorHandler.js +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/GameSettingsModal.js +1 -1
- package/lib/module/helpers/ParticleBlast.js +1 -1
- package/lib/module/helpers/ScoreBoardContainer.js +1 -1
- package/lib/module/helpers/ScoreBoardContainer.js.map +1 -1
- 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/services/GamesConstants.js +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/ScoringService.js +1 -1
- package/lib/module/services/SoundsService.js +1 -1
- package/lib/module/services/UtilsService.js +1 -1
- package/lib/module/services/UtilsService.js.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/BalloonBlaster.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterConstants.d.ts +5 -1
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterService.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterStore.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/components/BalloonComponent.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/components/GameArea.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/components/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/BikeRacingService.d.ts +6 -2
- package/lib/typescript/src/games/bike-racing/BikeRacingService.d.ts.map +1 -1
- package/lib/typescript/src/games/bike-racing/BikeRacingStore.d.ts +9 -0
- package/lib/typescript/src/games/bike-racing/BikeRacingStore.d.ts.map +1 -1
- 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.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 +2 -2
- 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 +13 -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 +12 -0
- package/lib/typescript/src/games/block-blast/components/BlastAnimation.d.ts.map +1 -0
- package/lib/typescript/src/games/block-blast/components/BlockPieceComponent.d.ts +1 -4
- 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.map +1 -1
- package/lib/typescript/src/games/block-blast/components/GridComponent.d.ts +4 -2
- package/lib/typescript/src/games/block-blast/components/GridComponent.d.ts.map +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 +12 -6
- package/lib/typescript/src/games/bubble-shooter/BubbleShooterConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/bubble-shooter/BubbleShooterService.d.ts +1 -0
- package/lib/typescript/src/games/bubble-shooter/BubbleShooterService.d.ts.map +1 -1
- package/lib/typescript/src/games/bubble-shooter/BubbleShooterStore.d.ts +5 -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.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/CandyCrushConstants.d.ts +1 -1
- package/lib/typescript/src/games/candy-crush/CandyCrushStore.d.ts +8 -0
- package/lib/typescript/src/games/candy-crush/CandyCrushStore.d.ts.map +1 -1
- package/lib/typescript/src/games/candy-crush/components/BlastAnimation.d.ts +16 -0
- package/lib/typescript/src/games/candy-crush/components/BlastAnimation.d.ts.map +1 -0
- package/lib/typescript/src/games/candy-crush/components/CandyItem.d.ts.map +1 -1
- package/lib/typescript/src/games/candy-crush/components/GameGrid.d.ts.map +1 -1
- package/lib/typescript/src/games/candy-crush/components/index.d.ts +1 -0
- package/lib/typescript/src/games/candy-crush/components/index.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/CarRacingService.d.ts +6 -2
- package/lib/typescript/src/games/car-racing/CarRacingService.d.ts.map +1 -1
- package/lib/typescript/src/games/car-racing/CarRacingStore.d.ts +9 -0
- package/lib/typescript/src/games/car-racing/CarRacingStore.d.ts.map +1 -1
- package/lib/typescript/src/games/car-racing/components/CarComponent.d.ts +0 -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.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 +1 -0
- package/lib/typescript/src/games/colors-sort/ColorsSortConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/colors-sort/ColorsSortStore.d.ts +5 -1
- 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 -1
- package/lib/typescript/src/games/colors-sort/components/ColorContainer.d.ts.map +1 -1
- package/lib/typescript/src/games/colors-sort/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/dino-jump/DinoJump.d.ts.map +1 -1
- package/lib/typescript/src/games/dino-jump/DinoJumpConstants.d.ts +9 -7
- package/lib/typescript/src/games/dino-jump/DinoJumpConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/dino-jump/DinoJumpService.d.ts +1 -1
- package/lib/typescript/src/games/dino-jump/DinoJumpStore.d.ts +1 -0
- 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/GameBackground.d.ts.map +1 -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/flappy-bird/FlappyBird.d.ts.map +1 -1
- package/lib/typescript/src/games/flappy-bird/FlappyBirdConstants.d.ts +6 -0
- package/lib/typescript/src/games/flappy-bird/FlappyBirdConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/flappy-bird/FlappyBirdStore.d.ts +8 -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.map +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 +21 -20
- package/lib/typescript/src/games/fruit-merger/FruitMergerConstants.d.ts.map +1 -1
- 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 -2
- 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.map +1 -1
- package/lib/typescript/src/games/fruit-merger/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaConstants.d.ts +15 -45
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaService.d.ts +9 -33
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaService.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaStore.d.ts +0 -11
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaStore.d.ts.map +1 -1
- package/lib/typescript/src/games/fruit-ninja/components/FruitComponent.d.ts +0 -1
- 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.map +1 -1
- package/lib/typescript/src/games/fruit-ninja/components/GameBackground.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/Game2048Store.d.ts +20 -0
- 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.map +1 -1
- package/lib/typescript/src/games/game-2048/components/GameTile.d.ts.map +1 -1
- package/lib/typescript/src/games/maze-runner/MazeRunner.d.ts.map +1 -1
- package/lib/typescript/src/games/maze-runner/MazeRunnerConstants.d.ts +2 -2
- package/lib/typescript/src/games/maze-runner/MazeRunnerService.d.ts.map +1 -1
- package/lib/typescript/src/games/maze-runner/components/EnhancedBallComponent.d.ts +1 -1
- package/lib/typescript/src/games/maze-runner/components/EnhancedBallComponent.d.ts.map +1 -1
- package/lib/typescript/src/games/maze-runner/components/EnhancedGameArea.d.ts.map +1 -1
- package/lib/typescript/src/games/maze-runner/components/GameBackground.d.ts +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 +1 -0
- package/lib/typescript/src/games/maze-runner/components/ScoreBoard.d.ts.map +1 -1
- package/lib/typescript/src/games/maze-runner/components/WallComponent.d.ts +1 -1
- package/lib/typescript/src/games/maze-runner/components/WallComponent.d.ts.map +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 +1 -0
- package/lib/typescript/src/games/perfect-circle/PerfectCircleConstants.d.ts.map +1 -1
- package/lib/typescript/src/games/perfect-circle/PerfectCircleService.d.ts +5 -3
- package/lib/typescript/src/games/perfect-circle/PerfectCircleService.d.ts.map +1 -1
- package/lib/typescript/src/games/perfect-circle/PerfectCircleStore.d.ts +16 -0
- package/lib/typescript/src/games/perfect-circle/PerfectCircleStore.d.ts.map +1 -1
- package/lib/typescript/src/games/perfect-circle/components/GameBackground.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 +2 -2
- package/lib/typescript/src/games/popit-fidget/PopitFidgetStore.d.ts +4 -2
- package/lib/typescript/src/games/popit-fidget/PopitFidgetStore.d.ts.map +1 -1
- 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 +2 -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/SlidingNumbersService.d.ts +1 -1
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersStore.d.ts +10 -0
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersStore.d.ts.map +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.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/Snake.d.ts.map +1 -1
- package/lib/typescript/src/games/snake/SnakeStore.d.ts +16 -0
- package/lib/typescript/src/games/snake/SnakeStore.d.ts.map +1 -1
- package/lib/typescript/src/games/snake/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/games/snake/components/GameGrid.d.ts.map +1 -1
- package/lib/typescript/src/games/space-fighter/SpaceFighter.d.ts.map +1 -1
- package/lib/typescript/src/games/space-fighter/SpaceFighterConstants.d.ts +4 -4
- 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.map +1 -1
- package/lib/typescript/src/games/space-fighter/components/Spacecraft3D.d.ts.map +1 -1
- 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 +8 -3
- 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.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/GameHole.d.ts.map +1 -1
- package/lib/typescript/src/games/whack-a-mole/components/MoleCharacter.d.ts.map +1 -1
- package/lib/typescript/src/helpers/AbstractFruits.d.ts +207 -0
- package/lib/typescript/src/helpers/AbstractFruits.d.ts.map +1 -0
- package/lib/typescript/src/helpers/GameControlButton.d.ts +4 -7
- package/lib/typescript/src/helpers/GameControlButton.d.ts.map +1 -1
- package/lib/typescript/src/helpers/ParticleBlast.d.ts +1 -1
- package/lib/typescript/src/helpers/ParticleBlast.d.ts.map +1 -1
- package/lib/typescript/src/helpers/index.d.ts +1 -0
- package/lib/typescript/src/helpers/index.d.ts.map +1 -1
- package/lib/typescript/src/services/UtilsService.d.ts +2 -0
- package/lib/typescript/src/services/UtilsService.d.ts.map +1 -1
- package/package.json +7 -3
|
@@ -50,6 +50,15 @@ export interface BikeRacingStore extends GameState {
|
|
|
50
50
|
clearObstacles: () => void;
|
|
51
51
|
addParticleEffect: (x: number, y: number) => void;
|
|
52
52
|
removeParticleEffect: (effectId: string) => void;
|
|
53
|
+
batchUpdate: (updates: {
|
|
54
|
+
roadOffset: number;
|
|
55
|
+
obstacleUpdates: Array<{
|
|
56
|
+
id: string;
|
|
57
|
+
y: number;
|
|
58
|
+
}>;
|
|
59
|
+
obstaclesToRemove: string[];
|
|
60
|
+
obstaclesToPass: string[];
|
|
61
|
+
}) => void;
|
|
53
62
|
}
|
|
54
63
|
export declare const useBikeRacingStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<BikeRacingStore>, "subscribe"> & {
|
|
55
64
|
subscribe: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BikeRacingStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/bike-racing/BikeRacingStore.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAA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,EAAE,MAAM,IAAI,CAAC;IAC3B,iBAAiB,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD,oBAAoB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,WAAW,EAAE,CAAC,OAAO,EAAE;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,eAAe,EAAE,KAAK,CAAC;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QAClD,iBAAiB,EAAE,MAAM,EAAE,CAAC;QAC5B,eAAe,EAAE,MAAM,EAAE,CAAC;KAC3B,KAAK,IAAI,CAAC;CACZ;AAGD,eAAO,MAAM,kBAAkB;;;;;;;;EA2P9B,CAAC;AAGF,eAAO,MAAM,QAAQ,cAAmD,CAAC;AACzE,eAAO,MAAM,WAAW,cAAsD,CAAC;AAC/E,eAAO,MAAM,QAAQ,cAAmD,CAAC;AACzE,eAAO,MAAM,YAAY,eAAuD,CAAC;AACjF,eAAO,MAAM,WAAW,eAAsD,CAAC;AAC/E,eAAO,MAAM,YAAY,kBAAuD,CAAC;AACjF,eAAO,MAAM,aAAa,kBAAwD,CAAC;AACnF,eAAO,MAAM,aAAa,cAAwD,CAAC;AACnF,eAAO,MAAM,kBAAkB,wBAA6D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BikeComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/games/bike-racing/components/BikeComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"BikeComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/games/bike-racing/components/BikeComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AA6BvC,UAAU,kBAAkB;IAC1B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;CACnB;AAyJD,eAAO,MAAM,aAAa,uEAAyD,kBAAkB,6CAKnG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/bike-racing/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/bike-racing/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACpB;AAsKD,eAAO,MAAM,cAAc,4DA3HqC,mBAAmB,6CA2HH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/bike-racing/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/bike-racing/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAwBvC,UAAU,eAAe;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,yCAA+B,eAAe,6CA0CnE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockBlast.d.ts","sourceRoot":"","sources":["../../../../../src/games/block-blast/BlockBlast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAyB,KAAK,SAAS,EAAY,MAAM,6BAA6B,CAAC;AAgB9F,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"BlockBlast.d.ts","sourceRoot":"","sources":["../../../../../src/games/block-blast/BlockBlast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAyB,KAAK,SAAS,EAAY,MAAM,6BAA6B,CAAC;AAgB9F,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAkO1C,CAAC"}
|
|
@@ -70,8 +70,8 @@ export declare const BLOCK_BLAST_COLORS: {
|
|
|
70
70
|
readonly UI: "#ff69b4";
|
|
71
71
|
readonly HEART: "#ff69b4";
|
|
72
72
|
};
|
|
73
|
-
export declare const BLOCK_SHAPES: readonly [readonly [readonly [1]], readonly [readonly [1, 1]], readonly [readonly [1], readonly [1]], readonly [readonly [1, 1, 1]], readonly [readonly [1], readonly [1], readonly [1]], readonly [readonly [1, 1], readonly [1, 0]], readonly [readonly [1, 1], readonly [0, 1]], readonly [readonly [1, 0], readonly [1, 1]], readonly [readonly [0, 1], readonly [1, 1]], readonly [readonly [1, 1, 1, 1]], readonly [readonly [1], readonly [1], readonly [1], readonly [1]], readonly [readonly [1, 1], readonly [1, 1]], readonly [readonly [1, 1, 0], readonly [0, 1, 1]], readonly [readonly [0, 1, 1], readonly [1, 1, 0]], readonly [readonly [1, 1, 1], readonly [1, 0, 0]], readonly [readonly [1, 1, 1], readonly [0, 0, 1]], readonly [readonly [1, 1, 1], readonly [0,
|
|
74
|
-
export declare const getRandomBlockShape: () => readonly [readonly [1]] | readonly [readonly [1, 1]] | readonly [readonly [1], readonly [1]] | readonly [readonly [1, 1, 1]] | readonly [readonly [1], readonly [1], readonly [1]] | readonly [readonly [1, 1], readonly [1, 0]] | readonly [readonly [1, 1], readonly [0, 1]] | readonly [readonly [1, 0], readonly [1, 1]] | readonly [readonly [0, 1], readonly [1, 1]] | readonly [readonly [1, 1, 1, 1]] | readonly [readonly [1], readonly [1], readonly [1], readonly [1]] | readonly [readonly [1, 1], readonly [1, 1]] | readonly [readonly [1, 1,
|
|
73
|
+
export declare const BLOCK_SHAPES: readonly [readonly [readonly [1]], readonly [readonly [1, 1]], readonly [readonly [1], readonly [1]], readonly [readonly [1, 1, 1]], readonly [readonly [1], readonly [1], readonly [1]], readonly [readonly [1, 1], readonly [1, 0]], readonly [readonly [1, 1], readonly [0, 1]], readonly [readonly [1, 0], readonly [1, 1]], readonly [readonly [0, 1], readonly [1, 1]], readonly [readonly [1, 1, 1, 1]], readonly [readonly [1], readonly [1], readonly [1], readonly [1]], readonly [readonly [1, 1], readonly [1, 1]], readonly [readonly [1, 1, 1], readonly [0, 1, 0]], readonly [readonly [0, 1, 0], readonly [1, 1, 1]], readonly [readonly [0, 1, 1], readonly [1, 1, 0]], readonly [readonly [1, 1, 0], readonly [0, 1, 1]], readonly [readonly [1, 1, 1], readonly [1, 0, 0]], readonly [readonly [0, 0, 1], readonly [1, 1, 1]], readonly [readonly [1, 0, 0], readonly [1, 1, 1]], readonly [readonly [1, 1, 1], readonly [0, 0, 1]]];
|
|
74
|
+
export declare const getRandomBlockShape: () => readonly [readonly [1]] | readonly [readonly [1, 1]] | readonly [readonly [1], readonly [1]] | readonly [readonly [1, 1, 1]] | readonly [readonly [1], readonly [1], readonly [1]] | readonly [readonly [1, 1], readonly [1, 0]] | readonly [readonly [1, 1], readonly [0, 1]] | readonly [readonly [1, 0], readonly [1, 1]] | readonly [readonly [0, 1], readonly [1, 1]] | readonly [readonly [1, 1, 1, 1]] | readonly [readonly [1], readonly [1], readonly [1], readonly [1]] | readonly [readonly [1, 1], readonly [1, 1]] | readonly [readonly [1, 1, 1], readonly [0, 1, 0]] | readonly [readonly [0, 1, 0], readonly [1, 1, 1]] | readonly [readonly [0, 1, 1], readonly [1, 1, 0]] | readonly [readonly [1, 1, 0], readonly [0, 1, 1]] | readonly [readonly [1, 1, 1], readonly [1, 0, 0]] | readonly [readonly [0, 0, 1], readonly [1, 1, 1]] | readonly [readonly [1, 0, 0], readonly [1, 1, 1]] | readonly [readonly [1, 1, 1], readonly [0, 0, 1]] | undefined;
|
|
75
75
|
export declare const getRandomBlockColor: () => "#00d4ff" | "#ffd700" | "#00ff88" | "#4169ff" | "#ff4169" | "#b469ff" | "#ff8800" | "#ff69b4" | undefined;
|
|
76
76
|
export declare const BLOCK_BLAST_THEME: GameSettingsTheme;
|
|
77
77
|
export declare const BLOCK_BLAST_DIFFICULTY_DESCRIPTIONS: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockBlastConstants.d.ts","sourceRoot":"","sources":["../../../../../src/games/block-blast/BlockBlastConstants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGvE,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IACvC,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;CACxB;AAGD,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;CAmBhC,CAAC;AAGX,eAAO,MAAM,qBAAqB,GAAI,YAAY,MAAM,GAAG,QAAQ,GAAG,MAAM;;;;;;;;;;;;;;;CAE3E,CAAC;AAGF,eAAO,MAAM,4BAA4B,EAAE,kBAI1C,CAAC;AAGF,eAAO,MAAM,uBAAuB;;;;;;;;;;CAU1B,CAAC;AAGX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;CAqBrB,CAAC;AAGX,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"BlockBlastConstants.d.ts","sourceRoot":"","sources":["../../../../../src/games/block-blast/BlockBlastConstants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGvE,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,MAAM,G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AM,GAAG,OAAO;
|
|
1
|
+
{"version":3,"file":"BlockBlastService.d.ts","sourceRoot":"","sources":["../../../../../src/games/block-blast/BlockBlastService.ts"],"names":[],"mappings":"AAEA,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,YAAY,CAAC,CAAiC;IACtD,OAAO,CAAC,YAAY,CAAC,CAAa;IAClC,OAAO,CAAC,UAAU,CAAC,CAAa;IAGhC,YAAY,CACV,YAAY,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,EAC7C,YAAY,CAAC,EAAE,MAAM,IAAI,EACzB,UAAU,CAAC,EAAE,MAAM,IAAI,GACtB,IAAI;IAOP,SAAS,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI;IAKlC,QAAQ,IAAI,IAAI;IAKhB,SAAS,IAAI,IAAI;IAKjB,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO;IA+B9D,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO;IA+BjE,eAAe,CACb,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,GACd;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;IActC,OAAO,IAAI,IAAI;CAKhB"}
|
|
@@ -11,6 +11,11 @@ export interface GameState {
|
|
|
11
11
|
timeRemaining: number;
|
|
12
12
|
gameDuration: number;
|
|
13
13
|
}
|
|
14
|
+
export interface ClearingCell {
|
|
15
|
+
row: number;
|
|
16
|
+
col: number;
|
|
17
|
+
color: string;
|
|
18
|
+
}
|
|
14
19
|
export interface BlockBlastStore extends GameState {
|
|
15
20
|
grid: (string | null)[][];
|
|
16
21
|
gridSize: number;
|
|
@@ -25,6 +30,8 @@ export interface BlockBlastStore extends GameState {
|
|
|
25
30
|
col: number;
|
|
26
31
|
} | null;
|
|
27
32
|
canPlace: boolean;
|
|
33
|
+
clearingCells: ClearingCell[];
|
|
34
|
+
initializeGame: (gridSize?: number) => void;
|
|
28
35
|
startGame: (gridSize?: number, gameDuration?: number) => void;
|
|
29
36
|
stopGame: () => void;
|
|
30
37
|
resetGame: () => void;
|
|
@@ -37,7 +44,11 @@ export interface BlockBlastStore extends GameState {
|
|
|
37
44
|
placePiece: (pieceId: string, row: number, col: number) => boolean;
|
|
38
45
|
generateNextPieces: () => void;
|
|
39
46
|
addNewPiece: () => void;
|
|
40
|
-
clearLines: () =>
|
|
47
|
+
clearLines: () => {
|
|
48
|
+
linesCleared: number;
|
|
49
|
+
cellsToAnimate: ClearingCell[];
|
|
50
|
+
};
|
|
51
|
+
clearClearingCells: () => void;
|
|
41
52
|
checkGameOver: () => boolean;
|
|
42
53
|
decrementTime: () => void;
|
|
43
54
|
checkWinCondition: () => void;
|
|
@@ -59,4 +70,5 @@ export declare const useTimeRemaining: () => number;
|
|
|
59
70
|
export declare const useGrid: () => (string | null)[][];
|
|
60
71
|
export declare const useNextPieces: () => BlockPiece[];
|
|
61
72
|
export declare const useSelectedPieceId: () => string | null;
|
|
73
|
+
export declare const useClearingCells: () => ClearingCell[];
|
|
62
74
|
//# sourceMappingURL=BlockBlastStore.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockBlastStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/block-blast/BlockBlastStore.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO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AAU,EAAE,MAAM;QAAE,YAAY,EAAE,MAAM,CAAC;QAAC,cAAc,EAAE,YAAY,EAAE,CAAA;KAAE,CAAC;IAC3E,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,aAAa,EAAE,MAAM,OAAO,CAAC;IAC7B,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B;AAyBD,eAAO,MAAM,kBAAkB;;;;;;;;EAyW9B,CAAC;AAGF,eAAO,MAAM,QAAQ,cAAmD,CAAC;AACzE,eAAO,MAAM,YAAY,eAAuD,CAAC;AACjF,eAAO,MAAM,WAAW,eAAsD,CAAC;AAC/E,eAAO,MAAM,UAAU,eAAqD,CAAC;AAC7E,eAAO,MAAM,gBAAgB,cAA2D,CAAC;AACzF,eAAO,MAAM,OAAO,2BAAkD,CAAC;AACvE,eAAO,MAAM,aAAa,oBAAwD,CAAC;AACnF,eAAO,MAAM,kBAAkB,qBAA6D,CAAC;AAC7F,eAAO,MAAM,gBAAgB,sBAA2D,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ClearingCell } from '../BlockBlastStore';
|
|
3
|
+
interface BlastAnimationProps {
|
|
4
|
+
cells: ClearingCell[];
|
|
5
|
+
cellSize: number;
|
|
6
|
+
cellGap: number;
|
|
7
|
+
totalCellSize: number;
|
|
8
|
+
onComplete: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const BlastAnimation: React.FC<BlastAnimationProps>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=BlastAnimation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlastAnimation.d.ts","sourceRoot":"","sources":["../../../../../../src/games/block-blast/components/BlastAnimation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AA4CvD,UAAU,mBAAmB;IAC3B,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAkCvD,CAAC"}
|
|
@@ -5,10 +5,7 @@ interface BlockPieceComponentProps {
|
|
|
5
5
|
cellSize: number;
|
|
6
6
|
cellGap: number;
|
|
7
7
|
scale?: number;
|
|
8
|
-
x?: number;
|
|
9
|
-
y?: number;
|
|
10
|
-
isDragging?: boolean;
|
|
11
8
|
}
|
|
12
|
-
export declare const BlockPieceComponent: React.MemoExoticComponent<({ shape, color, cellSize, cellGap, scale,
|
|
9
|
+
export declare const BlockPieceComponent: React.MemoExoticComponent<({ shape, color, cellSize, cellGap, scale, }: BlockPieceComponentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
13
10
|
export {};
|
|
14
11
|
//# sourceMappingURL=BlockPieceComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockPieceComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/games/block-blast/components/BlockPieceComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,wBAAwB;IAChC,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"BlockPieceComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/games/block-blast/components/BlockPieceComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,wBAAwB;IAChC,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AA0ED,eAAO,MAAM,mBAAmB,0EAlE7B,wBAAwB,6CAkE0D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GameArea.d.ts","sourceRoot":"","sources":["../../../../../../src/games/block-blast/components/GameArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"GameArea.d.ts","sourceRoot":"","sources":["../../../../../../src/games/block-blast/components/GameArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AA2E9D,UAAU,aAAa;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,iBAAiB,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;CAChB;AA+WD,eAAO,MAAM,QAAQ,2CAAuD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/block-blast/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/block-blast/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqB1B,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAuGD,eAAO,MAAM,cAAc,iDAAiC,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
interface GridComponentProps {
|
|
3
2
|
grid: (string | null)[][];
|
|
4
3
|
gridSize: number;
|
|
@@ -12,6 +11,9 @@ interface GridComponentProps {
|
|
|
12
11
|
canPlace: boolean;
|
|
13
12
|
} | null;
|
|
14
13
|
}
|
|
15
|
-
export declare const GridComponent:
|
|
14
|
+
export declare const GridComponent: {
|
|
15
|
+
(props: GridComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
16
18
|
export {};
|
|
17
19
|
//# sourceMappingURL=GridComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GridComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/games/block-blast/components/GridComponent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GridComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/games/block-blast/components/GridComponent.tsx"],"names":[],"mappings":"AAOA,UAAU,kBAAkB;IAC1B,IAAI,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE;QACb,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC;QAClB,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,QAAQ,EAAE,OAAO,CAAC;KACnB,GAAG,IAAI,CAAC;CACV;AAkLD,eAAO,MAAM,aAAa;YAAW,kBAAkB;;CAetD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BubbleShooter.d.ts","sourceRoot":"","sources":["../../../../../src/games/bubble-shooter/BubbleShooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAyB,KAAK,SAAS,EAAY,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"BubbleShooter.d.ts","sourceRoot":"","sources":["../../../../../src/games/bubble-shooter/BubbleShooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAyB,KAAK,SAAS,EAAY,MAAM,6BAA6B,CAAC;AAuP9F,eAAO,MAAM,aAAa,uCAAqC,CAAC"}
|
|
@@ -8,27 +8,33 @@ export interface BubbleShooterSettings {
|
|
|
8
8
|
}
|
|
9
9
|
export declare const BUBBLE_SHOOTER_DIFFICULTY_CONFIG: {
|
|
10
10
|
readonly easy: {
|
|
11
|
-
readonly rowCount:
|
|
11
|
+
readonly rowCount: 4;
|
|
12
12
|
readonly colorCount: 4;
|
|
13
|
+
readonly timeLimit: number;
|
|
13
14
|
};
|
|
14
15
|
readonly medium: {
|
|
15
|
-
readonly rowCount:
|
|
16
|
+
readonly rowCount: 6;
|
|
16
17
|
readonly colorCount: 5;
|
|
18
|
+
readonly timeLimit: number;
|
|
17
19
|
};
|
|
18
20
|
readonly hard: {
|
|
19
|
-
readonly rowCount:
|
|
21
|
+
readonly rowCount: 8;
|
|
20
22
|
readonly colorCount: 6;
|
|
23
|
+
readonly timeLimit: number;
|
|
21
24
|
};
|
|
22
25
|
};
|
|
23
26
|
export declare const getDifficultySettings: (difficulty: "easy" | "medium" | "hard") => {
|
|
24
|
-
readonly rowCount:
|
|
27
|
+
readonly rowCount: 4;
|
|
25
28
|
readonly colorCount: 4;
|
|
29
|
+
readonly timeLimit: number;
|
|
26
30
|
} | {
|
|
27
|
-
readonly rowCount:
|
|
31
|
+
readonly rowCount: 6;
|
|
28
32
|
readonly colorCount: 5;
|
|
33
|
+
readonly timeLimit: number;
|
|
29
34
|
} | {
|
|
30
|
-
readonly rowCount:
|
|
35
|
+
readonly rowCount: 8;
|
|
31
36
|
readonly colorCount: 6;
|
|
37
|
+
readonly timeLimit: number;
|
|
32
38
|
};
|
|
33
39
|
export declare const DEFAULT_BUBBLE_SHOOTER_SETTINGS: BubbleShooterSettings;
|
|
34
40
|
export declare const BUBBLE_SHOOTER_GAME_CONFIG: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BubbleShooterConstants.d.ts","sourceRoot":"","sources":["../../../../../src/games/bubble-shooter/BubbleShooterConstants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGvE,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IACvC,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAGD,eAAO,MAAM,gCAAgC
|
|
1
|
+
{"version":3,"file":"BubbleShooterConstants.d.ts","sourceRoot":"","sources":["../../../../../src/games/bubble-shooter/BubbleShooterConstants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGvE,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IACvC,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAGD,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;CAgBnC,CAAC;AAGX,eAAO,MAAM,qBAAqB,GAAI,YAAY,MAAM,GAAG,QAAQ,GAAG,MAAM;;;;;;;;;;;;CAE3E,CAAC;AAGF,eAAO,MAAM,+BAA+B,EAAE,qBAM7C,CAAC;AAGF,eAAO,MAAM,0BAA0B;;;;;;;;;;;CAW7B,CAAC;AAGX,eAAO,MAAM,aAAa,mGAShB,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;CAOxB,CAAC;AAGX,eAAO,MAAM,oBAAoB,EAAE,iBAclC,CAAC;AAGF,eAAO,MAAM,sCAAsC;;;;CAIzC,CAAC"}
|
|
@@ -12,6 +12,7 @@ export declare class BubbleShooterService {
|
|
|
12
12
|
setCallbacks(onShoot?: () => void, onBubbleMatch?: () => void, onGameWon?: () => void): void;
|
|
13
13
|
setDifficulty(rowCount: number, colorCount: number): void;
|
|
14
14
|
setShooterPosition(x: number, y: number, offset?: number): void;
|
|
15
|
+
setOffset(offset: number): void;
|
|
15
16
|
startGame(): void;
|
|
16
17
|
stopGame(): void;
|
|
17
18
|
resetGame(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BubbleShooterService.d.ts","sourceRoot":"","sources":["../../../../../src/games/bubble-shooter/BubbleShooterService.ts"],"names":[],"mappings":"AACA,OAAO,EAAyB,KAAK,MAAM,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"BubbleShooterService.d.ts","sourceRoot":"","sources":["../../../../../src/games/bubble-shooter/BubbleShooterService.ts"],"names":[],"mappings":"AACA,OAAO,EAAyB,KAAK,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAgB1E,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,QAAQ,CAAa;IAC7B,OAAO,CAAC,UAAU,CAAa;IAC/B,OAAO,CAAC,QAAQ,CAAqB;IACrC,OAAO,CAAC,QAAQ,CAAa;IAC7B,OAAO,CAAC,MAAM,CAAa;IAG3B,OAAO,CAAC,OAAO,CAAC,CAAa;IAC7B,OAAO,CAAC,aAAa,CAAC,CAAa;IACnC,OAAO,CAAC,SAAS,CAAC,CAAa;;IAI/B,YAAY,CACV,OAAO,CAAC,EAAE,MAAM,IAAI,EACpB,aAAa,CAAC,EAAE,MAAM,IAAI,EAC1B,SAAS,CAAC,EAAE,MAAM,IAAI;IAOxB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;IAKlD,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,GAAE,MAAU;IAM3D,SAAS,CAAC,MAAM,EAAE,MAAM;IAIxB,SAAS;IAST,QAAQ;IAIR,SAAS;IAIT,OAAO;IAKP,iBAAiB;IAmDjB,oBAAoB,CAAC,OAAO,EAAE,MAAM;IA4CpC,oBAAoB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAoBzD,gBAAgB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IA0IpD,oBAAoB,CAAC,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE;IAoCzE,KAAK;CAwBN"}
|
|
@@ -16,6 +16,7 @@ export interface ShootingBubble {
|
|
|
16
16
|
}
|
|
17
17
|
export interface GameState {
|
|
18
18
|
score: number;
|
|
19
|
+
timeRemaining: number;
|
|
19
20
|
isPlaying: boolean;
|
|
20
21
|
gameOver: boolean;
|
|
21
22
|
gameWon: boolean;
|
|
@@ -26,10 +27,12 @@ export interface BubbleShooterStore extends GameState {
|
|
|
26
27
|
shootingBubble: ShootingBubble | null;
|
|
27
28
|
nextBubbleColor: string;
|
|
28
29
|
currentBubbleColor: string;
|
|
29
|
-
startGame: (rowCount: number, colorCount: number) => void;
|
|
30
|
+
startGame: (rowCount: number, colorCount: number, timeLimit: number) => void;
|
|
30
31
|
stopGame: () => void;
|
|
31
32
|
resetGame: () => void;
|
|
32
33
|
updateScore: (points: number) => void;
|
|
34
|
+
updateTimeRemaining: (time: number) => void;
|
|
35
|
+
setTimeRemaining: (time: number) => void;
|
|
33
36
|
setShooterAngle: (angle: number) => void;
|
|
34
37
|
shootBubble: () => void;
|
|
35
38
|
updateShootingBubble: (bubble: ShootingBubble) => void;
|
|
@@ -51,6 +54,7 @@ export declare const useBubbleShooterStore: import("zustand").UseBoundStore<Omit
|
|
|
51
54
|
};
|
|
52
55
|
}>;
|
|
53
56
|
export declare const useScore: () => number;
|
|
57
|
+
export declare const useTimeRemaining: () => number;
|
|
54
58
|
export declare const useIsPlaying: () => boolean;
|
|
55
59
|
export declare const useGameOver: () => boolean;
|
|
56
60
|
export declare const useGameWon: () => boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BubbleShooterStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/bubble-shooter/BubbleShooterStore.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;IACtC,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAG3B,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"BubbleShooterStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/bubble-shooter/BubbleShooterStore.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;IACtC,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAG3B,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7E,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,mBAAmB,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AO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAKpE,UAAU,aAAa;IACrB,WAAW,EAAE,oBAAoB,CAAC;IAClC,MAAM,EAAE,MAAM,CAAC;CAChB;
|
|
1
|
+
{"version":3,"file":"GameArea.d.ts","sourceRoot":"","sources":["../../../../../../src/games/bubble-shooter/components/GameArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAKpE,UAAU,aAAa;IACrB,WAAW,EAAE,oBAAoB,CAAC;IAClC,MAAM,EAAE,MAAM,CAAC;CAChB;AAkTD,eAAO,MAAM,QAAQ,2CAAuD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/bubble-shooter/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA4B1B,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;
|
|
1
|
+
{"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/bubble-shooter/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA4B1B,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAMD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgNvD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/bubble-shooter/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,eAAe;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;
|
|
1
|
+
{"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/bubble-shooter/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,eAAe;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAYD,eAAO,MAAM,UAAU,yCAA+B,eAAe,6CAwBnE,CAAC"}
|
|
@@ -9,7 +9,7 @@ export declare const CANDY_CRUSH_GAME_CONFIG: {
|
|
|
9
9
|
readonly COMBO_MULTIPLIER: 1.5;
|
|
10
10
|
readonly SPECIAL_CANDY_THRESHOLD: 4;
|
|
11
11
|
};
|
|
12
|
-
export declare const CANDY_COLORS: readonly ["#FF3B30", "#34C759", "#007AFF", "#FFCC00", "#
|
|
12
|
+
export declare const CANDY_COLORS: readonly ["#FF3B30", "#34C759", "#007AFF", "#FFCC00", "#00D4FF", "#FFFFFF"];
|
|
13
13
|
export declare const CANDY_TYPES: {
|
|
14
14
|
readonly NORMAL: "normal";
|
|
15
15
|
readonly STRIPED_HORIZONTAL: "striped_h";
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import type { CandyGrid, Candy } from './CandyCrushService';
|
|
2
|
+
export interface ClearingCell {
|
|
3
|
+
row: number;
|
|
4
|
+
col: number;
|
|
5
|
+
color: string;
|
|
6
|
+
}
|
|
2
7
|
export interface CandyCrushState {
|
|
3
8
|
grid: CandyGrid;
|
|
4
9
|
score: number;
|
|
@@ -16,6 +21,7 @@ export interface CandyCrushState {
|
|
|
16
21
|
gameTimer: NodeJS.Timeout | null;
|
|
17
22
|
matchedCandyIds: Set<number>;
|
|
18
23
|
fallingCandyIds: Set<number>;
|
|
24
|
+
clearingCells: ClearingCell[];
|
|
19
25
|
}
|
|
20
26
|
export interface CandyCrushStore extends CandyCrushState {
|
|
21
27
|
startGame: () => void;
|
|
@@ -25,6 +31,7 @@ export interface CandyCrushStore extends CandyCrushState {
|
|
|
25
31
|
selectCandy: (candy: Candy) => void;
|
|
26
32
|
processMatches: () => Promise<void>;
|
|
27
33
|
updateSettings: (enableSounds: boolean, enableHaptics: boolean) => void;
|
|
34
|
+
clearClearingCells: () => void;
|
|
28
35
|
}
|
|
29
36
|
export declare const useCandyCrushStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<CandyCrushStore>, "subscribe"> & {
|
|
30
37
|
subscribe: {
|
|
@@ -45,4 +52,5 @@ export declare const useSelectedCandy: () => Candy | null;
|
|
|
45
52
|
export declare const useComboCount: () => number;
|
|
46
53
|
export declare const useMatchedCandyIds: () => Set<number>;
|
|
47
54
|
export declare const useFallingCandyIds: () => Set<number>;
|
|
55
|
+
export declare const useClearingCells: () => ClearingCell[];
|
|
48
56
|
//# sourceMappingURL=CandyCrushStore.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CandyCrushStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/candy-crush/CandyCrushStore.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAO5D,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,KAAK,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,M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c,EAAE,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,KAAK,IAAI,CAAC;IAClE,WAAW,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACpC,cAAc,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACpC,cAAc,EAAE,CAAC,YAAY,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,KAAK,IAAI,CAAC;IACxE,kBAAkB,EAAE,MAAM,IAAI,CAAC;CAChC;AAID,eAAO,MAAM,kBAAkB;;;;;;;;EA6T9B,CAAC;AAGF,eAAO,MAAM,OAAO,iBAAgD,CAAC;AACrE,eAAO,MAAM,QAAQ,cAAiD,CAAC;AACvE,eAAO,MAAM,gBAAgB,cAAyD,CAAC;AACvF,eAAO,MAAM,eAAe,cAAwD,CAAC;AACrF,eAAO,MAAM,YAAY,eAAqD,CAAC;AAC/E,eAAO,MAAM,aAAa,eAAsD,CAAC;AACjF,eAAO,MAAM,gBAAgB,oBAAyD,CAAC;AACvF,eAAO,MAAM,aAAa,cAAsD,CAAC;AACjF,eAAO,MAAM,kBAAkB,mBAA2D,CAAC;AAC3F,eAAO,MAAM,kBAAkB,mBAA2D,CAAC;AAC3F,eAAO,MAAM,gBAAgB,sBAAyD,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ClearingCell {
|
|
3
|
+
row: number;
|
|
4
|
+
col: number;
|
|
5
|
+
color: string;
|
|
6
|
+
}
|
|
7
|
+
interface BlastAnimationProps {
|
|
8
|
+
cells: ClearingCell[];
|
|
9
|
+
cellSize: number;
|
|
10
|
+
cellGap: number;
|
|
11
|
+
totalCellSize: number;
|
|
12
|
+
onComplete: () => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const BlastAnimation: React.FC<BlastAnimationProps>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=BlastAnimation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlastAnimation.d.ts","sourceRoot":"","sources":["../../../../../../src/games/candy-crush/components/BlastAnimation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf;AA8CD,UAAU,mBAAmB;IAC3B,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAkCvD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CandyItem.d.ts","sourceRoot":"","sources":["../../../../../../src/games/candy-crush/components/CandyItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CandyItem.d.ts","sourceRoot":"","sources":["../../../../../../src/games/candy-crush/components/CandyItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAYjD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAYlD,UAAU,cAAc;IACtB,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,CAAC,SAAS,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,KAAK,IAAI,CAAC;CAChE;AAsMD,eAAO,MAAM,SAAS,4CAYpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GameGrid.d.ts","sourceRoot":"","sources":["../../../../../../src/games/candy-crush/components/GameGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"GameGrid.d.ts","sourceRoot":"","sources":["../../../../../../src/games/candy-crush/components/GameGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;AA8H1D,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EA6I3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/games/candy-crush/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/games/candy-crush/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarRacing.d.ts","sourceRoot":"","sources":["../../../../../src/games/car-racing/CarRacing.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"CarRacing.d.ts","sourceRoot":"","sources":["../../../../../src/games/car-racing/CarRacing.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAmBvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAM7D,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA+QzC,CAAC"}
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
export declare class CarRacingService {
|
|
2
2
|
private obstacleSpawnTimer;
|
|
3
|
-
private
|
|
3
|
+
private animationFrameId;
|
|
4
4
|
private obstacleIdCounter;
|
|
5
5
|
private roadSpeed;
|
|
6
6
|
private obstacleSpawnInterval;
|
|
7
7
|
private collisionCooldown;
|
|
8
8
|
private onCollision?;
|
|
9
9
|
private onPass?;
|
|
10
|
+
private lastFrameTime;
|
|
11
|
+
private readonly TARGET_FRAME_TIME;
|
|
10
12
|
constructor(roadSpeed?: number, obstacleSpawnInterval?: number);
|
|
11
13
|
setCallbacks(onCollision?: () => void, onPass?: () => void): void;
|
|
12
14
|
startGame(): void;
|
|
15
|
+
private gameLoop;
|
|
13
16
|
stopGame(): void;
|
|
14
17
|
private updateGameState;
|
|
15
|
-
private
|
|
18
|
+
private willCollide;
|
|
19
|
+
private handleCollision;
|
|
16
20
|
private startObstacleSpawning;
|
|
17
21
|
private spawnObstacle;
|
|
18
22
|
private fastRandom;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarRacingService.d.ts","sourceRoot":"","sources":["../../../../../src/games/car-racing/CarRacingService.ts"],"names":[],"mappings":"AAOA,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,kBAAkB,CAA+B;IACzD,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"CarRacingService.d.ts","sourceRoot":"","sources":["../../../../../src/games/car-racing/CarRacingService.ts"],"names":[],"mappings":"AAOA,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,kBAAkB,CAA+B;IACzD,OAAO,CAAC,gBAAgB,CAAuB;IAC/C,OAAO,CAAC,iBAAiB,CAAa;IACtC,OAAO,CAAC,SAAS,CAA6C;IAC9D,OAAO,CAAC,qBAAqB,CAA0D;IACvF,OAAO,CAAC,iBAAiB,CAAkC;IAC3D,OAAO,CAAC,WAAW,CAAC,CAAa;IACjC,OAAO,CAAC,MAAM,CAAC,CAAa;IAC5B,OAAO,CAAC,aAAa,CAAa;IAClC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAS;gBAE/B,SAAS,CAAC,EAAE,MAAM,EAAE,qBAAqB,CAAC,EAAE,MAAM;IAM9D,YAAY,CAAC,WAAW,CAAC,EAAE,MAAM,IAAI,EAAE,MAAM,CAAC,EAAE,MAAM,IAAI,GAAG,IAAI;IAMjE,SAAS,IAAI,IAAI;IAcjB,OAAO,CAAC,QAAQ,CAiBd;IAGF,QAAQ,IAAI,IAAI;IAKhB,OAAO,CAAC,eAAe;IA+DvB,OAAO,CAAC,WAAW;IAgBnB,OAAO,CAAC,eAAe;IAuBvB,OAAO,CAAC,qBAAqB;IAU7B,OAAO,CAAC,aAAa;IAgCrB,OAAO,CAAC,UAAU;IAKlB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAQpC,OAAO,IAAI,IAAI;CAahB"}
|
|
@@ -50,6 +50,15 @@ export interface CarRacingStore extends GameState {
|
|
|
50
50
|
clearObstacles: () => void;
|
|
51
51
|
addParticleEffect: (x: number, y: number) => void;
|
|
52
52
|
removeParticleEffect: (effectId: string) => void;
|
|
53
|
+
batchUpdate: (updates: {
|
|
54
|
+
roadOffset: number;
|
|
55
|
+
obstacleUpdates: Array<{
|
|
56
|
+
id: string;
|
|
57
|
+
y: number;
|
|
58
|
+
}>;
|
|
59
|
+
obstaclesToRemove: string[];
|
|
60
|
+
obstaclesToPass: string[];
|
|
61
|
+
}) => void;
|
|
53
62
|
}
|
|
54
63
|
export declare const useCarRacingStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<CarRacingStore>, "subscribe"> & {
|
|
55
64
|
subscribe: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarRacingStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/car-racing/CarRacingStore.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,SAAS;IACxB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,SAAS,EAAE,SAAS,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IAGrB,SAAS,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5D,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,QAAQ,EAAE,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AAI,CAAC;IACtC,gBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,kBAAkB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,iBAAiB,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD,oBAAoB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,WAAW,EAAE,CAAC,OAAO,EAAE;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,eAAe,EAAE,KAAK,CAAC;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QAClD,iBAAiB,EAAE,MAAM,EAAE,CAAC;QAC5B,eAAe,EAAE,MAAM,EAAE,CAAC;KAC3B,KAAK,IAAI,CAAC;CACZ;AAGD,eAAO,MAAM,iBAAiB;;;;;;;;EA2P7B,CAAC;AAGF,eAAO,MAAM,QAAQ,cAAkD,CAAC;AACxE,eAAO,MAAM,WAAW,cAAqD,CAAC;AAC9E,eAAO,MAAM,QAAQ,cAAkD,CAAC;AACxE,eAAO,MAAM,YAAY,eAAsD,CAAC;AAChF,eAAO,MAAM,WAAW,eAAqD,CAAC;AAC9E,eAAO,MAAM,YAAY,kBAAsD,CAAC;AAChF,eAAO,MAAM,YAAY,iBAAsD,CAAC;AAChF,eAAO,MAAM,aAAa,cAAuD,CAAC;AAClF,eAAO,MAAM,kBAAkB,wBAA4D,CAAC"}
|
|
@@ -8,6 +8,5 @@ interface CarComponentProps {
|
|
|
8
8
|
isPlayer?: boolean;
|
|
9
9
|
}
|
|
10
10
|
export declare const CarComponent: React.MemoExoticComponent<({ x, y, width, height, color, isPlayer }: CarComponentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
11
|
-
export declare const MemoizedCarComponent: React.MemoExoticComponent<React.MemoExoticComponent<({ x, y, width, height, color, isPlayer }: CarComponentProps) => import("react/jsx-runtime").JSX.Element>>;
|
|
12
11
|
export {};
|
|
13
12
|
//# sourceMappingURL=CarComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/games/car-racing/components/CarComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"CarComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/games/car-racing/components/CarComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAgCvC,UAAU,iBAAiB;IACzB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAgJD,eAAO,MAAM,YAAY,uEAAiE,iBAAiB,6CAKzG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/car-racing/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/car-racing/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACpB;AAwLD,eAAO,MAAM,cAAc,4DAhIqC,mBAAmB,6CAgIH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/car-racing/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/car-racing/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAwBvC,UAAU,eAAe;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,yCAA+B,eAAe,6CA0CnE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorsSort.d.ts","sourceRoot":"","sources":["../../../../../src/games/colors-sort/ColorsSort.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAO/D,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAM9F,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"ColorsSort.d.ts","sourceRoot":"","sources":["../../../../../src/games/colors-sort/ColorsSort.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAO/D,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAM9F,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAkKzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorsSortConstants.d.ts","sourceRoot":"","sources":["../../../../../src/games/colors-sort/ColorsSortConstants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;CAkB9B,CAAC;AAGF,eAAO,MAAM,uBAAuB;;;;;;;CAOnC,CAAC;AAGF,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"ColorsSortConstants.d.ts","sourceRoot":"","sources":["../../../../../src/games/colors-sort/ColorsSortConstants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;CAkB9B,CAAC;AAGF,eAAO,MAAM,uBAAuB;;;;;;;CAOnC,CAAC;AAGF,eAAO,MAAM,qBAAqB;;;;;CAKjC,CAAC;AAEF,eAAO,MAAM,YAAY,UAQxB,CAAC;AAGF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;CAc7B,CAAC;AAGF,eAAO,MAAM,mCAAmC;;;;CAI/C,CAAC"}
|
|
@@ -13,10 +13,12 @@ export interface Container {
|
|
|
13
13
|
export interface ColorsSortState {
|
|
14
14
|
isPlaying: boolean;
|
|
15
15
|
isGameOver: boolean;
|
|
16
|
+
isTimedOut: boolean;
|
|
16
17
|
isPaused: boolean;
|
|
17
18
|
containers: Container[];
|
|
18
19
|
selectedContainerId: string | null;
|
|
19
20
|
time: number;
|
|
21
|
+
timeLeft: number;
|
|
20
22
|
timerInterval: NodeJS.Timeout | null;
|
|
21
23
|
startGame: () => void;
|
|
22
24
|
stopGame: () => void;
|
|
@@ -28,7 +30,7 @@ export interface ColorsSortState {
|
|
|
28
30
|
canMovePiece: (fromContainerId: string, toContainerId: string) => boolean;
|
|
29
31
|
movePiece: (fromContainerId: string, toContainerId: string, settings: GameSettings) => void;
|
|
30
32
|
checkWinCondition: () => boolean;
|
|
31
|
-
|
|
33
|
+
updateTime: () => void;
|
|
32
34
|
}
|
|
33
35
|
export declare const useColorsSortStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<ColorsSortState>, "subscribe"> & {
|
|
34
36
|
subscribe: {
|
|
@@ -41,8 +43,10 @@ export declare const useColorsSortStore: import("zustand").UseBoundStore<Omit<im
|
|
|
41
43
|
}>;
|
|
42
44
|
export declare const useIsPlaying: () => boolean;
|
|
43
45
|
export declare const useIsGameOver: () => boolean;
|
|
46
|
+
export declare const useIsTimedOut: () => boolean;
|
|
44
47
|
export declare const useIsPaused: () => boolean;
|
|
45
48
|
export declare const useTime: () => number;
|
|
49
|
+
export declare const useTimeLeft: () => number;
|
|
46
50
|
export declare const useContainers: () => Container[];
|
|
47
51
|
export declare const useSelectedContainerId: () => string | null;
|
|
48
52
|
//# sourceMappingURL=ColorsSortStore.d.ts.map
|