react-native-games 0.6.0 → 0.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 +148 -23
- package/lib/module/games/balloon-blaster/BalloonBlaster.js +5 -8
- package/lib/module/games/balloon-blaster/BalloonBlaster.js.map +1 -1
- package/lib/module/games/candy-crush/CandyCrush.js +121 -0
- package/lib/module/games/candy-crush/CandyCrush.js.map +1 -0
- package/lib/module/games/candy-crush/CandyCrushConstants.js +125 -0
- package/lib/module/games/candy-crush/CandyCrushConstants.js.map +1 -0
- package/lib/module/games/candy-crush/CandyCrushService.js +370 -0
- package/lib/module/games/candy-crush/CandyCrushService.js.map +1 -0
- package/lib/module/games/candy-crush/CandyCrushStore.js +305 -0
- package/lib/module/games/candy-crush/CandyCrushStore.js.map +1 -0
- package/lib/module/games/candy-crush/components/CandyItem.js +191 -0
- package/lib/module/games/candy-crush/components/CandyItem.js.map +1 -0
- package/lib/module/games/candy-crush/components/GameBackground.js +85 -0
- package/lib/module/games/candy-crush/components/GameBackground.js.map +1 -0
- package/lib/module/games/candy-crush/components/GameGrid.js +314 -0
- package/lib/module/games/candy-crush/components/GameGrid.js.map +1 -0
- package/lib/module/games/candy-crush/components/ScoreBoard.js +112 -0
- package/lib/module/games/candy-crush/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/candy-crush/components/index.js +7 -0
- package/lib/module/games/candy-crush/components/index.js.map +1 -0
- package/lib/module/games/candy-crush/index.js +6 -0
- package/lib/module/games/candy-crush/index.js.map +1 -0
- package/lib/module/games/color-sort/ColorSort.js +130 -0
- package/lib/module/games/color-sort/ColorSort.js.map +1 -0
- package/lib/module/games/color-sort/ColorSortConstants.js +68 -0
- package/lib/module/games/color-sort/ColorSortConstants.js.map +1 -0
- package/lib/module/games/color-sort/ColorSortService.js +255 -0
- package/lib/module/games/color-sort/ColorSortService.js.map +1 -0
- package/lib/module/games/color-sort/ColorSortStore.js +258 -0
- package/lib/module/games/color-sort/ColorSortStore.js.map +1 -0
- package/lib/module/games/color-sort/components/ColorContainer.js +140 -0
- package/lib/module/games/color-sort/components/ColorContainer.js.map +1 -0
- package/lib/module/games/color-sort/components/GameBackground.js +135 -0
- package/lib/module/games/color-sort/components/GameBackground.js.map +1 -0
- package/lib/module/games/color-sort/components/ScoreBoard.js +78 -0
- package/lib/module/games/color-sort/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/color-sort/components/index.js +6 -0
- package/lib/module/games/color-sort/components/index.js.map +1 -0
- package/lib/module/games/dino-jump/DinoJump.js +209 -0
- package/lib/module/games/dino-jump/DinoJump.js.map +1 -0
- package/lib/module/games/dino-jump/DinoJumpConstants.js +179 -0
- package/lib/module/games/dino-jump/DinoJumpConstants.js.map +1 -0
- package/lib/module/games/dino-jump/DinoJumpService.js +268 -0
- package/lib/module/games/dino-jump/DinoJumpService.js.map +1 -0
- package/lib/module/games/dino-jump/DinoJumpStore.js +387 -0
- package/lib/module/games/dino-jump/DinoJumpStore.js.map +1 -0
- package/lib/module/games/dino-jump/components/DinoSprite.js +409 -0
- package/lib/module/games/dino-jump/components/DinoSprite.js.map +1 -0
- package/lib/module/games/dino-jump/components/GameArea.js +68 -0
- package/lib/module/games/dino-jump/components/GameArea.js.map +1 -0
- package/lib/module/games/dino-jump/components/GameBackground.js +421 -0
- package/lib/module/games/dino-jump/components/GameBackground.js.map +1 -0
- package/lib/module/games/dino-jump/components/ObstacleSprite.js +306 -0
- package/lib/module/games/dino-jump/components/ObstacleSprite.js.map +1 -0
- package/lib/module/games/dino-jump/components/ScoreBoard.js +107 -0
- package/lib/module/games/dino-jump/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/dino-jump/components/StarSprite.js +45 -0
- package/lib/module/games/dino-jump/components/StarSprite.js.map +1 -0
- package/lib/module/games/dino-jump/components/index.js +9 -0
- package/lib/module/games/dino-jump/components/index.js.map +1 -0
- package/lib/module/games/flappy-bird/FlappyBird.js +131 -0
- package/lib/module/games/flappy-bird/FlappyBird.js.map +1 -0
- package/lib/module/games/flappy-bird/FlappyBirdConstants.js +90 -0
- package/lib/module/games/flappy-bird/FlappyBirdConstants.js.map +1 -0
- package/lib/module/games/flappy-bird/FlappyBirdStore.js +276 -0
- package/lib/module/games/flappy-bird/FlappyBirdStore.js.map +1 -0
- package/lib/module/games/flappy-bird/components/Bird.js +87 -0
- package/lib/module/games/flappy-bird/components/Bird.js.map +1 -0
- package/lib/module/games/flappy-bird/components/GameArea.js +86 -0
- package/lib/module/games/flappy-bird/components/GameArea.js.map +1 -0
- package/lib/module/games/flappy-bird/components/GameBackground.js +112 -0
- package/lib/module/games/flappy-bird/components/GameBackground.js.map +1 -0
- package/lib/module/games/flappy-bird/components/Pipes.js +175 -0
- package/lib/module/games/flappy-bird/components/Pipes.js.map +1 -0
- package/lib/module/games/flappy-bird/components/ScoreBoard.js +72 -0
- package/lib/module/games/flappy-bird/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/flappy-bird/components/index.js +8 -0
- package/lib/module/games/flappy-bird/components/index.js.map +1 -0
- package/lib/module/games/fruit-merger/FruitMerger.js +112 -0
- package/lib/module/games/fruit-merger/FruitMerger.js.map +1 -0
- package/lib/module/games/fruit-merger/FruitMergerConstants.js +119 -0
- package/lib/module/games/fruit-merger/FruitMergerConstants.js.map +1 -0
- package/lib/module/games/fruit-merger/FruitMergerService.js +13 -0
- package/lib/module/games/fruit-merger/FruitMergerService.js.map +1 -0
- package/lib/module/games/fruit-merger/FruitMergerStore.js +318 -0
- package/lib/module/games/fruit-merger/FruitMergerStore.js.map +1 -0
- package/lib/module/games/fruit-merger/components/FruitItem.js +102 -0
- package/lib/module/games/fruit-merger/components/FruitItem.js.map +1 -0
- package/lib/module/games/fruit-merger/components/GameArea.js +123 -0
- package/lib/module/games/fruit-merger/components/GameArea.js.map +1 -0
- package/lib/module/games/fruit-merger/components/GameBackground.js +477 -0
- package/lib/module/games/fruit-merger/components/GameBackground.js.map +1 -0
- package/lib/module/games/fruit-merger/components/ScoreBoard.js +66 -0
- package/lib/module/games/fruit-merger/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/fruit-merger/components/index.js +7 -0
- package/lib/module/games/fruit-merger/components/index.js.map +1 -0
- package/lib/module/games/fruit-ninja/FruitNinja.js +6 -9
- package/lib/module/games/fruit-ninja/FruitNinja.js.map +1 -1
- package/lib/module/games/game-2048/Game2048.js +120 -0
- package/lib/module/games/game-2048/Game2048.js.map +1 -0
- package/lib/module/games/game-2048/Game2048Constants.js +263 -0
- package/lib/module/games/game-2048/Game2048Constants.js.map +1 -0
- package/lib/module/games/game-2048/Game2048Service.js +457 -0
- package/lib/module/games/game-2048/Game2048Service.js.map +1 -0
- package/lib/module/games/game-2048/Game2048Store.js +238 -0
- package/lib/module/games/game-2048/Game2048Store.js.map +1 -0
- package/lib/module/games/game-2048/components/GameBackground.js +247 -0
- package/lib/module/games/game-2048/components/GameBackground.js.map +1 -0
- package/lib/module/games/game-2048/components/GameGrid.js +139 -0
- package/lib/module/games/game-2048/components/GameGrid.js.map +1 -0
- package/lib/module/games/game-2048/components/GameTile.js +72 -0
- package/lib/module/games/game-2048/components/GameTile.js.map +1 -0
- package/lib/module/games/game-2048/components/ScoreBoard.js +70 -0
- package/lib/module/games/game-2048/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/game-2048/components/index.js +7 -0
- package/lib/module/games/game-2048/components/index.js.map +1 -0
- package/lib/module/games/maze-runner/MazeRunner.js +33 -31
- package/lib/module/games/maze-runner/MazeRunner.js.map +1 -1
- package/lib/module/games/popit-fidget/PopitFidget.js +34 -32
- package/lib/module/games/popit-fidget/PopitFidget.js.map +1 -1
- package/lib/module/games/sliding-numbers/SlidingNumbers.js +161 -0
- package/lib/module/games/sliding-numbers/SlidingNumbers.js.map +1 -0
- package/lib/module/games/sliding-numbers/SlidingNumbersConstants.js +207 -0
- package/lib/module/games/sliding-numbers/SlidingNumbersConstants.js.map +1 -0
- package/lib/module/games/sliding-numbers/SlidingNumbersService.js +248 -0
- package/lib/module/games/sliding-numbers/SlidingNumbersService.js.map +1 -0
- package/lib/module/games/sliding-numbers/SlidingNumbersStore.js +275 -0
- package/lib/module/games/sliding-numbers/SlidingNumbersStore.js.map +1 -0
- package/lib/module/games/sliding-numbers/components/GameBackground.js +259 -0
- package/lib/module/games/sliding-numbers/components/GameBackground.js.map +1 -0
- package/lib/module/games/sliding-numbers/components/NumbersGrid.js +174 -0
- package/lib/module/games/sliding-numbers/components/NumbersGrid.js.map +1 -0
- package/lib/module/games/sliding-numbers/components/NumbersTile.js +116 -0
- package/lib/module/games/sliding-numbers/components/NumbersTile.js.map +1 -0
- package/lib/module/games/sliding-numbers/components/ScoreBoard.js +66 -0
- package/lib/module/games/sliding-numbers/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/sliding-numbers/components/index.js +7 -0
- package/lib/module/games/sliding-numbers/components/index.js.map +1 -0
- package/lib/module/games/snake/Snake.js +192 -0
- package/lib/module/games/snake/Snake.js.map +1 -0
- package/lib/module/games/snake/SnakeConstants.js +138 -0
- package/lib/module/games/snake/SnakeConstants.js.map +1 -0
- package/lib/module/games/snake/SnakeService.js +148 -0
- package/lib/module/games/snake/SnakeService.js.map +1 -0
- package/lib/module/games/snake/SnakeStore.js +184 -0
- package/lib/module/games/snake/SnakeStore.js.map +1 -0
- package/lib/module/games/snake/components/GameBackground.js +221 -0
- package/lib/module/games/snake/components/GameBackground.js.map +1 -0
- package/lib/module/games/snake/components/GameGrid.js +153 -0
- package/lib/module/games/snake/components/GameGrid.js.map +1 -0
- package/lib/module/games/snake/components/ScoreBoard.js +57 -0
- package/lib/module/games/snake/components/ScoreBoard.js.map +1 -0
- package/lib/module/games/snake/components/index.js +6 -0
- package/lib/module/games/snake/components/index.js.map +1 -0
- package/lib/module/games/snake/index.js +6 -0
- package/lib/module/games/snake/index.js.map +1 -0
- package/lib/module/games/space-fighter/SpaceFighter.js +7 -10
- package/lib/module/games/space-fighter/SpaceFighter.js.map +1 -1
- package/lib/module/games/whack-a-mole/WhackAMole.js +6 -6
- package/lib/module/games/whack-a-mole/WhackAMole.js.map +1 -1
- package/lib/module/games/whack-a-mole/components/GameBackground.js +7 -8
- package/lib/module/games/whack-a-mole/components/GameBackground.js.map +1 -1
- package/lib/module/index.js +8 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/services/GamesConstants.js +58 -2
- package/lib/module/services/GamesConstants.js.map +1 -1
- package/lib/module/services/GamesService.js +40 -0
- package/lib/module/services/GamesService.js.map +1 -1
- package/lib/module/services/SoundsService.js +132 -1
- package/lib/module/services/SoundsService.js.map +1 -1
- package/lib/module/shared/helpers/GameOverModal.js +6 -3
- package/lib/module/shared/helpers/GameOverModal.js.map +1 -1
- package/lib/module/shared/helpers/GameSettingsModal.js +3 -3
- package/lib/module/shared/helpers/GameSettingsModal.js.map +1 -1
- package/lib/module/shared/helpers/ParticleBlast.js +3 -2
- package/lib/module/shared/helpers/ParticleBlast.js.map +1 -1
- package/lib/typescript/src/games/balloon-blaster/BalloonBlaster.d.ts.map +1 -1
- package/lib/typescript/src/games/candy-crush/CandyCrush.d.ts +4 -0
- package/lib/typescript/src/games/candy-crush/CandyCrush.d.ts.map +1 -0
- package/lib/typescript/src/games/candy-crush/CandyCrushConstants.d.ts +104 -0
- package/lib/typescript/src/games/candy-crush/CandyCrushConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/candy-crush/CandyCrushService.d.ts +40 -0
- package/lib/typescript/src/games/candy-crush/CandyCrushService.d.ts.map +1 -0
- package/lib/typescript/src/games/candy-crush/CandyCrushStore.d.ts +48 -0
- package/lib/typescript/src/games/candy-crush/CandyCrushStore.d.ts.map +1 -0
- package/lib/typescript/src/games/candy-crush/components/CandyItem.d.ts +13 -0
- package/lib/typescript/src/games/candy-crush/components/CandyItem.d.ts.map +1 -0
- package/lib/typescript/src/games/candy-crush/components/GameBackground.d.ts +5 -0
- package/lib/typescript/src/games/candy-crush/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/candy-crush/components/GameGrid.d.ts +3 -0
- package/lib/typescript/src/games/candy-crush/components/GameGrid.d.ts.map +1 -0
- package/lib/typescript/src/games/candy-crush/components/ScoreBoard.d.ts +3 -0
- package/lib/typescript/src/games/candy-crush/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/candy-crush/components/index.d.ts +5 -0
- package/lib/typescript/src/games/candy-crush/components/index.d.ts.map +1 -0
- package/lib/typescript/src/games/candy-crush/index.d.ts +4 -0
- package/lib/typescript/src/games/candy-crush/index.d.ts.map +1 -0
- package/lib/typescript/src/games/color-sort/ColorSort.d.ts +4 -0
- package/lib/typescript/src/games/color-sort/ColorSort.d.ts.map +1 -0
- package/lib/typescript/src/games/color-sort/ColorSortConstants.d.ts +52 -0
- package/lib/typescript/src/games/color-sort/ColorSortConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/color-sort/ColorSortService.d.ts +66 -0
- package/lib/typescript/src/games/color-sort/ColorSortService.d.ts.map +1 -0
- package/lib/typescript/src/games/color-sort/ColorSortStore.d.ts +48 -0
- package/lib/typescript/src/games/color-sort/ColorSortStore.d.ts.map +1 -0
- package/lib/typescript/src/games/color-sort/components/ColorContainer.d.ts +11 -0
- package/lib/typescript/src/games/color-sort/components/ColorContainer.d.ts.map +1 -0
- package/lib/typescript/src/games/color-sort/components/GameBackground.d.ts +7 -0
- package/lib/typescript/src/games/color-sort/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/color-sort/components/ScoreBoard.d.ts +3 -0
- package/lib/typescript/src/games/color-sort/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/color-sort/components/index.d.ts +4 -0
- package/lib/typescript/src/games/color-sort/components/index.d.ts.map +1 -0
- package/lib/typescript/src/games/dino-jump/DinoJump.d.ts +4 -0
- package/lib/typescript/src/games/dino-jump/DinoJump.d.ts.map +1 -0
- package/lib/typescript/src/games/dino-jump/DinoJumpConstants.d.ts +95 -0
- package/lib/typescript/src/games/dino-jump/DinoJumpConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/dino-jump/DinoJumpService.d.ts +40 -0
- package/lib/typescript/src/games/dino-jump/DinoJumpService.d.ts.map +1 -0
- package/lib/typescript/src/games/dino-jump/DinoJumpStore.d.ts +103 -0
- package/lib/typescript/src/games/dino-jump/DinoJumpStore.d.ts.map +1 -0
- package/lib/typescript/src/games/dino-jump/components/DinoSprite.d.ts +3 -0
- package/lib/typescript/src/games/dino-jump/components/DinoSprite.d.ts.map +1 -0
- package/lib/typescript/src/games/dino-jump/components/GameArea.d.ts +8 -0
- package/lib/typescript/src/games/dino-jump/components/GameArea.d.ts.map +1 -0
- package/lib/typescript/src/games/dino-jump/components/GameBackground.d.ts +7 -0
- package/lib/typescript/src/games/dino-jump/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/dino-jump/components/ObstacleSprite.d.ts +3 -0
- package/lib/typescript/src/games/dino-jump/components/ObstacleSprite.d.ts.map +1 -0
- package/lib/typescript/src/games/dino-jump/components/ScoreBoard.d.ts +3 -0
- package/lib/typescript/src/games/dino-jump/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/dino-jump/components/StarSprite.d.ts +3 -0
- package/lib/typescript/src/games/dino-jump/components/StarSprite.d.ts.map +1 -0
- package/lib/typescript/src/games/dino-jump/components/index.d.ts +7 -0
- package/lib/typescript/src/games/dino-jump/components/index.d.ts.map +1 -0
- package/lib/typescript/src/games/flappy-bird/FlappyBird.d.ts +4 -0
- package/lib/typescript/src/games/flappy-bird/FlappyBird.d.ts.map +1 -0
- package/lib/typescript/src/games/flappy-bird/FlappyBirdConstants.d.ts +83 -0
- package/lib/typescript/src/games/flappy-bird/FlappyBirdConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/flappy-bird/FlappyBirdStore.d.ts +53 -0
- package/lib/typescript/src/games/flappy-bird/FlappyBirdStore.d.ts.map +1 -0
- package/lib/typescript/src/games/flappy-bird/components/Bird.d.ts +8 -0
- package/lib/typescript/src/games/flappy-bird/components/Bird.d.ts.map +1 -0
- package/lib/typescript/src/games/flappy-bird/components/GameArea.d.ts +8 -0
- package/lib/typescript/src/games/flappy-bird/components/GameArea.d.ts.map +1 -0
- package/lib/typescript/src/games/flappy-bird/components/GameBackground.d.ts +7 -0
- package/lib/typescript/src/games/flappy-bird/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/flappy-bird/components/Pipes.d.ts +8 -0
- package/lib/typescript/src/games/flappy-bird/components/Pipes.d.ts.map +1 -0
- package/lib/typescript/src/games/flappy-bird/components/ScoreBoard.d.ts +3 -0
- package/lib/typescript/src/games/flappy-bird/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/flappy-bird/components/index.d.ts +6 -0
- package/lib/typescript/src/games/flappy-bird/components/index.d.ts.map +1 -0
- package/lib/typescript/src/games/fruit-merger/FruitMerger.d.ts +4 -0
- package/lib/typescript/src/games/fruit-merger/FruitMerger.d.ts.map +1 -0
- package/lib/typescript/src/games/fruit-merger/FruitMergerConstants.d.ts +115 -0
- package/lib/typescript/src/games/fruit-merger/FruitMergerConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/fruit-merger/FruitMergerService.d.ts +5 -0
- package/lib/typescript/src/games/fruit-merger/FruitMergerService.d.ts.map +1 -0
- package/lib/typescript/src/games/fruit-merger/FruitMergerStore.d.ts +43 -0
- package/lib/typescript/src/games/fruit-merger/FruitMergerStore.d.ts.map +1 -0
- package/lib/typescript/src/games/fruit-merger/components/FruitItem.d.ts +10 -0
- package/lib/typescript/src/games/fruit-merger/components/FruitItem.d.ts.map +1 -0
- package/lib/typescript/src/games/fruit-merger/components/GameArea.d.ts +8 -0
- package/lib/typescript/src/games/fruit-merger/components/GameArea.d.ts.map +1 -0
- package/lib/typescript/src/games/fruit-merger/components/GameBackground.d.ts +7 -0
- package/lib/typescript/src/games/fruit-merger/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/fruit-merger/components/ScoreBoard.d.ts +3 -0
- package/lib/typescript/src/games/fruit-merger/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/fruit-merger/components/index.d.ts +5 -0
- package/lib/typescript/src/games/fruit-merger/components/index.d.ts.map +1 -0
- package/lib/typescript/src/games/fruit-ninja/FruitNinja.d.ts.map +1 -1
- package/lib/typescript/src/games/game-2048/Game2048.d.ts +4 -0
- package/lib/typescript/src/games/game-2048/Game2048.d.ts.map +1 -0
- package/lib/typescript/src/games/game-2048/Game2048Constants.d.ts +163 -0
- package/lib/typescript/src/games/game-2048/Game2048Constants.d.ts.map +1 -0
- package/lib/typescript/src/games/game-2048/Game2048Service.d.ts +113 -0
- package/lib/typescript/src/games/game-2048/Game2048Service.d.ts.map +1 -0
- package/lib/typescript/src/games/game-2048/Game2048Store.d.ts +48 -0
- package/lib/typescript/src/games/game-2048/Game2048Store.d.ts.map +1 -0
- package/lib/typescript/src/games/game-2048/components/GameBackground.d.ts +7 -0
- package/lib/typescript/src/games/game-2048/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/game-2048/components/GameGrid.d.ts +7 -0
- package/lib/typescript/src/games/game-2048/components/GameGrid.d.ts.map +1 -0
- package/lib/typescript/src/games/game-2048/components/GameTile.d.ts +13 -0
- package/lib/typescript/src/games/game-2048/components/GameTile.d.ts.map +1 -0
- package/lib/typescript/src/games/game-2048/components/ScoreBoard.d.ts +3 -0
- package/lib/typescript/src/games/game-2048/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/game-2048/components/index.d.ts +5 -0
- package/lib/typescript/src/games/game-2048/components/index.d.ts.map +1 -0
- package/lib/typescript/src/games/maze-runner/MazeRunner.d.ts.map +1 -1
- package/lib/typescript/src/games/popit-fidget/PopitFidget.d.ts.map +1 -1
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbers.d.ts +4 -0
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbers.d.ts.map +1 -0
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersConstants.d.ts +108 -0
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersService.d.ts +34 -0
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersService.d.ts.map +1 -0
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersStore.d.ts +56 -0
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersStore.d.ts.map +1 -0
- package/lib/typescript/src/games/sliding-numbers/components/GameBackground.d.ts +7 -0
- package/lib/typescript/src/games/sliding-numbers/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/sliding-numbers/components/NumbersGrid.d.ts +7 -0
- package/lib/typescript/src/games/sliding-numbers/components/NumbersGrid.d.ts.map +1 -0
- package/lib/typescript/src/games/sliding-numbers/components/NumbersTile.d.ts +11 -0
- package/lib/typescript/src/games/sliding-numbers/components/NumbersTile.d.ts.map +1 -0
- package/lib/typescript/src/games/sliding-numbers/components/ScoreBoard.d.ts +3 -0
- package/lib/typescript/src/games/sliding-numbers/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/sliding-numbers/components/index.d.ts +5 -0
- package/lib/typescript/src/games/sliding-numbers/components/index.d.ts.map +1 -0
- package/lib/typescript/src/games/snake/Snake.d.ts +4 -0
- package/lib/typescript/src/games/snake/Snake.d.ts.map +1 -0
- package/lib/typescript/src/games/snake/SnakeConstants.d.ts +93 -0
- package/lib/typescript/src/games/snake/SnakeConstants.d.ts.map +1 -0
- package/lib/typescript/src/games/snake/SnakeService.d.ts +30 -0
- package/lib/typescript/src/games/snake/SnakeService.d.ts.map +1 -0
- package/lib/typescript/src/games/snake/SnakeStore.d.ts +43 -0
- package/lib/typescript/src/games/snake/SnakeStore.d.ts.map +1 -0
- package/lib/typescript/src/games/snake/components/GameBackground.d.ts +5 -0
- package/lib/typescript/src/games/snake/components/GameBackground.d.ts.map +1 -0
- package/lib/typescript/src/games/snake/components/GameGrid.d.ts +3 -0
- package/lib/typescript/src/games/snake/components/GameGrid.d.ts.map +1 -0
- package/lib/typescript/src/games/snake/components/ScoreBoard.d.ts +3 -0
- package/lib/typescript/src/games/snake/components/ScoreBoard.d.ts.map +1 -0
- package/lib/typescript/src/games/snake/components/index.d.ts +4 -0
- package/lib/typescript/src/games/snake/components/index.d.ts.map +1 -0
- package/lib/typescript/src/games/snake/index.d.ts +4 -0
- package/lib/typescript/src/games/snake/index.d.ts.map +1 -0
- package/lib/typescript/src/games/space-fighter/SpaceFighter.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/components/GameBackground.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +8 -0
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/services/GamesConstants.d.ts +156 -0
- package/lib/typescript/src/services/GamesConstants.d.ts.map +1 -1
- package/lib/typescript/src/services/GamesService.d.ts +10 -2
- package/lib/typescript/src/services/GamesService.d.ts.map +1 -1
- package/lib/typescript/src/services/SoundsService.d.ts +103 -0
- package/lib/typescript/src/services/SoundsService.d.ts.map +1 -1
- package/lib/typescript/src/shared/helpers/GameOverModal.d.ts +2 -0
- package/lib/typescript/src/shared/helpers/GameOverModal.d.ts.map +1 -1
- package/lib/typescript/src/shared/helpers/ParticleBlast.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/games/game-2048/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MazeRunner.d.ts","sourceRoot":"","sources":["../../../../../src/games/maze-runner/MazeRunner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAiBjF,OAAO,EAAY,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"MazeRunner.d.ts","sourceRoot":"","sources":["../../../../../src/games/maze-runner/MazeRunner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAiBjF,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AA2B9F,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAsN1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopitFidget.d.ts","sourceRoot":"","sources":["../../../../../src/games/popit-fidget/PopitFidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAMvE,OAAO,EAAY,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"PopitFidget.d.ts","sourceRoot":"","sources":["../../../../../src/games/popit-fidget/PopitFidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAMvE,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAa9F,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAyRpC,CAAC;AAkBF,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SlidingNumbers.d.ts","sourceRoot":"","sources":["../../../../../src/games/sliding-numbers/SlidingNumbers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAS/D,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAE9F,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAmI7C,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { GameSettingsTheme } from '../../services/GamesConstants';
|
|
2
|
+
export declare const SLIDING_NUMBERS_CONSTANTS: {
|
|
3
|
+
readonly gridSize: {
|
|
4
|
+
readonly easy: 3;
|
|
5
|
+
readonly medium: 4;
|
|
6
|
+
readonly hard: 5;
|
|
7
|
+
};
|
|
8
|
+
readonly maxNumbers: {
|
|
9
|
+
readonly easy: 8;
|
|
10
|
+
readonly medium: 15;
|
|
11
|
+
readonly hard: 24;
|
|
12
|
+
};
|
|
13
|
+
readonly baseScore: {
|
|
14
|
+
readonly easy: 1000;
|
|
15
|
+
readonly medium: 2000;
|
|
16
|
+
readonly hard: 3000;
|
|
17
|
+
};
|
|
18
|
+
readonly scoreMultiplier: {
|
|
19
|
+
readonly easy: 5;
|
|
20
|
+
readonly medium: 10;
|
|
21
|
+
readonly hard: 15;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export declare const SLIDING_NUMBERS_GAME_CONFIG: {
|
|
25
|
+
readonly TILE_SIZE: number;
|
|
26
|
+
readonly TILE_GAP: 4;
|
|
27
|
+
readonly GRID_PADDING: 20;
|
|
28
|
+
readonly GAME_DURATION: 600;
|
|
29
|
+
readonly SHUFFLE_MOVES: 100;
|
|
30
|
+
readonly ANIMATION_DURATION: 200;
|
|
31
|
+
};
|
|
32
|
+
export declare const SLIDING_NUMBERS_ANIMATION_CONFIG: {
|
|
33
|
+
readonly TILE_SLIDE: {
|
|
34
|
+
readonly damping: 25;
|
|
35
|
+
readonly stiffness: 400;
|
|
36
|
+
readonly mass: 1;
|
|
37
|
+
readonly restDisplacementThreshold: 0.01;
|
|
38
|
+
readonly restSpeedThreshold: 0.01;
|
|
39
|
+
};
|
|
40
|
+
readonly TILE_PRESS: {
|
|
41
|
+
readonly damping: 15;
|
|
42
|
+
readonly stiffness: 200;
|
|
43
|
+
};
|
|
44
|
+
readonly GESTURE: {
|
|
45
|
+
readonly activeScale: 1.05;
|
|
46
|
+
readonly snapThreshold: 0.3;
|
|
47
|
+
readonly velocityThreshold: 500;
|
|
48
|
+
};
|
|
49
|
+
readonly COMPLETION_CELEBRATION: {
|
|
50
|
+
readonly duration: 500;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export declare const SLIDING_NUMBERS_COLORS: {
|
|
54
|
+
readonly BACKGROUND: "#F5F5DC";
|
|
55
|
+
readonly GRID_BACKGROUND: "#FFFFFF";
|
|
56
|
+
readonly GRID_BORDER: "#E0E0E0";
|
|
57
|
+
readonly TILE_COLORS: readonly ["#FFB3D9", "#B3E5FC", "#C8E6C9", "#FFF9C4", "#E1BEE7", "#FFCDD2", "#B2DFDB", "#F8BBD9", "#A5D6A7", "#FFECB3", "#D1C4E9", "#B3E5FC", "#FFE0B2", "#C8E6C9", "#F8BBD9", "#E0F2F1", "#FCE4EC", "#E8F5E8", "#FFF3E0", "#F3E5F5", "#E1F5FE", "#F9FBE7", "#FFF8E1", "#EFEBE9"];
|
|
58
|
+
readonly TILE_BORDER: "#D0D0D0";
|
|
59
|
+
readonly TILE_SHADOW: "rgba(0,0,0,0.1)";
|
|
60
|
+
readonly NUMBER_TEXT: "#333333";
|
|
61
|
+
readonly WORD_TEXT: "#666666";
|
|
62
|
+
readonly EMPTY_TILE: "#F8F8F8";
|
|
63
|
+
readonly SCORE_BOARD: "#f59e0b";
|
|
64
|
+
readonly SCORE_TEXT: "#FFFFFF";
|
|
65
|
+
readonly TIMER_TEXT: "#f59e0b";
|
|
66
|
+
readonly UI: "#f59e0b";
|
|
67
|
+
readonly BUTTON_ACTIVE: "#f59e0b";
|
|
68
|
+
readonly BUTTON_INACTIVE: "#fbbf24";
|
|
69
|
+
readonly TEXT_PRIMARY: "#FFFFFF";
|
|
70
|
+
readonly TEXT_SECONDARY: "#fef3c7";
|
|
71
|
+
readonly WHITE: "#FFFFFF";
|
|
72
|
+
readonly START_BUTTON: "#f59e0b";
|
|
73
|
+
readonly COMPLETION_OVERLAY: "rgba(245, 158, 11, 0.9)";
|
|
74
|
+
readonly BUTTON_BORDER: "#fbbf24";
|
|
75
|
+
};
|
|
76
|
+
export declare const NUMBER_WORDS: {
|
|
77
|
+
readonly 1: "one";
|
|
78
|
+
readonly 2: "two";
|
|
79
|
+
readonly 3: "three";
|
|
80
|
+
readonly 4: "four";
|
|
81
|
+
readonly 5: "five";
|
|
82
|
+
readonly 6: "six";
|
|
83
|
+
readonly 7: "seven";
|
|
84
|
+
readonly 8: "eight";
|
|
85
|
+
readonly 9: "nine";
|
|
86
|
+
readonly 10: "ten";
|
|
87
|
+
readonly 11: "eleven";
|
|
88
|
+
readonly 12: "twelve";
|
|
89
|
+
readonly 13: "thirteen";
|
|
90
|
+
readonly 14: "fourteen";
|
|
91
|
+
readonly 15: "fifteen";
|
|
92
|
+
readonly 16: "sixteen";
|
|
93
|
+
readonly 17: "seventeen";
|
|
94
|
+
readonly 18: "eighteen";
|
|
95
|
+
readonly 19: "nineteen";
|
|
96
|
+
readonly 20: "twenty";
|
|
97
|
+
readonly 21: "twenty-one";
|
|
98
|
+
readonly 22: "twenty-two";
|
|
99
|
+
readonly 23: "twenty-three";
|
|
100
|
+
readonly 24: "twenty-four";
|
|
101
|
+
};
|
|
102
|
+
export declare const SLIDING_NUMBERS_THEME: GameSettingsTheme;
|
|
103
|
+
export declare const SLIDING_NUMBERS_DIFFICULTY_DESCRIPTIONS: {
|
|
104
|
+
readonly easy: "3x3 grid with numbers 1-8, perfect for beginners";
|
|
105
|
+
readonly medium: "4x4 grid with numbers 1-15, moderate challenge";
|
|
106
|
+
readonly hard: "5x5 grid with numbers 1-24, expert level puzzle";
|
|
107
|
+
};
|
|
108
|
+
//# sourceMappingURL=SlidingNumbersConstants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SlidingNumbersConstants.d.ts","sourceRoot":"","sources":["../../../../../src/games/sliding-numbers/SlidingNumbersConstants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAMvE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;CAsB5B,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;;CAO9B,CAAC;AAEX,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;CAoBnC,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;CA+CzB,CAAC;AAGX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;CAyBf,CAAC;AAGX,eAAO,MAAM,qBAAqB,EAAE,iBAcnC,CAAC;AAGF,eAAO,MAAM,uCAAuC;;;;CAI1C,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { PuzzleTile } from './SlidingNumbersStore';
|
|
2
|
+
export declare class SlidingNumbersService {
|
|
3
|
+
private gameTimer;
|
|
4
|
+
createSolvedPuzzle(gridSize: number): PuzzleTile[];
|
|
5
|
+
canMoveTile(tile: PuzzleTile, emptyPosition: {
|
|
6
|
+
row: number;
|
|
7
|
+
col: number;
|
|
8
|
+
}): boolean;
|
|
9
|
+
getMovableTiles(tiles: PuzzleTile[], emptyPosition: {
|
|
10
|
+
row: number;
|
|
11
|
+
col: number;
|
|
12
|
+
}): PuzzleTile[];
|
|
13
|
+
isPuzzleSolvable(tiles: PuzzleTile[], gridSize: number): boolean;
|
|
14
|
+
shufflePuzzle(tiles: PuzzleTile[], gridSize: number): PuzzleTile[];
|
|
15
|
+
private shuffleWithValidMoves;
|
|
16
|
+
isPuzzleCompleted(tiles: PuzzleTile[], gridSize: number): boolean;
|
|
17
|
+
calculateScore(timeElapsed: number, difficulty: 'easy' | 'medium' | 'hard'): number;
|
|
18
|
+
getOptimalMoveCount(difficulty: 'easy' | 'medium' | 'hard'): number;
|
|
19
|
+
startTimer(onTick: () => void): void;
|
|
20
|
+
stopTimer(): void;
|
|
21
|
+
getHint(tiles: PuzzleTile[], emptyPosition: {
|
|
22
|
+
row: number;
|
|
23
|
+
col: number;
|
|
24
|
+
}): PuzzleTile | null;
|
|
25
|
+
formatTime(seconds: number): string;
|
|
26
|
+
getDifficultySettings(difficulty: 'easy' | 'medium' | 'hard'): {
|
|
27
|
+
gridSize: 3 | 4 | 5;
|
|
28
|
+
maxNumbers: 8 | 15 | 24;
|
|
29
|
+
baseScore: 2000 | 1000 | 3000;
|
|
30
|
+
scoreMultiplier: 10 | 15 | 5;
|
|
31
|
+
};
|
|
32
|
+
cleanup(): void;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=SlidingNumbersService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SlidingNumbersService.d.ts","sourceRoot":"","sources":["../../../../../src/games/sliding-numbers/SlidingNumbersService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAExD,qBAAa,qBAAqB;IAChC,OAAO,CAAC,SAAS,CAA+B;IAGzC,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,EAAE;IAqBlD,WAAW,CAChB,IAAI,EAAE,UAAU,EAChB,aAAa,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAC1C,OAAO;IAOH,eAAe,CACpB,KAAK,EAAE,UAAU,EAAE,EACnB,aAAa,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAC1C,UAAU,EAAE;IAOR,gBAAgB,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO;IA6ChE,aAAa,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,UAAU,EAAE;IAkDzE,OAAO,CAAC,qBAAqB;IAiCtB,iBAAiB,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO;IASjE,cAAc,CACnB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GACrC,MAAM;IAQF,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM;IAcnE,UAAU,CAAC,MAAM,EAAE,MAAM,IAAI,GAAG,IAAI;IAMpC,SAAS,IAAI,IAAI;IAQjB,OAAO,CACZ,KAAK,EAAE,UAAU,EAAE,EACnB,aAAa,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAC1C,UAAU,GAAG,IAAI;IAab,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM;IAOnC,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM;;;;;;IAU5D,OAAO,IAAI,IAAI;CAGvB"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export interface PuzzleTile {
|
|
2
|
+
id: number;
|
|
3
|
+
value: number;
|
|
4
|
+
position: {
|
|
5
|
+
row: number;
|
|
6
|
+
col: number;
|
|
7
|
+
};
|
|
8
|
+
isCorrect: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface SlidingNumbersState {
|
|
11
|
+
isPlaying: boolean;
|
|
12
|
+
isCompleted: boolean;
|
|
13
|
+
tiles: PuzzleTile[];
|
|
14
|
+
gridSize: number;
|
|
15
|
+
emptyPosition: {
|
|
16
|
+
row: number;
|
|
17
|
+
col: number;
|
|
18
|
+
};
|
|
19
|
+
score: number;
|
|
20
|
+
timeLeft: number;
|
|
21
|
+
timeElapsed: number;
|
|
22
|
+
startTime: number | null;
|
|
23
|
+
initializePuzzle: (gridSize: number) => void;
|
|
24
|
+
moveTile: (tileId: number) => boolean;
|
|
25
|
+
moveTileInDirection: (tileId: number, direction: 'up' | 'down' | 'left' | 'right') => boolean;
|
|
26
|
+
shufflePuzzle: () => void;
|
|
27
|
+
startGame: () => void;
|
|
28
|
+
stopGame: () => void;
|
|
29
|
+
resetGame: () => void;
|
|
30
|
+
decrementTime: () => void;
|
|
31
|
+
checkCompletion: (difficulty: 'easy' | 'medium' | 'hard') => void;
|
|
32
|
+
updateScore: (points: number) => void;
|
|
33
|
+
}
|
|
34
|
+
export declare const useSlidingNumbersStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<SlidingNumbersState>, "subscribe"> & {
|
|
35
|
+
subscribe: {
|
|
36
|
+
(listener: (selectedState: SlidingNumbersState, previousSelectedState: SlidingNumbersState) => void): () => void;
|
|
37
|
+
<U>(selector: (state: SlidingNumbersState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
|
|
38
|
+
equalityFn?: ((a: U, b: U) => boolean) | undefined;
|
|
39
|
+
fireImmediately?: boolean;
|
|
40
|
+
} | undefined): () => void;
|
|
41
|
+
};
|
|
42
|
+
}>;
|
|
43
|
+
export declare const useGameState: () => {
|
|
44
|
+
isPlaying: boolean;
|
|
45
|
+
isCompleted: boolean;
|
|
46
|
+
};
|
|
47
|
+
export declare const useScore: () => number;
|
|
48
|
+
export declare const useTimeLeft: () => number;
|
|
49
|
+
export declare const useTimeElapsed: () => number;
|
|
50
|
+
export declare const useTiles: () => PuzzleTile[];
|
|
51
|
+
export declare const useGridSize: () => number;
|
|
52
|
+
export declare const useEmptyPosition: () => {
|
|
53
|
+
row: number;
|
|
54
|
+
col: number;
|
|
55
|
+
};
|
|
56
|
+
//# sourceMappingURL=SlidingNumbersStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SlidingNumbersStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/sliding-numbers/SlidingNumbersStore.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IACvC,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAElC,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IAGrB,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAG5C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,gBAAgB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC;IACtC,mBAAmB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,KAAK,OAAO,CAAC;IAC9F,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,eAAe,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,KAAK,IAAI,CAAC;IAClE,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC;AAED,eAAO,MAAM,sBAAsB;;;;;;;;EAyQlC,CAAC;AAGF,eAAO,MAAM,YAAY;;;CAGtB,CAAC;AAEJ,eAAO,MAAM,QAAQ,cAAuD,CAAC;AAC7E,eAAO,MAAM,WAAW,cAA0D,CAAC;AACnF,eAAO,MAAM,cAAc,cAA6D,CAAC;AACzF,eAAO,MAAM,QAAQ,oBAAuD,CAAC;AAC7E,eAAO,MAAM,WAAW,cAA0D,CAAC;AACnF,eAAO,MAAM,gBAAgB;SA3SL,MAAM;SAAO,MAAM;CA2SiD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/sliding-numbers/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA6B1B,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAqQvD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumbersGrid.d.ts","sourceRoot":"","sources":["../../../../../../src/games/sliding-numbers/components/NumbersGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAoBvC,UAAU,gBAAgB;IACxB,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;CACxC;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAsJjD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PuzzleTile as PuzzleTileType } from '../SlidingNumbersStore';
|
|
3
|
+
interface NumbersTileProps {
|
|
4
|
+
tile: PuzzleTileType;
|
|
5
|
+
onPress: (tileId: number) => void;
|
|
6
|
+
isMovable: boolean;
|
|
7
|
+
tileSize: number;
|
|
8
|
+
}
|
|
9
|
+
export declare const NumbersTile: React.FC<NumbersTileProps>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=NumbersTile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumbersTile.d.ts","sourceRoot":"","sources":["../../../../../../src/games/sliding-numbers/components/NumbersTile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE3E,UAAU,gBAAgB;IACxB,IAAI,EAAE,cAAc,CAAC;IACrB,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAID,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA4EjD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/sliding-numbers/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAMvC,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAgB7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/games/sliding-numbers/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Snake.d.ts","sourceRoot":"","sources":["../../../../../src/games/snake/Snake.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAW9F,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAsKpC,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { GameSettingsTheme } from '../../services/GamesConstants';
|
|
2
|
+
export declare const SNAKE_GAME_CONFIG: {
|
|
3
|
+
readonly GRID_SIZE: 20;
|
|
4
|
+
readonly CELL_SIZE: number;
|
|
5
|
+
readonly GAME_SPEED: {
|
|
6
|
+
readonly easy: 400;
|
|
7
|
+
readonly medium: 300;
|
|
8
|
+
readonly hard: 200;
|
|
9
|
+
};
|
|
10
|
+
readonly POINTS_PER_FOOD: 10;
|
|
11
|
+
readonly POINTS_PER_SPECIAL_FOOD: 25;
|
|
12
|
+
readonly DIFFICULTY_MULTIPLIER: {
|
|
13
|
+
readonly easy: 1;
|
|
14
|
+
readonly medium: 2;
|
|
15
|
+
readonly hard: 3;
|
|
16
|
+
};
|
|
17
|
+
readonly SPECIAL_FOOD_CHANCE: 0.15;
|
|
18
|
+
readonly SPECIAL_FOOD_DURATION: 5000;
|
|
19
|
+
readonly INITIAL_SNAKE_LENGTH: 3;
|
|
20
|
+
};
|
|
21
|
+
export declare const SNAKE_COLORS: {
|
|
22
|
+
readonly BACKGROUND: "#252541";
|
|
23
|
+
readonly GRID_LINE: "rgba(255, 255, 255, 0.15)";
|
|
24
|
+
readonly SNAKE_HEAD: "#00ff88";
|
|
25
|
+
readonly SNAKE_BODY: "#00cc6a";
|
|
26
|
+
readonly SNAKE_TAIL: "#00994d";
|
|
27
|
+
readonly SNAKE_OUTLINE: "#004d26";
|
|
28
|
+
readonly FOOD_NORMAL: "#ff4757";
|
|
29
|
+
readonly FOOD_SPECIAL: "#ffa502";
|
|
30
|
+
readonly FOOD_GLOW: "rgba(255, 71, 87, 0.5)";
|
|
31
|
+
readonly SCORE_TEXT: "#ffffff";
|
|
32
|
+
readonly SCORE_BACKGROUND: "rgba(0, 255, 136, 0.2)";
|
|
33
|
+
readonly BUTTON_PRIMARY: "#00ff88";
|
|
34
|
+
readonly BUTTON_SECONDARY: "#00cc6a";
|
|
35
|
+
readonly MODAL_PRIMARY: "rgba(0, 255, 136, 0.95)";
|
|
36
|
+
readonly MODAL_BORDER: "rgba(0, 204, 106, 0.9)";
|
|
37
|
+
readonly MODAL_BUTTON: "#00ff88";
|
|
38
|
+
readonly MODAL_BUTTON_BORDER: "#00cc6a";
|
|
39
|
+
readonly COLLISION_COLOR: "#ff4757";
|
|
40
|
+
};
|
|
41
|
+
export declare const DIRECTIONS: {
|
|
42
|
+
readonly UP: {
|
|
43
|
+
readonly x: 0;
|
|
44
|
+
readonly y: -1;
|
|
45
|
+
};
|
|
46
|
+
readonly DOWN: {
|
|
47
|
+
readonly x: 0;
|
|
48
|
+
readonly y: 1;
|
|
49
|
+
};
|
|
50
|
+
readonly LEFT: {
|
|
51
|
+
readonly x: -1;
|
|
52
|
+
readonly y: 0;
|
|
53
|
+
};
|
|
54
|
+
readonly RIGHT: {
|
|
55
|
+
readonly x: 1;
|
|
56
|
+
readonly y: 0;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export type Direction = keyof typeof DIRECTIONS;
|
|
60
|
+
export declare const SNAKE_THEME: GameSettingsTheme;
|
|
61
|
+
export declare const SNAKE_DIFFICULTY_DESCRIPTIONS: {
|
|
62
|
+
readonly easy: "Slow speed • 1x points • Perfect for beginners";
|
|
63
|
+
readonly medium: "Medium speed • 2x points • Balanced challenge";
|
|
64
|
+
readonly hard: "Fast speed • 3x points • Expert level";
|
|
65
|
+
};
|
|
66
|
+
export declare const SNAKE_SOUNDS: {
|
|
67
|
+
readonly EAT: {
|
|
68
|
+
readonly text: "Nom!";
|
|
69
|
+
readonly pitch: 1.2;
|
|
70
|
+
readonly rate: 1.5;
|
|
71
|
+
};
|
|
72
|
+
readonly SPECIAL: {
|
|
73
|
+
readonly text: "Bonus!";
|
|
74
|
+
readonly pitch: 1.5;
|
|
75
|
+
readonly rate: 2;
|
|
76
|
+
};
|
|
77
|
+
readonly COLLISION: {
|
|
78
|
+
readonly text: "Ouch!";
|
|
79
|
+
readonly pitch: 0.8;
|
|
80
|
+
readonly rate: 1.2;
|
|
81
|
+
};
|
|
82
|
+
readonly WIN: {
|
|
83
|
+
readonly text: "Victory!";
|
|
84
|
+
readonly pitch: 1.6;
|
|
85
|
+
readonly rate: 1.8;
|
|
86
|
+
};
|
|
87
|
+
readonly LOSE: {
|
|
88
|
+
readonly text: "Game Over";
|
|
89
|
+
readonly pitch: 0.8;
|
|
90
|
+
readonly rate: 1.2;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
//# sourceMappingURL=SnakeConstants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SnakeConstants.d.ts","sourceRoot":"","sources":["../../../../../src/games/snake/SnakeConstants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAKvE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;CA2BpB,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;CA4Bf,CAAC;AAGX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;CAKb,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,UAAU,CAAC;AAGhD,eAAO,MAAM,WAAW,EAAE,iBAczB,CAAC;AAGF,eAAO,MAAM,6BAA6B;;;;CAIhC,CAAC;AAGX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;CAMf,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type Direction } from './SnakeConstants';
|
|
2
|
+
export interface Position {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
}
|
|
6
|
+
export interface SnakeSegment extends Position {
|
|
7
|
+
id: number;
|
|
8
|
+
}
|
|
9
|
+
export interface Food extends Position {
|
|
10
|
+
id: number;
|
|
11
|
+
isSpecial: boolean;
|
|
12
|
+
expiresAt?: number;
|
|
13
|
+
}
|
|
14
|
+
export declare class SnakeService {
|
|
15
|
+
private nextId;
|
|
16
|
+
initializeSnake(): SnakeSegment[];
|
|
17
|
+
generateFood(snake: SnakeSegment[], isSpecial?: boolean): Food;
|
|
18
|
+
isPositionOnSnake(position: Position, snake: SnakeSegment[]): boolean;
|
|
19
|
+
moveSnake(snake: SnakeSegment[], direction: Direction): SnakeSegment[];
|
|
20
|
+
checkWallCollision(head: SnakeSegment): boolean;
|
|
21
|
+
checkSelfCollision(snake: SnakeSegment[]): boolean;
|
|
22
|
+
checkFoodCollision(head: SnakeSegment, food: Food): boolean;
|
|
23
|
+
growSnake(snake: SnakeSegment[]): SnakeSegment[];
|
|
24
|
+
isValidDirectionChange(currentDirection: Direction, newDirection: Direction): boolean;
|
|
25
|
+
getOppositeDirection(direction: Direction): Direction;
|
|
26
|
+
resetIdCounter(): void;
|
|
27
|
+
isSpecialFoodExpired(food: Food): boolean;
|
|
28
|
+
calculateScore(isSpecialFood: boolean, difficulty: 'easy' | 'medium' | 'hard'): number;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=SnakeService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SnakeService.d.ts","sourceRoot":"","sources":["../../../../../src/games/snake/SnakeService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAEjF,MAAM,WAAW,QAAQ;IACvB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,MAAM,WAAW,YAAa,SAAQ,QAAQ;IAC5C,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,IAAK,SAAQ,QAAQ;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,YAAY;IACvB,OAAO,CAAC,MAAM,CAAK;IAGnB,eAAe,IAAI,YAAY,EAAE;IAgBjC,YAAY,CAAC,KAAK,EAAE,YAAY,EAAE,EAAE,SAAS,GAAE,OAAe,GAAG,IAAI;IA+BrE,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,GAAG,OAAO;IAKrE,SAAS,CAAC,KAAK,EAAE,YAAY,EAAE,EAAE,SAAS,EAAE,SAAS,GAAG,YAAY,EAAE;IAoBtE,kBAAkB,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO;IAU/C,kBAAkB,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,OAAO;IAelD,kBAAkB,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,IAAI,GAAG,OAAO;IAK3D,SAAS,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,YAAY,EAAE;IAehD,sBAAsB,CAAC,gBAAgB,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,GAAG,OAAO;IAYrF,oBAAoB,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS;IAWrD,cAAc,IAAI,IAAI;IAKtB,oBAAoB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAMzC,cAAc,CAAC,aAAa,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM;CASvF"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type SnakeSegment, type Food } from './SnakeService';
|
|
2
|
+
import { type Direction } from './SnakeConstants';
|
|
3
|
+
export interface SnakeState {
|
|
4
|
+
snake: SnakeSegment[];
|
|
5
|
+
food: Food | null;
|
|
6
|
+
direction: Direction;
|
|
7
|
+
nextDirection: Direction;
|
|
8
|
+
score: number;
|
|
9
|
+
isPlaying: boolean;
|
|
10
|
+
isGameOver: boolean;
|
|
11
|
+
isPaused: boolean;
|
|
12
|
+
difficulty: 'easy' | 'medium' | 'hard';
|
|
13
|
+
enableSounds: boolean;
|
|
14
|
+
enableHaptics: boolean;
|
|
15
|
+
moveTimer: NodeJS.Timeout | null;
|
|
16
|
+
}
|
|
17
|
+
export interface SnakeStore extends SnakeState {
|
|
18
|
+
startGame: () => void;
|
|
19
|
+
stopGame: () => void;
|
|
20
|
+
resetGame: () => void;
|
|
21
|
+
pauseGame: () => void;
|
|
22
|
+
resumeGame: () => void;
|
|
23
|
+
initializeGame: (difficulty?: 'easy' | 'medium' | 'hard') => void;
|
|
24
|
+
changeDirection: (direction: Direction) => void;
|
|
25
|
+
updateSettings: (enableSounds: boolean, enableHaptics: boolean) => void;
|
|
26
|
+
gameLoop: () => void;
|
|
27
|
+
}
|
|
28
|
+
export declare const useSnakeStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<SnakeStore>, "subscribe"> & {
|
|
29
|
+
subscribe: {
|
|
30
|
+
(listener: (selectedState: SnakeStore, previousSelectedState: SnakeStore) => void): () => void;
|
|
31
|
+
<U>(selector: (state: SnakeStore) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
|
|
32
|
+
equalityFn?: ((a: U, b: U) => boolean) | undefined;
|
|
33
|
+
fireImmediately?: boolean;
|
|
34
|
+
} | undefined): () => void;
|
|
35
|
+
};
|
|
36
|
+
}>;
|
|
37
|
+
export declare const useSnake: () => SnakeSegment[];
|
|
38
|
+
export declare const useFood: () => Food | null;
|
|
39
|
+
export declare const useScore: () => number;
|
|
40
|
+
export declare const useIsPlaying: () => boolean;
|
|
41
|
+
export declare const useIsGameOver: () => boolean;
|
|
42
|
+
export declare const useIsPaused: () => boolean;
|
|
43
|
+
//# sourceMappingURL=SnakeStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SnakeStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/snake/SnakeStore.ts"],"names":[],"mappings":"AAGA,OAAO,EAAgB,KAAK,YAAY,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EAAmC,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAInF,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;IACrB,aAAa,EAAE,SAAS,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IACvC,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC;CAClC;AAED,MAAM,WAAW,UAAW,SAAQ,UAAU;IAC5C,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,cAAc,EAAE,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,KAAK,IAAI,CAAC;IAClE,eAAe,EAAE,CAAC,SAAS,EAAE,SAAS,KAAK,IAAI,CAAC;IAChD,cAAc,EAAE,CAAC,YAAY,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,KAAK,IAAI,CAAC;IACxE,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAID,eAAO,MAAM,aAAa;;;;;;;;EAwLzB,CAAC;AAGF,eAAO,MAAM,QAAQ,sBAA4C,CAAC;AAClE,eAAO,MAAM,OAAO,mBAA2C,CAAC;AAChE,eAAO,MAAM,QAAQ,cAA4C,CAAC;AAClE,eAAO,MAAM,YAAY,eAAgD,CAAC;AAC1E,eAAO,MAAM,aAAa,eAAiD,CAAC;AAC5E,eAAO,MAAM,WAAW,eAA+C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/snake/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAkOjE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GameGrid.d.ts","sourceRoot":"","sources":["../../../../../../src/games/snake/components/GameGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAkK3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/snake/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAa7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/games/snake/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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/games/snake/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,cAAc,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpaceFighter.d.ts","sourceRoot":"","sources":["../../../../../src/games/space-fighter/SpaceFighter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAS/D,OAAO,EAAY,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"SpaceFighter.d.ts","sourceRoot":"","sources":["../../../../../src/games/space-fighter/SpaceFighter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAS/D,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAI9F,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA0J5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WhackAMole.d.ts","sourceRoot":"","sources":["../../../../../src/games/whack-a-mole/WhackAMole.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAUvE,OAAO,EAAY,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"WhackAMole.d.ts","sourceRoot":"","sources":["../../../../../src/games/whack-a-mole/WhackAMole.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAUvE,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAE9F,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA0P1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/whack-a-mole/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/whack-a-mole/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAsVvD,CAAC"}
|
|
@@ -4,5 +4,13 @@ export * from './games/whack-a-mole/WhackAMole';
|
|
|
4
4
|
export * from './games/fruit-ninja/FruitNinja';
|
|
5
5
|
export * from './games/maze-runner/MazeRunner';
|
|
6
6
|
export * from './games/space-fighter/SpaceFighter';
|
|
7
|
+
export * from './games/sliding-numbers/SlidingNumbers';
|
|
8
|
+
export * from './games/game-2048/Game2048';
|
|
9
|
+
export * from './games/dino-jump/DinoJump';
|
|
10
|
+
export * from './games/color-sort/ColorSort';
|
|
11
|
+
export * from './games/fruit-merger/FruitMerger';
|
|
12
|
+
export * from './games/flappy-bird/FlappyBird';
|
|
13
|
+
export * from './games/candy-crush/CandyCrush';
|
|
14
|
+
export * from './games/snake/Snake';
|
|
7
15
|
export * from './services/GamesService';
|
|
8
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AACA,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AACA,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AAGpC,cAAc,yBAAyB,CAAC"}
|