@nayan-ui/games 1.18.0 → 1.20.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 +53 -191
- package/lib/module/assets/fonts/Inter-SemiBold.ttf +0 -0
- package/lib/module/assets/models/explorer/explorer.glb +0 -0
- package/lib/module/assets/models/explorer/params.json +51 -0
- package/lib/module/assets/models/explorer/source.json +222 -0
- package/lib/module/assets/models/play-with-tua/play-with-tua.glb +0 -0
- package/lib/module/assets/models/play-with-tua/sources.json +141 -0
- package/lib/module/assets/sfx/balloon_pop.wav +0 -0
- package/lib/module/assets/sfx/blocked.wav +0 -0
- package/lib/module/assets/sfx/boing.wav +0 -0
- package/lib/module/assets/sfx/bonus.wav +0 -0
- package/lib/module/assets/sfx/boom.wav +0 -0
- package/lib/module/assets/sfx/bump.wav +0 -0
- package/lib/module/assets/sfx/cannon.wav +0 -0
- package/lib/module/assets/sfx/capture.wav +0 -0
- package/lib/module/assets/sfx/card_flip.wav +0 -0
- package/lib/module/assets/sfx/card_place.wav +0 -0
- package/lib/module/assets/sfx/catch.wav +0 -0
- package/lib/module/assets/sfx/chime.wav +0 -0
- package/lib/module/assets/sfx/chomp.wav +0 -0
- package/lib/module/assets/sfx/chomp_alt.wav +0 -0
- package/lib/module/assets/sfx/clack.wav +0 -0
- package/lib/module/assets/sfx/clang.wav +0 -0
- package/lib/module/assets/sfx/clash.wav +0 -0
- package/lib/module/assets/sfx/click.wav +0 -0
- package/lib/module/assets/sfx/coin.wav +0 -0
- package/lib/module/assets/sfx/combo.wav +0 -0
- package/lib/module/assets/sfx/crash.wav +0 -0
- package/lib/module/assets/sfx/crunch.wav +0 -0
- package/lib/module/assets/sfx/dance.wav +0 -0
- package/lib/module/assets/sfx/deselect.wav +0 -0
- package/lib/module/assets/sfx/dice_roll.wav +0 -0
- package/lib/module/assets/sfx/die.wav +0 -0
- package/lib/module/assets/sfx/draw.wav +0 -0
- package/lib/module/assets/sfx/drop.wav +0 -0
- package/lib/module/assets/sfx/eat.wav +0 -0
- package/lib/module/assets/sfx/engine.wav +0 -0
- package/lib/module/assets/sfx/error.wav +0 -0
- package/lib/module/assets/sfx/flag.wav +0 -0
- package/lib/module/assets/sfx/flap.wav +0 -0
- package/lib/module/assets/sfx/flip_disc.wav +0 -0
- package/lib/module/assets/sfx/footstep_run.wav +0 -0
- package/lib/module/assets/sfx/footstep_walk.wav +0 -0
- package/lib/module/assets/sfx/game_over.wav +0 -0
- package/lib/module/assets/sfx/gate.wav +0 -0
- package/lib/module/assets/sfx/hit.wav +0 -0
- package/lib/module/assets/sfx/hop.wav +0 -0
- package/lib/module/assets/sfx/hurt.wav +0 -0
- package/lib/module/assets/sfx/invalid.wav +0 -0
- package/lib/module/assets/sfx/jump.wav +0 -0
- package/lib/module/assets/sfx/ladder.wav +0 -0
- package/lib/module/assets/sfx/land.wav +0 -0
- package/lib/module/assets/sfx/laugh.wav +0 -0
- package/lib/module/assets/sfx/lose.wav +0 -0
- package/lib/module/assets/sfx/merge.wav +0 -0
- package/lib/module/assets/sfx/miss.wav +0 -0
- package/lib/module/assets/sfx/nitro.wav +0 -0
- package/lib/module/assets/sfx/pew.wav +0 -0
- package/lib/module/assets/sfx/place.wav +0 -0
- package/lib/module/assets/sfx/pling.wav +0 -0
- package/lib/module/assets/sfx/point.wav +0 -0
- package/lib/module/assets/sfx/pop.wav +0 -0
- package/lib/module/assets/sfx/pop_soft.wav +0 -0
- package/lib/module/assets/sfx/power_up.wav +0 -0
- package/lib/module/assets/sfx/reveal.wav +0 -0
- package/lib/module/assets/sfx/robot.wav +0 -0
- package/lib/module/assets/sfx/rotate.wav +0 -0
- package/lib/module/assets/sfx/run_steps.wav +0 -0
- package/lib/module/assets/sfx/select.wav +0 -0
- package/lib/module/assets/sfx/shuffle.wav +0 -0
- package/lib/module/assets/sfx/six.wav +0 -0
- package/lib/module/assets/sfx/slice.wav +0 -0
- package/lib/module/assets/sfx/slide.wav +0 -0
- package/lib/module/assets/sfx/snake.wav +0 -0
- package/lib/module/assets/sfx/snap.wav +0 -0
- package/lib/module/assets/sfx/splash.wav +0 -0
- package/lib/module/assets/sfx/star.wav +0 -0
- package/lib/module/assets/sfx/start.wav +0 -0
- package/lib/module/assets/sfx/swoosh.wav +0 -0
- package/lib/module/assets/sfx/tap.wav +0 -0
- package/lib/module/assets/sfx/thud.wav +0 -0
- package/lib/module/assets/sfx/thunk.wav +0 -0
- package/lib/module/assets/sfx/tick.wav +0 -0
- package/lib/module/assets/sfx/time_up.wav +0 -0
- package/lib/module/assets/sfx/tock.wav +0 -0
- package/lib/module/assets/sfx/walk_steps.wav +0 -0
- package/lib/module/assets/sfx/warning.wav +0 -0
- package/lib/module/assets/sfx/whack.wav +0 -0
- package/lib/module/assets/sfx/whoosh.wav +0 -0
- package/lib/module/assets/sfx/win.wav +0 -0
- package/lib/module/assets/sfx/zap.wav +0 -0
- package/lib/module/assets/textures/ad_bolt.png +0 -0
- package/lib/module/assets/textures/ad_bubbles.png +0 -0
- package/lib/module/assets/textures/ad_chevrons.png +0 -0
- package/lib/module/assets/textures/asphalt.png +0 -0
- package/lib/module/assets/textures/bark.jpg +0 -0
- package/lib/module/assets/textures/explorer-atlas.png +0 -0
- package/lib/module/assets/textures/facade.png +0 -0
- package/lib/module/assets/textures/grass.png +0 -0
- package/lib/module/assets/textures/leaves.png +0 -0
- package/lib/module/assets/textures/limestone.jpg +0 -0
- package/lib/module/assets/textures/meadow.jpg +0 -0
- package/lib/module/assets/textures/nature-sources.json +87 -0
- package/lib/module/assets/textures/pine.png +0 -0
- package/lib/module/assets/textures/river.jpg +0 -0
- package/lib/module/assets/textures/soft_glow.png +0 -0
- package/lib/module/games/arrows/Arrows.js +1 -1
- package/lib/module/games/arrows/ArrowsConstants.js +1 -1
- package/lib/module/games/arrows/ArrowsGame.js +1 -0
- package/lib/module/games/arrows/ArrowsScene.js +1 -0
- package/lib/module/games/balloon-blaster/BalloonBlaster.js +1 -1
- package/lib/module/games/balloon-blaster/BalloonBlasterConstants.js +1 -1
- package/lib/module/games/balloon-blaster/BalloonBlasterGame.js +1 -0
- package/lib/module/games/balloon-blaster/BalloonBlasterPhysics.js +1 -0
- package/lib/module/games/balloon-blaster/BalloonBlasterScene.js +1 -0
- package/lib/module/games/bike-racing/BikeMeshes.js +1 -0
- package/lib/module/games/bike-racing/BikeRacing.js +1 -1
- package/lib/module/games/bike-racing/BikeRacingConstants.js +1 -1
- package/lib/module/games/bike-racing/BikeRacingGame.js +1 -0
- package/lib/module/games/bike-racing/BikeRacingScene.js +1 -0
- package/lib/module/games/block-blast/BlockBlast.js +1 -1
- package/lib/module/games/block-blast/BlockBlastConstants.js +1 -1
- package/lib/module/games/block-blast/BlockBlastGame.js +1 -0
- package/lib/module/games/block-blast/BlockBlastScene.js +1 -0
- package/lib/module/games/block-breaker/BlockBreaker.js +1 -1
- package/lib/module/games/block-breaker/BlockBreakerConstants.js +1 -1
- package/lib/module/games/block-breaker/BlockBreakerGame.js +1 -0
- package/lib/module/games/block-breaker/BlockBreakerScene.js +1 -0
- package/lib/module/games/bluk/Bluk.js +1 -1
- package/lib/module/games/bluk/BlukConstants.js +1 -1
- package/lib/module/games/bluk/BlukGame.js +1 -0
- package/lib/module/games/bluk/BlukRules.js +1 -0
- package/lib/module/games/bluk/BlukScene.js +1 -0
- package/lib/module/games/bubble-shooter/BubbleShooter.js +1 -1
- package/lib/module/games/bubble-shooter/BubbleShooterConstants.js +1 -1
- package/lib/module/games/bubble-shooter/BubbleShooterGame.js +1 -0
- package/lib/module/games/bubble-shooter/BubbleShooterScene.js +1 -0
- package/lib/module/games/candy-crush/CandyCrush.js +1 -1
- package/lib/module/games/candy-crush/CandyCrushConstants.js +1 -1
- package/lib/module/games/candy-crush/CandyCrushGame.js +1 -0
- package/lib/module/games/candy-crush/CandyCrushScene.js +1 -0
- package/lib/module/games/car-racing/CarMeshes.js +1 -0
- package/lib/module/games/car-racing/CarRacing.js +1 -1
- package/lib/module/games/car-racing/CarRacingConstants.js +1 -1
- package/lib/module/games/car-racing/CarRacingFacade.js +1 -0
- package/lib/module/games/car-racing/CarRacingGame.js +1 -0
- package/lib/module/games/car-racing/CarRacingScene.js +1 -0
- package/lib/module/games/car-racing/CarRacingScenery.js +1 -0
- package/lib/module/games/chameleon-run/ChameleonRun.js +1 -1
- package/lib/module/games/chameleon-run/ChameleonRunBackdrop.js +1 -0
- package/lib/module/games/chameleon-run/ChameleonRunConstants.js +1 -1
- package/lib/module/games/chameleon-run/ChameleonRunGame.js +1 -0
- package/lib/module/games/chameleon-run/ChameleonRunMeshes.js +1 -0
- package/lib/module/games/chameleon-run/ChameleonRunRules.js +1 -0
- package/lib/module/games/chameleon-run/ChameleonRunScene.js +1 -0
- package/lib/module/games/checkers/Checkers.js +1 -1
- package/lib/module/games/checkers/CheckersAI.js +1 -0
- package/lib/module/games/checkers/CheckersConstants.js +1 -1
- package/lib/module/games/checkers/CheckersGame.js +1 -0
- package/lib/module/games/checkers/CheckersRules.js +1 -0
- package/lib/module/games/checkers/CheckersScene.js +1 -0
- package/lib/module/games/color-switch/ColorSwitch.js +1 -1
- package/lib/module/games/color-switch/ColorSwitchConstants.js +1 -1
- package/lib/module/games/color-switch/ColorSwitchGame.js +1 -0
- package/lib/module/games/color-switch/ColorSwitchScene.js +1 -0
- package/lib/module/games/colors-sort/ColorsSort.js +1 -1
- package/lib/module/games/colors-sort/ColorsSortConstants.js +1 -1
- package/lib/module/games/colors-sort/ColorsSortGame.js +1 -0
- package/lib/module/games/colors-sort/ColorsSortScene.js +1 -0
- package/lib/module/games/connect-em-all/ConnectEmAll.js +1 -1
- package/lib/module/games/connect-em-all/ConnectEmAllConstants.js +1 -1
- package/lib/module/games/connect-em-all/ConnectEmAllGame.js +1 -0
- package/lib/module/games/connect-em-all/ConnectEmAllScene.js +1 -0
- package/lib/module/games/crossy-road/CrossyRoad.js +1 -1
- package/lib/module/games/crossy-road/CrossyRoadCamera.js +1 -0
- package/lib/module/games/crossy-road/CrossyRoadConstants.js +1 -1
- package/lib/module/games/crossy-road/CrossyRoadGame.js +1 -0
- package/lib/module/games/crossy-road/CrossyRoadMeshes.js +1 -0
- package/lib/module/games/crossy-road/CrossyRoadPerson.js +1 -0
- package/lib/module/games/crossy-road/CrossyRoadRules.js +1 -0
- package/lib/module/games/crossy-road/CrossyRoadScene.js +1 -0
- package/lib/module/games/dino-jump/DinoJump.js +1 -1
- package/lib/module/games/dino-jump/DinoJumpConstants.js +1 -1
- package/lib/module/games/dino-jump/DinoJumpGame.js +1 -0
- package/lib/module/games/dino-jump/DinoJumpScene.js +1 -0
- package/lib/module/games/dots-and-boxes/DotsAndBoxes.js +1 -1
- package/lib/module/games/dots-and-boxes/DotsAndBoxesConstants.js +1 -1
- package/lib/module/games/dots-and-boxes/DotsAndBoxesGame.js +1 -0
- package/lib/module/games/dots-and-boxes/DotsAndBoxesScene.js +1 -0
- package/lib/module/games/falling-sticks/FallingSticks.js +1 -1
- package/lib/module/games/falling-sticks/FallingSticksConstants.js +1 -1
- package/lib/module/games/falling-sticks/FallingSticksGame.js +1 -0
- package/lib/module/games/falling-sticks/FallingSticksRules.js +1 -0
- package/lib/module/games/falling-sticks/FallingSticksScene.js +1 -0
- package/lib/module/games/find-different-number/FindDifferentNumber.js +1 -1
- package/lib/module/games/find-different-number/FindDifferentNumberConstants.js +1 -1
- package/lib/module/games/find-different-number/FindDifferentNumberGame.js +1 -0
- package/lib/module/games/find-different-number/FindDifferentNumberRules.js +1 -0
- package/lib/module/games/find-different-number/FindDifferentNumberScene.js +1 -0
- package/lib/module/games/flappy-bird/FlappyBird.js +1 -1
- package/lib/module/games/flappy-bird/FlappyBirdConstants.js +1 -1
- package/lib/module/games/flappy-bird/FlappyBirdGame.js +1 -0
- package/lib/module/games/flappy-bird/FlappyBirdScene.js +1 -0
- package/lib/module/games/fruit-merger/FruitMerger.js +1 -1
- package/lib/module/games/fruit-merger/FruitMergerConstants.js +1 -1
- package/lib/module/games/fruit-merger/FruitMergerGame.js +1 -0
- package/lib/module/games/fruit-merger/FruitMergerRules.js +1 -0
- package/lib/module/games/fruit-merger/FruitMergerScene.js +1 -0
- package/lib/module/games/fruit-ninja/FruitNinja.js +1 -1
- package/lib/module/games/fruit-ninja/FruitNinjaConstants.js +1 -1
- package/lib/module/games/fruit-ninja/FruitNinjaGame.js +1 -0
- package/lib/module/games/fruit-ninja/FruitNinjaScene.js +1 -0
- package/lib/module/games/fruit-ninja/FruitNinjaWorld.js +1 -0
- package/lib/module/games/game-2048/Game2048.js +1 -1
- package/lib/module/games/game-2048/Game2048Constants.js +1 -1
- package/lib/module/games/game-2048/Game2048Game.js +1 -0
- package/lib/module/games/game-2048/Game2048Rules.js +1 -0
- package/lib/module/games/game-2048/Game2048Scene.js +1 -0
- package/lib/module/games/knife-hit/KnifeHit.js +1 -1
- package/lib/module/games/knife-hit/KnifeHitConstants.js +1 -1
- package/lib/module/games/knife-hit/KnifeHitGame.js +1 -0
- package/lib/module/games/knife-hit/KnifeHitScene.js +1 -0
- package/lib/module/games/ludo-king/LudoKing.js +1 -1
- package/lib/module/games/ludo-king/LudoKingConstants.js +1 -1
- package/lib/module/games/ludo-king/LudoKingGame.js +1 -0
- package/lib/module/games/ludo-king/LudoKingRules.js +1 -0
- package/lib/module/games/ludo-king/LudoKingScene.js +1 -0
- package/lib/module/games/maze-runner/MazeRunner.js +1 -1
- package/lib/module/games/maze-runner/MazeRunnerConstants.js +1 -1
- package/lib/module/games/maze-runner/MazeRunnerGame.js +1 -0
- package/lib/module/games/maze-runner/MazeRunnerRules.js +1 -0
- package/lib/module/games/maze-runner/MazeRunnerScene.js +1 -0
- package/lib/module/games/memory-match/MemoryMatch.js +1 -1
- package/lib/module/games/memory-match/MemoryMatchConstants.js +1 -1
- package/lib/module/games/memory-match/MemoryMatchGame.js +1 -0
- package/lib/module/games/memory-match/MemoryMatchRules.js +1 -0
- package/lib/module/games/memory-match/MemoryMatchScene.js +1 -0
- package/lib/module/games/mine-sweeper/MineSweeper.js +1 -1
- package/lib/module/games/mine-sweeper/MineSweeperConstants.js +1 -1
- package/lib/module/games/mine-sweeper/MineSweeperGame.js +1 -0
- package/lib/module/games/mine-sweeper/MineSweeperRules.js +1 -0
- package/lib/module/games/mine-sweeper/MineSweeperScene.js +1 -0
- package/lib/module/games/mob-control/MobControl.js +1 -1
- package/lib/module/games/mob-control/MobControlConstants.js +1 -1
- package/lib/module/games/mob-control/MobControlGame.js +1 -0
- package/lib/module/games/mob-control/MobControlMeshes.js +1 -0
- package/lib/module/games/mob-control/MobControlRenderer.js +1 -0
- package/lib/module/games/mob-control/MobControlRules.js +1 -0
- package/lib/module/games/mob-control/MobControlScene.js +1 -0
- package/lib/module/games/number-search/NumberSearch.js +1 -1
- package/lib/module/games/number-search/NumberSearchNumbers.js +1 -0
- package/lib/module/games/nuts-and-bolts/NutsAndBolts.js +1 -1
- package/lib/module/games/nuts-and-bolts/NutsAndBoltsConstants.js +1 -1
- package/lib/module/games/nuts-and-bolts/NutsAndBoltsGame.js +1 -0
- package/lib/module/games/nuts-and-bolts/NutsAndBoltsRules.js +1 -0
- package/lib/module/games/nuts-and-bolts/NutsAndBoltsScene.js +1 -0
- package/lib/module/games/pac-man/PacMan.js +1 -1
- package/lib/module/games/pac-man/PacManConstants.js +1 -1
- package/lib/module/games/pac-man/PacManGame.js +1 -0
- package/lib/module/games/pac-man/PacManRules.js +1 -0
- package/lib/module/games/pac-man/PacManScene.js +1 -0
- package/lib/module/games/paper-io/PaperIo.js +1 -1
- package/lib/module/games/paper-io/PaperIoConstants.js +1 -1
- package/lib/module/games/paper-io/PaperIoGame.js +1 -0
- package/lib/module/games/paper-io/PaperIoMeshes.js +1 -0
- package/lib/module/games/paper-io/PaperIoRules.js +1 -0
- package/lib/module/games/paper-io/PaperIoScene.js +1 -0
- package/lib/module/games/penguin-run/PenguinMeshes.js +1 -0
- package/lib/module/games/penguin-run/PenguinModel.js +1 -0
- package/lib/module/games/penguin-run/PenguinRun.js +1 -0
- package/lib/module/games/penguin-run/PenguinRunConstants.js +1 -0
- package/lib/module/games/penguin-run/PenguinRunGame.js +1 -0
- package/lib/module/games/penguin-run/PenguinRunScene.js +1 -0
- package/lib/module/games/perfect-circle/PerfectCircle.js +1 -1
- package/lib/module/games/perfect-circle/PerfectCircleConstants.js +1 -1
- package/lib/module/games/perfect-circle/PerfectCircleGame.js +1 -0
- package/lib/module/games/perfect-circle/PerfectCircleRules.js +1 -0
- package/lib/module/games/perfect-circle/PerfectCircleScene.js +1 -0
- package/lib/module/games/pipe-connect/PipeConnect.js +1 -1
- package/lib/module/games/pipe-connect/PipeConnectConstants.js +1 -1
- package/lib/module/games/pipe-connect/PipeConnectGame.js +1 -0
- package/lib/module/games/pipe-connect/PipeConnectRules.js +1 -0
- package/lib/module/games/pipe-connect/PipeConnectScene.js +1 -0
- package/lib/module/games/play-with-tua/PlayWithTua.js +1 -0
- package/lib/module/games/play-with-tua/PlayWithTuaConstants.js +1 -0
- package/lib/module/games/play-with-tua/PlayWithTuaGame.js +1 -0
- package/lib/module/games/play-with-tua/PlayWithTuaModel.js +1 -0
- package/lib/module/games/play-with-tua/PlayWithTuaScene.js +1 -0
- package/lib/module/games/popit-fidget/PopitFidget.js +1 -1
- package/lib/module/games/popit-fidget/PopitFidgetConstants.js +1 -1
- package/lib/module/games/popit-fidget/PopitFidgetGame.js +1 -0
- package/lib/module/games/popit-fidget/PopitFidgetScene.js +1 -0
- package/lib/module/games/reversi/Reversi.js +1 -1
- package/lib/module/games/reversi/ReversiConstants.js +1 -1
- package/lib/module/games/reversi/ReversiGame.js +1 -0
- package/lib/module/games/reversi/ReversiRules.js +1 -0
- package/lib/module/games/reversi/ReversiScene.js +1 -0
- package/lib/module/games/search-grid/SearchGrid.js +1 -0
- package/lib/module/games/search-grid/SearchGridConstants.js +1 -0
- package/lib/module/games/search-grid/SearchGridGame.js +1 -0
- package/lib/module/games/search-grid/SearchGridScene.js +1 -0
- package/lib/module/games/shared/BackdropCard.js +1 -0
- package/lib/module/games/shared/EngineBackdrop.js +1 -0
- package/lib/module/games/shared/EngineBlasts.js +1 -0
- package/lib/module/games/shared/EngineBlocks.js +1 -0
- package/lib/module/games/shared/EngineControlText.js +1 -0
- package/lib/module/games/shared/EngineDice.js +1 -0
- package/lib/module/games/shared/EngineFootprint.js +1 -0
- package/lib/module/games/shared/EngineFruits.js +1 -0
- package/lib/module/games/shared/EngineGameLoader.js +1 -0
- package/lib/module/games/shared/EngineGameScreen.js +1 -0
- package/lib/module/games/shared/EngineGameWidth.js +1 -0
- package/lib/module/games/shared/EngineGameWidth.web.js +1 -0
- package/lib/module/games/shared/EngineGlyphs.js +1 -0
- package/lib/module/games/shared/EngineHud.js +1 -0
- package/lib/module/games/shared/EngineLoading.js +1 -0
- package/lib/module/games/shared/EngineMeadow.js +1 -0
- package/lib/module/games/shared/EngineMeshCache.js +1 -0
- package/lib/module/games/shared/EngineMeshes.js +1 -0
- package/lib/module/games/shared/EngineRacingChase.js +1 -0
- package/lib/module/games/shared/EngineRacingHandling.js +1 -0
- package/lib/module/games/shared/EngineReadyContext.js +1 -0
- package/lib/module/games/shared/EngineTilt.js +1 -0
- package/lib/module/games/shared/EngineTouchSurface.js +1 -0
- package/lib/module/games/shared/EngineUtils.js +1 -0
- package/lib/module/games/shared/GameActivity.js +1 -0
- package/lib/module/games/shared/GameLoading.js +1 -0
- package/lib/module/games/shared/GameLoadingTransition.js +1 -0
- package/lib/module/games/shared/ProceduralCacheVersion.js +1 -0
- package/lib/module/games/shared/useEngineGame.js +1 -0
- package/lib/module/games/shared/useGameResource.js +1 -0
- package/lib/module/games/shared/useLiveState.js +1 -0
- package/lib/module/games/sliding-numbers/SlidingNumbers.js +1 -1
- package/lib/module/games/sliding-numbers/SlidingNumbersConstants.js +1 -1
- package/lib/module/games/sliding-numbers/SlidingNumbersGame.js +1 -0
- package/lib/module/games/sliding-numbers/SlidingNumbersRules.js +1 -0
- package/lib/module/games/sliding-numbers/SlidingNumbersScene.js +1 -0
- package/lib/module/games/snake-3d/Snake3D.js +1 -1
- package/lib/module/games/snake-3d/Snake3DConstants.js +1 -1
- package/lib/module/games/snake-3d/Snake3DGame.js +1 -0
- package/lib/module/games/snake-3d/Snake3DMotion.js +1 -0
- package/lib/module/games/snake-3d/Snake3DRules.js +1 -0
- package/lib/module/games/snake-3d/Snake3DScene.js +1 -0
- package/lib/module/games/snakes-and-ladders/SnakesAndLadders.js +1 -1
- package/lib/module/games/snakes-and-ladders/SnakesAndLaddersConstants.js +1 -1
- package/lib/module/games/snakes-and-ladders/SnakesAndLaddersGame.js +1 -0
- package/lib/module/games/snakes-and-ladders/SnakesAndLaddersScene.js +1 -0
- package/lib/module/games/space-fighter/SpaceFighter.js +1 -1
- package/lib/module/games/space-fighter/SpaceFighterConstants.js +1 -1
- package/lib/module/games/space-fighter/SpaceFighterGame.js +1 -0
- package/lib/module/games/space-fighter/SpaceFighterScene.js +1 -0
- package/lib/module/games/spider-solitaire/SpiderSolitaire.js +1 -1
- package/lib/module/games/spider-solitaire/SpiderSolitaireConstants.js +1 -1
- package/lib/module/games/spider-solitaire/SpiderSolitaireGame.js +1 -0
- package/lib/module/games/spider-solitaire/SpiderSolitaireRules.js +1 -0
- package/lib/module/games/spider-solitaire/SpiderSolitaireScene.js +1 -0
- package/lib/module/games/stack-tower/StackTower.js +1 -1
- package/lib/module/games/stack-tower/StackTowerConstants.js +1 -1
- package/lib/module/games/stack-tower/StackTowerGame.js +1 -0
- package/lib/module/games/stack-tower/StackTowerScene.js +1 -0
- package/lib/module/games/sudoku/Sudoku.js +1 -1
- package/lib/module/games/sudoku/SudokuConstants.js +1 -1
- package/lib/module/games/sudoku/SudokuGame.js +1 -0
- package/lib/module/games/sudoku/SudokuRules.js +1 -0
- package/lib/module/games/sudoku/SudokuScene.js +1 -0
- package/lib/module/games/tangram/Tangram.js +1 -1
- package/lib/module/games/tangram/TangramConstants.js +1 -1
- package/lib/module/games/tangram/TangramGame.js +1 -0
- package/lib/module/games/tangram/TangramRules.js +1 -0
- package/lib/module/games/tangram/TangramScene.js +1 -0
- package/lib/module/games/tank-1990/Tank1990.js +1 -1
- package/lib/module/games/tank-1990/Tank1990Constants.js +1 -1
- package/lib/module/games/tank-1990/Tank1990Game.js +1 -0
- package/lib/module/games/tank-1990/Tank1990Rules.js +1 -0
- package/lib/module/games/tank-1990/Tank1990Scene.js +1 -0
- package/lib/module/games/tic-tac-toe/TicTacToe.js +1 -1
- package/lib/module/games/tic-tac-toe/TicTacToeConstants.js +1 -1
- package/lib/module/games/tic-tac-toe/TicTacToeGame.js +1 -0
- package/lib/module/games/tic-tac-toe/TicTacToeRules.js +1 -0
- package/lib/module/games/tic-tac-toe/TicTacToeScene.js +1 -0
- package/lib/module/games/tile-home/TileHome.js +1 -1
- package/lib/module/games/tile-home/TileHomeConstants.js +1 -1
- package/lib/module/games/tile-home/TileHomeGame.js +1 -0
- package/lib/module/games/tile-home/TileHomeScene.js +1 -0
- package/lib/module/games/treasure-hunt/TreasureHunt.js +1 -0
- package/lib/module/games/treasure-hunt/TreasureHuntConstants.js +1 -0
- package/lib/module/games/treasure-hunt/TreasureHuntControls.js +1 -0
- package/lib/module/games/treasure-hunt/TreasureHuntGame.js +1 -0
- package/lib/module/games/treasure-hunt/TreasureHuntMeshes.js +1 -0
- package/lib/module/games/treasure-hunt/TreasureHuntModel.js +1 -0
- package/lib/module/games/treasure-hunt/TreasureHuntRules.js +1 -0
- package/lib/module/games/treasure-hunt/TreasureHuntScene.js +1 -0
- package/lib/module/games/whack-a-mole/WhackAMole.js +1 -1
- package/lib/module/games/whack-a-mole/WhackAMoleConstants.js +1 -1
- package/lib/module/games/whack-a-mole/WhackAMoleGame.js +1 -0
- package/lib/module/games/whack-a-mole/WhackAMoleScene.js +1 -0
- package/lib/module/games/word-search/WordSearch.js +1 -1
- package/lib/module/games/word-search/WordSearchWords.js +1 -0
- package/lib/module/helpers/GamePatternData.js +1 -0
- package/lib/module/helpers/GameSettingsModal.js +1 -1
- package/lib/module/helpers/GameTheme.js +1 -0
- package/lib/module/helpers/IconPaths.js +1 -0
- package/lib/module/helpers/index.js +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/services/GameAssetLoader.js +1 -0
- package/lib/module/services/GameAssets.js +1 -0
- package/lib/module/services/GameLoaders.js +1 -0
- package/lib/module/services/GamesConstants.js +1 -1
- package/lib/module/services/GamesMetadata.js +1 -1
- package/lib/module/services/GamesService.js +1 -1
- package/lib/module/services/HapticsService.js +1 -1
- package/lib/module/services/ScoringService.js +1 -1
- package/lib/module/services/SfxSources.js +1 -0
- package/lib/module/services/SoundsService.js +1 -1
- package/lib/module/services/ThemeService.js +1 -0
- package/lib/module/services/UtilsService.js +1 -1
- package/lib/module/services/index.js +1 -1
- package/lib/typescript/src/games/arrows/Arrows.d.ts +1 -3
- package/lib/typescript/src/games/arrows/ArrowsConstants.d.ts +48 -32
- package/lib/typescript/src/games/arrows/ArrowsGame.d.ts +60 -0
- package/lib/typescript/src/games/arrows/ArrowsScene.d.ts +67 -0
- package/lib/typescript/src/games/balloon-blaster/BalloonBlaster.d.ts +1 -3
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterConstants.d.ts +39 -131
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterGame.d.ts +57 -0
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterPhysics.d.ts +16 -0
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterScene.d.ts +31 -0
- package/lib/typescript/src/games/bike-racing/BikeMeshes.d.ts +14 -0
- package/lib/typescript/src/games/bike-racing/BikeRacing.d.ts +2 -1
- package/lib/typescript/src/games/bike-racing/BikeRacingConstants.d.ts +38 -29
- package/lib/typescript/src/games/bike-racing/BikeRacingGame.d.ts +104 -0
- package/lib/typescript/src/games/bike-racing/BikeRacingScene.d.ts +25 -0
- package/lib/typescript/src/games/block-blast/BlockBlast.d.ts +1 -3
- package/lib/typescript/src/games/block-blast/BlockBlastConstants.d.ts +48 -30
- package/lib/typescript/src/games/block-blast/BlockBlastGame.d.ts +77 -0
- package/lib/typescript/src/games/block-blast/BlockBlastScene.d.ts +36 -0
- package/lib/typescript/src/games/block-breaker/BlockBreaker.d.ts +1 -3
- package/lib/typescript/src/games/block-breaker/BlockBreakerConstants.d.ts +88 -35
- package/lib/typescript/src/games/block-breaker/BlockBreakerGame.d.ts +82 -0
- package/lib/typescript/src/games/block-breaker/BlockBreakerScene.d.ts +48 -0
- package/lib/typescript/src/games/bluk/Bluk.d.ts +1 -3
- package/lib/typescript/src/games/bluk/BlukConstants.d.ts +65 -54
- package/lib/typescript/src/games/bluk/BlukGame.d.ts +65 -0
- package/lib/typescript/src/games/bluk/BlukRules.d.ts +51 -0
- package/lib/typescript/src/games/bluk/BlukScene.d.ts +54 -0
- package/lib/typescript/src/games/bubble-shooter/BubbleShooter.d.ts +1 -3
- package/lib/typescript/src/games/bubble-shooter/BubbleShooterConstants.d.ts +56 -24
- package/lib/typescript/src/games/bubble-shooter/BubbleShooterGame.d.ts +70 -0
- package/lib/typescript/src/games/bubble-shooter/BubbleShooterScene.d.ts +26 -0
- package/lib/typescript/src/games/candy-crush/CandyCrush.d.ts +1 -3
- package/lib/typescript/src/games/candy-crush/CandyCrushConstants.d.ts +63 -32
- package/lib/typescript/src/games/candy-crush/CandyCrushGame.d.ts +65 -0
- package/lib/typescript/src/games/candy-crush/CandyCrushScene.d.ts +28 -0
- package/lib/typescript/src/games/car-racing/CarMeshes.d.ts +44 -0
- package/lib/typescript/src/games/car-racing/CarRacing.d.ts +2 -1
- package/lib/typescript/src/games/car-racing/CarRacingConstants.d.ts +60 -29
- package/lib/typescript/src/games/car-racing/CarRacingFacade.d.ts +5 -0
- package/lib/typescript/src/games/car-racing/CarRacingGame.d.ts +96 -0
- package/lib/typescript/src/games/car-racing/CarRacingScene.d.ts +97 -0
- package/lib/typescript/src/games/car-racing/CarRacingScenery.d.ts +22 -0
- package/lib/typescript/src/games/chameleon-run/ChameleonRun.d.ts +1 -3
- package/lib/typescript/src/games/chameleon-run/ChameleonRunBackdrop.d.ts +14 -0
- package/lib/typescript/src/games/chameleon-run/ChameleonRunConstants.d.ts +44 -42
- package/lib/typescript/src/games/chameleon-run/ChameleonRunGame.d.ts +60 -0
- package/lib/typescript/src/games/chameleon-run/ChameleonRunMeshes.d.ts +20 -0
- package/lib/typescript/src/games/chameleon-run/ChameleonRunRules.d.ts +52 -0
- package/lib/typescript/src/games/chameleon-run/ChameleonRunScene.d.ts +44 -0
- package/lib/typescript/src/games/checkers/Checkers.d.ts +1 -3
- package/lib/typescript/src/games/checkers/CheckersAI.d.ts +11 -0
- package/lib/typescript/src/games/checkers/CheckersConstants.d.ts +32 -72
- package/lib/typescript/src/games/checkers/CheckersGame.d.ts +56 -0
- package/lib/typescript/src/games/checkers/CheckersRules.d.ts +48 -0
- package/lib/typescript/src/games/checkers/CheckersScene.d.ts +41 -0
- package/lib/typescript/src/games/color-switch/ColorSwitch.d.ts +1 -3
- package/lib/typescript/src/games/color-switch/ColorSwitchConstants.d.ts +27 -31
- package/lib/typescript/src/games/color-switch/ColorSwitchGame.d.ts +61 -0
- package/lib/typescript/src/games/color-switch/ColorSwitchScene.d.ts +43 -0
- package/lib/typescript/src/games/colors-sort/ColorsSort.d.ts +1 -3
- package/lib/typescript/src/games/colors-sort/ColorsSortConstants.d.ts +37 -44
- package/lib/typescript/src/games/colors-sort/ColorsSortGame.d.ts +41 -0
- package/lib/typescript/src/games/colors-sort/ColorsSortScene.d.ts +33 -0
- package/lib/typescript/src/games/connect-em-all/ConnectEmAll.d.ts +1 -3
- package/lib/typescript/src/games/connect-em-all/ConnectEmAllConstants.d.ts +43 -17
- package/lib/typescript/src/games/connect-em-all/ConnectEmAllGame.d.ts +54 -0
- package/lib/typescript/src/games/connect-em-all/ConnectEmAllScene.d.ts +49 -0
- package/lib/typescript/src/games/crossy-road/CrossyRoad.d.ts +1 -3
- package/lib/typescript/src/games/crossy-road/CrossyRoadCamera.d.ts +14 -0
- package/lib/typescript/src/games/crossy-road/CrossyRoadConstants.d.ts +82 -50
- package/lib/typescript/src/games/crossy-road/CrossyRoadGame.d.ts +64 -0
- package/lib/typescript/src/games/crossy-road/CrossyRoadMeshes.d.ts +16 -0
- package/lib/typescript/src/games/crossy-road/CrossyRoadPerson.d.ts +10 -0
- package/lib/typescript/src/games/crossy-road/CrossyRoadRules.d.ts +36 -0
- package/lib/typescript/src/games/crossy-road/CrossyRoadScene.d.ts +38 -0
- package/lib/typescript/src/games/dino-jump/DinoJump.d.ts +1 -3
- package/lib/typescript/src/games/dino-jump/DinoJumpConstants.d.ts +48 -72
- package/lib/typescript/src/games/dino-jump/DinoJumpGame.d.ts +60 -0
- package/lib/typescript/src/games/dino-jump/DinoJumpScene.d.ts +35 -0
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxes.d.ts +1 -3
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxesConstants.d.ts +31 -36
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxesGame.d.ts +44 -0
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxesScene.d.ts +31 -0
- package/lib/typescript/src/games/falling-sticks/FallingSticks.d.ts +1 -3
- package/lib/typescript/src/games/falling-sticks/FallingSticksConstants.d.ts +31 -43
- package/lib/typescript/src/games/falling-sticks/FallingSticksGame.d.ts +42 -0
- package/lib/typescript/src/games/falling-sticks/FallingSticksRules.d.ts +36 -0
- package/lib/typescript/src/games/falling-sticks/FallingSticksScene.d.ts +26 -0
- package/lib/typescript/src/games/find-different-number/FindDifferentNumber.d.ts +1 -3
- package/lib/typescript/src/games/find-different-number/FindDifferentNumberConstants.d.ts +33 -29
- package/lib/typescript/src/games/find-different-number/FindDifferentNumberGame.d.ts +43 -0
- package/lib/typescript/src/games/find-different-number/FindDifferentNumberRules.d.ts +8 -0
- package/lib/typescript/src/games/find-different-number/FindDifferentNumberScene.d.ts +31 -0
- package/lib/typescript/src/games/flappy-bird/FlappyBird.d.ts +1 -3
- package/lib/typescript/src/games/flappy-bird/FlappyBirdConstants.d.ts +39 -35
- package/lib/typescript/src/games/flappy-bird/FlappyBirdGame.d.ts +66 -0
- package/lib/typescript/src/games/flappy-bird/FlappyBirdScene.d.ts +41 -0
- package/lib/typescript/src/games/fruit-merger/FruitMerger.d.ts +1 -3
- package/lib/typescript/src/games/fruit-merger/FruitMergerConstants.d.ts +71 -44
- package/lib/typescript/src/games/fruit-merger/FruitMergerGame.d.ts +63 -0
- package/lib/typescript/src/games/fruit-merger/FruitMergerRules.d.ts +39 -0
- package/lib/typescript/src/games/fruit-merger/FruitMergerScene.d.ts +49 -0
- package/lib/typescript/src/games/fruit-ninja/FruitNinja.d.ts +1 -3
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaConstants.d.ts +51 -76
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaGame.d.ts +76 -0
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaScene.d.ts +52 -0
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaWorld.d.ts +8 -0
- package/lib/typescript/src/games/game-2048/Game2048.d.ts +1 -3
- package/lib/typescript/src/games/game-2048/Game2048Constants.d.ts +25 -120
- package/lib/typescript/src/games/game-2048/Game2048Game.d.ts +45 -0
- package/lib/typescript/src/games/game-2048/Game2048Rules.d.ts +32 -0
- package/lib/typescript/src/games/game-2048/Game2048Scene.d.ts +34 -0
- package/lib/typescript/src/games/knife-hit/KnifeHit.d.ts +1 -3
- package/lib/typescript/src/games/knife-hit/KnifeHitConstants.d.ts +41 -49
- package/lib/typescript/src/games/knife-hit/KnifeHitGame.d.ts +49 -0
- package/lib/typescript/src/games/knife-hit/KnifeHitScene.d.ts +37 -0
- package/lib/typescript/src/games/ludo-king/LudoKing.d.ts +1 -3
- package/lib/typescript/src/games/ludo-king/LudoKingConstants.d.ts +50 -28
- package/lib/typescript/src/games/ludo-king/LudoKingGame.d.ts +40 -0
- package/lib/typescript/src/games/ludo-king/LudoKingRules.d.ts +42 -0
- package/lib/typescript/src/games/ludo-king/LudoKingScene.d.ts +53 -0
- package/lib/typescript/src/games/maze-runner/MazeRunner.d.ts +1 -3
- package/lib/typescript/src/games/maze-runner/MazeRunnerConstants.d.ts +34 -10
- package/lib/typescript/src/games/maze-runner/MazeRunnerGame.d.ts +44 -0
- package/lib/typescript/src/games/maze-runner/MazeRunnerRules.d.ts +34 -0
- package/lib/typescript/src/games/maze-runner/MazeRunnerScene.d.ts +29 -0
- package/lib/typescript/src/games/memory-match/MemoryMatch.d.ts +1 -3
- package/lib/typescript/src/games/memory-match/MemoryMatchConstants.d.ts +42 -42
- package/lib/typescript/src/games/memory-match/MemoryMatchGame.d.ts +53 -0
- package/lib/typescript/src/games/memory-match/MemoryMatchRules.d.ts +14 -0
- package/lib/typescript/src/games/memory-match/MemoryMatchScene.d.ts +35 -0
- package/lib/typescript/src/games/mine-sweeper/MineSweeper.d.ts +1 -3
- package/lib/typescript/src/games/mine-sweeper/MineSweeperConstants.d.ts +43 -82
- package/lib/typescript/src/games/mine-sweeper/MineSweeperGame.d.ts +59 -0
- package/lib/typescript/src/games/mine-sweeper/MineSweeperRules.d.ts +18 -0
- package/lib/typescript/src/games/mine-sweeper/MineSweeperScene.d.ts +23 -0
- package/lib/typescript/src/games/mob-control/MobControl.d.ts +1 -3
- package/lib/typescript/src/games/mob-control/MobControlConstants.d.ts +99 -85
- package/lib/typescript/src/games/mob-control/MobControlGame.d.ts +45 -0
- package/lib/typescript/src/games/mob-control/MobControlMeshes.d.ts +2 -0
- package/lib/typescript/src/games/mob-control/MobControlRenderer.d.ts +20 -0
- package/lib/typescript/src/games/mob-control/MobControlRules.d.ts +68 -0
- package/lib/typescript/src/games/mob-control/MobControlScene.d.ts +58 -0
- package/lib/typescript/src/games/number-search/NumberSearch.d.ts +1 -3
- package/lib/typescript/src/games/number-search/NumberSearchNumbers.d.ts +1 -0
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBolts.d.ts +1 -3
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBoltsConstants.d.ts +27 -79
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBoltsGame.d.ts +56 -0
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBoltsRules.d.ts +65 -0
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBoltsScene.d.ts +48 -0
- package/lib/typescript/src/games/pac-man/PacMan.d.ts +1 -3
- package/lib/typescript/src/games/pac-man/PacManConstants.d.ts +66 -106
- package/lib/typescript/src/games/pac-man/PacManGame.d.ts +48 -0
- package/lib/typescript/src/games/pac-man/PacManRules.d.ts +52 -0
- package/lib/typescript/src/games/pac-man/PacManScene.d.ts +44 -0
- package/lib/typescript/src/games/paper-io/PaperIo.d.ts +1 -3
- package/lib/typescript/src/games/paper-io/PaperIoConstants.d.ts +60 -40
- package/lib/typescript/src/games/paper-io/PaperIoGame.d.ts +49 -0
- package/lib/typescript/src/games/paper-io/PaperIoMeshes.d.ts +13 -0
- package/lib/typescript/src/games/paper-io/PaperIoRules.d.ts +71 -0
- package/lib/typescript/src/games/paper-io/PaperIoScene.d.ts +39 -0
- package/lib/typescript/src/games/penguin-run/PenguinMeshes.d.ts +9 -0
- package/lib/typescript/src/games/penguin-run/PenguinModel.d.ts +42 -0
- package/lib/typescript/src/games/penguin-run/PenguinRun.d.ts +1 -0
- package/lib/typescript/src/games/penguin-run/PenguinRunConstants.d.ts +58 -0
- package/lib/typescript/src/games/penguin-run/PenguinRunGame.d.ts +64 -0
- package/lib/typescript/src/games/penguin-run/PenguinRunScene.d.ts +65 -0
- package/lib/typescript/src/games/perfect-circle/PerfectCircle.d.ts +1 -3
- package/lib/typescript/src/games/perfect-circle/PerfectCircleConstants.d.ts +23 -45
- package/lib/typescript/src/games/perfect-circle/PerfectCircleGame.d.ts +40 -0
- package/lib/typescript/src/games/perfect-circle/PerfectCircleRules.d.ts +55 -0
- package/lib/typescript/src/games/perfect-circle/PerfectCircleScene.d.ts +32 -0
- package/lib/typescript/src/games/pipe-connect/PipeConnect.d.ts +1 -3
- package/lib/typescript/src/games/pipe-connect/PipeConnectConstants.d.ts +36 -32
- package/lib/typescript/src/games/pipe-connect/PipeConnectGame.d.ts +40 -0
- package/lib/typescript/src/games/pipe-connect/PipeConnectRules.d.ts +16 -0
- package/lib/typescript/src/games/pipe-connect/PipeConnectScene.d.ts +28 -0
- package/lib/typescript/src/games/play-with-tua/PlayWithTua.d.ts +2 -0
- package/lib/typescript/src/games/play-with-tua/PlayWithTuaConstants.d.ts +64 -0
- package/lib/typescript/src/games/play-with-tua/PlayWithTuaGame.d.ts +34 -0
- package/lib/typescript/src/games/play-with-tua/PlayWithTuaModel.d.ts +9 -0
- package/lib/typescript/src/games/play-with-tua/PlayWithTuaScene.d.ts +13 -0
- package/lib/typescript/src/games/popit-fidget/PopitFidget.d.ts +1 -4
- package/lib/typescript/src/games/popit-fidget/PopitFidgetConstants.d.ts +25 -36
- package/lib/typescript/src/games/popit-fidget/PopitFidgetGame.d.ts +37 -0
- package/lib/typescript/src/games/popit-fidget/PopitFidgetScene.d.ts +19 -0
- package/lib/typescript/src/games/reversi/Reversi.d.ts +1 -3
- package/lib/typescript/src/games/reversi/ReversiConstants.d.ts +31 -62
- package/lib/typescript/src/games/reversi/ReversiGame.d.ts +54 -0
- package/lib/typescript/src/games/reversi/ReversiRules.d.ts +22 -0
- package/lib/typescript/src/games/reversi/ReversiScene.d.ts +27 -0
- package/lib/typescript/src/games/search-grid/SearchGrid.d.ts +20 -0
- package/lib/typescript/src/games/search-grid/SearchGridConstants.d.ts +60 -0
- package/lib/typescript/src/games/search-grid/SearchGridGame.d.ts +52 -0
- package/lib/typescript/src/games/search-grid/SearchGridScene.d.ts +43 -0
- package/lib/typescript/src/games/shared/BackdropCard.d.ts +2 -0
- package/lib/typescript/src/games/shared/EngineBackdrop.d.ts +19 -0
- package/lib/typescript/src/games/shared/EngineBlasts.d.ts +26 -0
- package/lib/typescript/src/games/shared/EngineBlocks.d.ts +19 -0
- package/lib/typescript/src/games/shared/EngineControlText.d.ts +2 -0
- package/lib/typescript/src/games/shared/EngineDice.d.ts +24 -0
- package/lib/typescript/src/games/shared/EngineFootprint.d.ts +17 -0
- package/lib/typescript/src/games/shared/EngineFruits.d.ts +27 -0
- package/lib/typescript/src/games/shared/EngineGameLoader.d.ts +4 -0
- package/lib/typescript/src/games/shared/EngineGameScreen.d.ts +48 -0
- package/lib/typescript/src/games/shared/EngineGameWidth.d.ts +3 -0
- package/lib/typescript/src/games/shared/EngineGameWidth.web.d.ts +3 -0
- package/lib/typescript/src/games/shared/EngineGlyphs.d.ts +15 -0
- package/lib/typescript/src/games/shared/EngineHud.d.ts +138 -0
- package/lib/typescript/src/games/shared/EngineLoading.d.ts +77 -0
- package/lib/typescript/src/games/shared/EngineMeadow.d.ts +90 -0
- package/lib/typescript/src/games/shared/EngineMeshCache.d.ts +3 -0
- package/lib/typescript/src/games/shared/EngineMeshes.d.ts +3 -0
- package/lib/typescript/src/games/shared/EngineRacingChase.d.ts +11 -0
- package/lib/typescript/src/games/shared/EngineRacingHandling.d.ts +15 -0
- package/lib/typescript/src/games/shared/EngineReadyContext.d.ts +2 -0
- package/lib/typescript/src/games/shared/EngineTilt.d.ts +19 -0
- package/lib/typescript/src/games/shared/EngineTouchSurface.d.ts +20 -0
- package/lib/typescript/src/games/shared/EngineUtils.d.ts +18 -0
- package/lib/typescript/src/games/shared/GameActivity.d.ts +3 -0
- package/lib/typescript/src/games/shared/GameLoading.d.ts +14 -0
- package/lib/typescript/src/games/shared/GameLoadingTransition.d.ts +9 -0
- package/lib/typescript/src/games/shared/ProceduralCacheVersion.d.ts +1 -0
- package/lib/typescript/src/games/shared/useEngineGame.d.ts +69 -0
- package/lib/typescript/src/games/shared/useGameResource.d.ts +2 -0
- package/lib/typescript/src/games/shared/useLiveState.d.ts +4 -0
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbers.d.ts +1 -3
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersConstants.d.ts +32 -40
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersGame.d.ts +48 -0
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersRules.d.ts +22 -0
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersScene.d.ts +30 -0
- package/lib/typescript/src/games/snake-3d/Snake3D.d.ts +1 -3
- package/lib/typescript/src/games/snake-3d/Snake3DConstants.d.ts +31 -68
- package/lib/typescript/src/games/snake-3d/Snake3DGame.d.ts +42 -0
- package/lib/typescript/src/games/snake-3d/Snake3DMotion.d.ts +3 -0
- package/lib/typescript/src/games/snake-3d/Snake3DRules.d.ts +42 -0
- package/lib/typescript/src/games/snake-3d/Snake3DScene.d.ts +35 -0
- package/lib/typescript/src/games/snakes-and-ladders/SnakesAndLadders.d.ts +1 -3
- package/lib/typescript/src/games/snakes-and-ladders/SnakesAndLaddersConstants.d.ts +58 -50
- package/lib/typescript/src/games/snakes-and-ladders/SnakesAndLaddersGame.d.ts +45 -0
- package/lib/typescript/src/games/snakes-and-ladders/SnakesAndLaddersScene.d.ts +50 -0
- package/lib/typescript/src/games/space-fighter/SpaceFighter.d.ts +1 -3
- package/lib/typescript/src/games/space-fighter/SpaceFighterConstants.d.ts +33 -23
- package/lib/typescript/src/games/space-fighter/SpaceFighterGame.d.ts +58 -0
- package/lib/typescript/src/games/space-fighter/SpaceFighterScene.d.ts +51 -0
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaire.d.ts +1 -3
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaireConstants.d.ts +52 -35
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaireGame.d.ts +67 -0
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaireRules.d.ts +39 -0
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaireScene.d.ts +60 -0
- package/lib/typescript/src/games/stack-tower/StackTower.d.ts +1 -3
- package/lib/typescript/src/games/stack-tower/StackTowerConstants.d.ts +31 -23
- package/lib/typescript/src/games/stack-tower/StackTowerGame.d.ts +58 -0
- package/lib/typescript/src/games/stack-tower/StackTowerScene.d.ts +27 -0
- package/lib/typescript/src/games/sudoku/Sudoku.d.ts +1 -3
- package/lib/typescript/src/games/sudoku/SudokuConstants.d.ts +50 -55
- package/lib/typescript/src/games/sudoku/SudokuGame.d.ts +56 -0
- package/lib/typescript/src/games/sudoku/SudokuRules.d.ts +23 -0
- package/lib/typescript/src/games/sudoku/SudokuScene.d.ts +44 -0
- package/lib/typescript/src/games/tangram/Tangram.d.ts +1 -3
- package/lib/typescript/src/games/tangram/TangramConstants.d.ts +33 -52
- package/lib/typescript/src/games/tangram/TangramGame.d.ts +68 -0
- package/lib/typescript/src/games/tangram/TangramRules.d.ts +61 -0
- package/lib/typescript/src/games/tangram/TangramScene.d.ts +42 -0
- package/lib/typescript/src/games/tank-1990/Tank1990.d.ts +1 -3
- package/lib/typescript/src/games/tank-1990/Tank1990Constants.d.ts +44 -127
- package/lib/typescript/src/games/tank-1990/Tank1990Game.d.ts +50 -0
- package/lib/typescript/src/games/tank-1990/Tank1990Rules.d.ts +67 -0
- package/lib/typescript/src/games/tank-1990/Tank1990Scene.d.ts +38 -0
- package/lib/typescript/src/games/tic-tac-toe/TicTacToe.d.ts +1 -3
- package/lib/typescript/src/games/tic-tac-toe/TicTacToeConstants.d.ts +35 -72
- package/lib/typescript/src/games/tic-tac-toe/TicTacToeGame.d.ts +54 -0
- package/lib/typescript/src/games/tic-tac-toe/TicTacToeRules.d.ts +10 -0
- package/lib/typescript/src/games/tic-tac-toe/TicTacToeScene.d.ts +26 -0
- package/lib/typescript/src/games/tile-home/TileHome.d.ts +1 -3
- package/lib/typescript/src/games/tile-home/TileHomeConstants.d.ts +72 -70
- package/lib/typescript/src/games/tile-home/TileHomeGame.d.ts +72 -0
- package/lib/typescript/src/games/tile-home/TileHomeScene.d.ts +28 -0
- package/lib/typescript/src/games/treasure-hunt/TreasureHunt.d.ts +3 -0
- package/lib/typescript/src/games/treasure-hunt/TreasureHuntConstants.d.ts +144 -0
- package/lib/typescript/src/games/treasure-hunt/TreasureHuntControls.d.ts +75 -0
- package/lib/typescript/src/games/treasure-hunt/TreasureHuntGame.d.ts +41 -0
- package/lib/typescript/src/games/treasure-hunt/TreasureHuntMeshes.d.ts +26 -0
- package/lib/typescript/src/games/treasure-hunt/TreasureHuntModel.d.ts +57 -0
- package/lib/typescript/src/games/treasure-hunt/TreasureHuntRules.d.ts +198 -0
- package/lib/typescript/src/games/treasure-hunt/TreasureHuntScene.d.ts +40 -0
- package/lib/typescript/src/games/whack-a-mole/WhackAMole.d.ts +1 -3
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleConstants.d.ts +35 -45
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleGame.d.ts +51 -0
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleScene.d.ts +31 -0
- package/lib/typescript/src/games/word-search/WordSearch.d.ts +1 -3
- package/lib/typescript/src/games/word-search/WordSearchWords.d.ts +1 -0
- package/lib/typescript/src/helpers/GamePatternData.d.ts +46 -0
- package/lib/typescript/src/helpers/GameSettingsModal.d.ts +1 -1
- package/lib/typescript/src/helpers/GameTheme.d.ts +18 -0
- package/lib/typescript/src/helpers/IconPaths.d.ts +4 -0
- package/lib/typescript/src/helpers/index.d.ts +1 -19
- package/lib/typescript/src/index.d.ts +3 -0
- package/lib/typescript/src/services/GameAssetLoader.d.ts +32 -0
- package/lib/typescript/src/services/GameAssets.d.ts +11 -0
- package/lib/typescript/src/services/GameLoaders.d.ts +18 -0
- package/lib/typescript/src/services/GamesConstants.d.ts +11 -0
- package/lib/typescript/src/services/GamesMetadata.d.ts +2 -0
- package/lib/typescript/src/services/HapticsService.d.ts +1 -1
- package/lib/typescript/src/services/SfxSources.d.ts +79 -0
- package/lib/typescript/src/services/SoundsService.d.ts +487 -1566
- package/lib/typescript/src/services/ThemeService.d.ts +117 -0
- package/lib/typescript/src/services/UtilsService.d.ts +20 -2
- package/lib/typescript/src/services/index.d.ts +3 -0
- package/lib/web/assets/005ea2045b17-explorer.glb +0 -0
- package/lib/web/assets/01e2f0a0bbf6-hurt.wav +0 -0
- package/lib/web/assets/01fc0ecf658c-explorer-atlas.png +0 -0
- package/lib/web/assets/029329b2c7c0-asphalt.png +0 -0
- package/lib/web/assets/0376bda32be3-robot.wav +0 -0
- package/lib/web/assets/0719fb0bb38e-soft_glow.png +0 -0
- package/lib/web/assets/0b21278bffba-boing.wav +0 -0
- package/lib/web/assets/1333c9d1273c-flip_disc.wav +0 -0
- package/lib/web/assets/15785f62ee5f-time_up.wav +0 -0
- package/lib/web/assets/177f00502e08-bonus.wav +0 -0
- package/lib/web/assets/19e47dcfda1f-pling.wav +0 -0
- package/lib/web/assets/1a677e0f7f6c-laugh.wav +0 -0
- package/lib/web/assets/1ad2914478b1-eat.wav +0 -0
- package/lib/web/assets/1b0d703ddd1a-dance.wav +0 -0
- package/lib/web/assets/1e4330fddd74-chime.wav +0 -0
- package/lib/web/assets/2432a97b0af1-cannon.wav +0 -0
- package/lib/web/assets/2574370d6aa0-blocked.wav +0 -0
- package/lib/web/assets/2699065037ad-select.wav +0 -0
- package/lib/web/assets/28d30f53ad73-ladder.wav +0 -0
- package/lib/web/assets/2c1ec05270b2-point.wav +0 -0
- package/lib/web/assets/2e1dd99a0213-tick.wav +0 -0
- package/lib/web/assets/3084575cecdb-card_flip.wav +0 -0
- package/lib/web/assets/308bc31b6af5-engine.wav +0 -0
- package/lib/web/assets/336d63b739b5-combo.wav +0 -0
- package/lib/web/assets/3a369e2596e4-clash.wav +0 -0
- package/lib/web/assets/3a816e20212f-capture.wav +0 -0
- package/lib/web/assets/40240217810a-nitro.wav +0 -0
- package/lib/web/assets/46edaa54d1ea-crunch.wav +0 -0
- package/lib/web/assets/501994226995-coin.wav +0 -0
- package/lib/web/assets/5525d7f6a4b8-rotate.wav +0 -0
- package/lib/web/assets/5e816e1f0929-dice_roll.wav +0 -0
- package/lib/web/assets/60e2dec3cf41-deselect.wav +0 -0
- package/lib/web/assets/6ab86ea29e5c-six.wav +0 -0
- package/lib/web/assets/6da3b101926d-merge.wav +0 -0
- package/lib/web/assets/6e686dea513c-bark.jpg +0 -0
- package/lib/web/assets/6ff9a6a13714-limestone.jpg +0 -0
- package/lib/web/assets/735c4a1cd22e-invalid.wav +0 -0
- package/lib/web/assets/73f75c35ff5d-snake.wav +0 -0
- package/lib/web/assets/7506e3efe264-catch.wav +0 -0
- package/lib/web/assets/76493a2ada2d-ad_bolt.png +0 -0
- package/lib/web/assets/793abe620201-card_place.wav +0 -0
- package/lib/web/assets/7da09c57f52d-facade.png +0 -0
- package/lib/web/assets/7e1a902176f6-pine.png +0 -0
- package/lib/web/assets/7eb943b85c21-play-with-tua.glb +0 -0
- package/lib/web/assets/837d43c06dba-ad_bubbles.png +0 -0
- package/lib/web/assets/84f1a7dfa368-game_over.wav +0 -0
- package/lib/web/assets/850e26ce3b0a-flap.wav +0 -0
- package/lib/web/assets/854b31683cb2-draw.wav +0 -0
- package/lib/web/assets/8616150393b7-error.wav +0 -0
- package/lib/web/assets/87cc6d503ec6-river.jpg +0 -0
- package/lib/web/assets/88755845922c-hop.wav +0 -0
- package/lib/web/assets/8ec8f469492d-chomp_alt.wav +0 -0
- package/lib/web/assets/8f17f89b138c-pew.wav +0 -0
- package/lib/web/assets/9210a24472d1-place.wav +0 -0
- package/lib/web/assets/930d833ebf89-splash.wav +0 -0
- package/lib/web/assets/970f7c59265d-swoosh.wav +0 -0
- package/lib/web/assets/9900b8d1b6ad-flag.wav +0 -0
- package/lib/web/assets/9ab04403898b-clang.wav +0 -0
- package/lib/web/assets/9d8b97a10d45-drop.wav +0 -0
- package/lib/web/assets/9d9c02ddc7ed-boom.wav +0 -0
- package/lib/web/assets/9e1b5114d56d-pop_soft.wav +0 -0
- package/lib/web/assets/a01f22d6dbb3-thud.wav +0 -0
- package/lib/web/assets/a44a1cf1a1a8-bump.wav +0 -0
- package/lib/web/assets/a76940a48c68-hit.wav +0 -0
- package/lib/web/assets/a98ddb724460-leaves.png +0 -0
- package/lib/web/assets/aa0960e8bee6-footstep_run.wav +0 -0
- package/lib/web/assets/aa570c9d3e15-star.wav +0 -0
- package/lib/web/assets/aacb999f3c49-tock.wav +0 -0
- package/lib/web/assets/aae0c16c5e89-reveal.wav +0 -0
- package/lib/web/assets/ab37cd128509-click.wav +0 -0
- package/lib/web/assets/b0bc66f49005-warning.wav +0 -0
- package/lib/web/assets/b1edd756ac43-zap.wav +0 -0
- package/lib/web/assets/b3894545cf71-slice.wav +0 -0
- package/lib/web/assets/b3c6225d055a-meadow.jpg +0 -0
- package/lib/web/assets/b60ca65cdfcb-gate.wav +0 -0
- package/lib/web/assets/b8900bb2c5c7-win.wav +0 -0
- package/lib/web/assets/baff6feda846-lose.wav +0 -0
- package/lib/web/assets/bed31305d60d-ad_chevrons.png +0 -0
- package/lib/web/assets/c26f4a624e7d-shuffle.wav +0 -0
- package/lib/web/assets/c3a9edfad195-die.wav +0 -0
- package/lib/web/assets/c4aa9d773f2a-footstep_walk.wav +0 -0
- package/lib/web/assets/c5ab3ff0003f-crash.wav +0 -0
- package/lib/web/assets/c5eb07deddd4-start.wav +0 -0
- package/lib/web/assets/c6c58d9ae452-pop.wav +0 -0
- package/lib/web/assets/cea48c3cd9c7-balloon_pop.wav +0 -0
- package/lib/web/assets/d15591767778-tap.wav +0 -0
- package/lib/web/assets/d1781a52234f-slide.wav +0 -0
- package/lib/web/assets/d3bf2d9f793b-snap.wav +0 -0
- package/lib/web/assets/d8f59ebd3537-jump.wav +0 -0
- package/lib/web/assets/dafea2f28854-power_up.wav +0 -0
- package/lib/web/assets/e2e7f5ae2d1b-whoosh.wav +0 -0
- package/lib/web/assets/e2f90a23e1bd-chomp.wav +0 -0
- package/lib/web/assets/e454e56df89a-clack.wav +0 -0
- package/lib/web/assets/e8cbc2b88bc4-Inter-SemiBold.ttf +0 -0
- package/lib/web/assets/ed6496b891fc-land.wav +0 -0
- package/lib/web/assets/f21920200a81-thunk.wav +0 -0
- package/lib/web/assets/f753b43be89d-whack.wav +0 -0
- package/lib/web/assets/f798c4b5cf4d-miss.wav +0 -0
- package/lib/web/assets/fbe299716916-grass.png +0 -0
- package/lib/web/chunk-52ez2s9z.js +15 -0
- package/lib/web/chunk-8675t224.js +1 -0
- package/lib/web/index.js +2 -0
- package/lib/web/package.json +1 -0
- package/lib/web/services.js +2 -0
- package/package.json +94 -73
- package/src/assets/fonts/Inter-SemiBold.ttf +0 -0
- package/src/assets/models/explorer/explorer.glb +0 -0
- package/src/assets/models/explorer/params.json +51 -0
- package/src/assets/models/explorer/source.json +222 -0
- package/src/assets/models/play-with-tua/play-with-tua.glb +0 -0
- package/src/assets/models/play-with-tua/sources.json +141 -0
- package/src/assets/sfx/balloon_pop.wav +0 -0
- package/src/assets/sfx/blocked.wav +0 -0
- package/src/assets/sfx/boing.wav +0 -0
- package/src/assets/sfx/bonus.wav +0 -0
- package/src/assets/sfx/boom.wav +0 -0
- package/src/assets/sfx/bump.wav +0 -0
- package/src/assets/sfx/cannon.wav +0 -0
- package/src/assets/sfx/capture.wav +0 -0
- package/src/assets/sfx/card_flip.wav +0 -0
- package/src/assets/sfx/card_place.wav +0 -0
- package/src/assets/sfx/catch.wav +0 -0
- package/src/assets/sfx/chime.wav +0 -0
- package/src/assets/sfx/chomp.wav +0 -0
- package/src/assets/sfx/chomp_alt.wav +0 -0
- package/src/assets/sfx/clack.wav +0 -0
- package/src/assets/sfx/clang.wav +0 -0
- package/src/assets/sfx/clash.wav +0 -0
- package/src/assets/sfx/click.wav +0 -0
- package/src/assets/sfx/coin.wav +0 -0
- package/src/assets/sfx/combo.wav +0 -0
- package/src/assets/sfx/crash.wav +0 -0
- package/src/assets/sfx/crunch.wav +0 -0
- package/src/assets/sfx/dance.wav +0 -0
- package/src/assets/sfx/deselect.wav +0 -0
- package/src/assets/sfx/dice_roll.wav +0 -0
- package/src/assets/sfx/die.wav +0 -0
- package/src/assets/sfx/draw.wav +0 -0
- package/src/assets/sfx/drop.wav +0 -0
- package/src/assets/sfx/eat.wav +0 -0
- package/src/assets/sfx/engine.wav +0 -0
- package/src/assets/sfx/error.wav +0 -0
- package/src/assets/sfx/flag.wav +0 -0
- package/src/assets/sfx/flap.wav +0 -0
- package/src/assets/sfx/flip_disc.wav +0 -0
- package/src/assets/sfx/footstep_run.wav +0 -0
- package/src/assets/sfx/footstep_walk.wav +0 -0
- package/src/assets/sfx/game_over.wav +0 -0
- package/src/assets/sfx/gate.wav +0 -0
- package/src/assets/sfx/hit.wav +0 -0
- package/src/assets/sfx/hop.wav +0 -0
- package/src/assets/sfx/hurt.wav +0 -0
- package/src/assets/sfx/invalid.wav +0 -0
- package/src/assets/sfx/jump.wav +0 -0
- package/src/assets/sfx/ladder.wav +0 -0
- package/src/assets/sfx/land.wav +0 -0
- package/src/assets/sfx/laugh.wav +0 -0
- package/src/assets/sfx/lose.wav +0 -0
- package/src/assets/sfx/merge.wav +0 -0
- package/src/assets/sfx/miss.wav +0 -0
- package/src/assets/sfx/nitro.wav +0 -0
- package/src/assets/sfx/pew.wav +0 -0
- package/src/assets/sfx/place.wav +0 -0
- package/src/assets/sfx/pling.wav +0 -0
- package/src/assets/sfx/point.wav +0 -0
- package/src/assets/sfx/pop.wav +0 -0
- package/src/assets/sfx/pop_soft.wav +0 -0
- package/src/assets/sfx/power_up.wav +0 -0
- package/src/assets/sfx/reveal.wav +0 -0
- package/src/assets/sfx/robot.wav +0 -0
- package/src/assets/sfx/rotate.wav +0 -0
- package/src/assets/sfx/run_steps.wav +0 -0
- package/src/assets/sfx/select.wav +0 -0
- package/src/assets/sfx/shuffle.wav +0 -0
- package/src/assets/sfx/six.wav +0 -0
- package/src/assets/sfx/slice.wav +0 -0
- package/src/assets/sfx/slide.wav +0 -0
- package/src/assets/sfx/snake.wav +0 -0
- package/src/assets/sfx/snap.wav +0 -0
- package/src/assets/sfx/splash.wav +0 -0
- package/src/assets/sfx/star.wav +0 -0
- package/src/assets/sfx/start.wav +0 -0
- package/src/assets/sfx/swoosh.wav +0 -0
- package/src/assets/sfx/tap.wav +0 -0
- package/src/assets/sfx/thud.wav +0 -0
- package/src/assets/sfx/thunk.wav +0 -0
- package/src/assets/sfx/tick.wav +0 -0
- package/src/assets/sfx/time_up.wav +0 -0
- package/src/assets/sfx/tock.wav +0 -0
- package/src/assets/sfx/walk_steps.wav +0 -0
- package/src/assets/sfx/warning.wav +0 -0
- package/src/assets/sfx/whack.wav +0 -0
- package/src/assets/sfx/whoosh.wav +0 -0
- package/src/assets/sfx/win.wav +0 -0
- package/src/assets/sfx/zap.wav +0 -0
- package/src/assets/textures/ad_bolt.png +0 -0
- package/src/assets/textures/ad_bubbles.png +0 -0
- package/src/assets/textures/ad_chevrons.png +0 -0
- package/src/assets/textures/asphalt.png +0 -0
- package/src/assets/textures/bark.jpg +0 -0
- package/src/assets/textures/explorer-atlas.png +0 -0
- package/src/assets/textures/facade.png +0 -0
- package/src/assets/textures/grass.png +0 -0
- package/src/assets/textures/leaves.png +0 -0
- package/src/assets/textures/limestone.jpg +0 -0
- package/src/assets/textures/meadow.jpg +0 -0
- package/src/assets/textures/nature-sources.json +87 -0
- package/src/assets/textures/pine.png +0 -0
- package/src/assets/textures/river.jpg +0 -0
- package/src/assets/textures/soft_glow.png +0 -0
- package/src/games/arrows/Arrows.tsx +69 -0
- package/src/games/arrows/ArrowsConstants.ts +107 -0
- package/src/games/arrows/ArrowsGame.ts +735 -0
- package/src/games/arrows/ArrowsScene.ts +395 -0
- package/src/games/balloon-blaster/BalloonBlaster.tsx +75 -0
- package/src/games/balloon-blaster/BalloonBlasterConstants.ts +79 -0
- package/src/games/balloon-blaster/BalloonBlasterGame.ts +287 -0
- package/src/games/balloon-blaster/BalloonBlasterPhysics.ts +95 -0
- package/src/games/balloon-blaster/BalloonBlasterScene.ts +225 -0
- package/src/games/bike-racing/BikeMeshes.ts +273 -0
- package/src/games/bike-racing/BikeRacing.tsx +211 -0
- package/src/games/bike-racing/BikeRacingConstants.ts +103 -0
- package/src/games/bike-racing/BikeRacingGame.ts +557 -0
- package/src/games/bike-racing/BikeRacingScene.ts +119 -0
- package/src/games/block-blast/BlockBlast.tsx +73 -0
- package/src/games/block-blast/BlockBlastConstants.ts +179 -0
- package/src/games/block-blast/BlockBlastGame.ts +471 -0
- package/src/games/block-blast/BlockBlastScene.ts +156 -0
- package/src/games/block-breaker/BlockBreaker.tsx +79 -0
- package/src/games/block-breaker/BlockBreakerConstants.ts +139 -0
- package/src/games/block-breaker/BlockBreakerGame.ts +459 -0
- package/src/games/block-breaker/BlockBreakerScene.ts +257 -0
- package/src/games/bluk/Bluk.tsx +82 -0
- package/src/games/bluk/BlukConstants.ts +121 -0
- package/src/games/bluk/BlukGame.ts +323 -0
- package/src/games/bluk/BlukRules.ts +154 -0
- package/src/games/bluk/BlukScene.ts +514 -0
- package/src/games/bubble-shooter/BubbleShooter.tsx +76 -0
- package/src/games/bubble-shooter/BubbleShooterConstants.ts +103 -0
- package/src/games/bubble-shooter/BubbleShooterGame.ts +459 -0
- package/src/games/bubble-shooter/BubbleShooterScene.ts +158 -0
- package/src/games/candy-crush/CandyCrush.tsx +77 -0
- package/src/games/candy-crush/CandyCrushConstants.ts +94 -0
- package/src/games/candy-crush/CandyCrushGame.ts +477 -0
- package/src/games/candy-crush/CandyCrushScene.ts +209 -0
- package/src/games/car-racing/CarMeshes.ts +440 -0
- package/src/games/car-racing/CarRacing.tsx +211 -0
- package/src/games/car-racing/CarRacingConstants.ts +167 -0
- package/src/games/car-racing/CarRacingFacade.ts +40 -0
- package/src/games/car-racing/CarRacingGame.ts +539 -0
- package/src/games/car-racing/CarRacingScene.ts +1026 -0
- package/src/games/car-racing/CarRacingScenery.ts +265 -0
- package/src/games/chameleon-run/ChameleonRun.tsx +96 -0
- package/src/games/chameleon-run/ChameleonRunBackdrop.ts +186 -0
- package/src/games/chameleon-run/ChameleonRunConstants.ts +47 -0
- package/src/games/chameleon-run/ChameleonRunGame.ts +309 -0
- package/src/games/chameleon-run/ChameleonRunMeshes.ts +305 -0
- package/src/games/chameleon-run/ChameleonRunRules.ts +252 -0
- package/src/games/chameleon-run/ChameleonRunScene.ts +310 -0
- package/src/games/checkers/Checkers.tsx +83 -0
- package/src/games/checkers/CheckersAI.ts +255 -0
- package/src/games/checkers/CheckersConstants.ts +68 -0
- package/src/games/checkers/CheckersGame.ts +322 -0
- package/src/games/checkers/CheckersRules.ts +167 -0
- package/src/games/checkers/CheckersScene.ts +308 -0
- package/src/games/color-switch/ColorSwitch.tsx +75 -0
- package/src/games/color-switch/ColorSwitchConstants.ts +61 -0
- package/src/games/color-switch/ColorSwitchGame.ts +329 -0
- package/src/games/color-switch/ColorSwitchScene.ts +220 -0
- package/src/games/colors-sort/ColorsSort.tsx +82 -0
- package/src/games/colors-sort/ColorsSortConstants.ts +119 -0
- package/src/games/colors-sort/ColorsSortGame.ts +246 -0
- package/src/games/colors-sort/ColorsSortScene.ts +315 -0
- package/src/games/connect-em-all/ConnectEmAll.tsx +70 -0
- package/src/games/connect-em-all/ConnectEmAllConstants.ts +77 -0
- package/src/games/connect-em-all/ConnectEmAllGame.ts +401 -0
- package/src/games/connect-em-all/ConnectEmAllScene.ts +235 -0
- package/src/games/crossy-road/CrossyRoad.tsx +74 -0
- package/src/games/crossy-road/CrossyRoadCamera.ts +59 -0
- package/src/games/crossy-road/CrossyRoadConstants.ts +132 -0
- package/src/games/crossy-road/CrossyRoadGame.ts +293 -0
- package/src/games/crossy-road/CrossyRoadMeshes.ts +195 -0
- package/src/games/crossy-road/CrossyRoadPerson.ts +198 -0
- package/src/games/crossy-road/CrossyRoadRules.ts +99 -0
- package/src/games/crossy-road/CrossyRoadScene.ts +355 -0
- package/src/games/dino-jump/DinoJump.tsx +77 -0
- package/src/games/dino-jump/DinoJumpConstants.ts +80 -0
- package/src/games/dino-jump/DinoJumpGame.ts +344 -0
- package/src/games/dino-jump/DinoJumpScene.ts +686 -0
- package/src/games/dots-and-boxes/DotsAndBoxes.tsx +83 -0
- package/src/games/dots-and-boxes/DotsAndBoxesConstants.ts +77 -0
- package/src/games/dots-and-boxes/DotsAndBoxesGame.ts +271 -0
- package/src/games/dots-and-boxes/DotsAndBoxesScene.ts +249 -0
- package/src/games/falling-sticks/FallingSticks.tsx +72 -0
- package/src/games/falling-sticks/FallingSticksConstants.ts +62 -0
- package/src/games/falling-sticks/FallingSticksGame.ts +220 -0
- package/src/games/falling-sticks/FallingSticksRules.ts +145 -0
- package/src/games/falling-sticks/FallingSticksScene.ts +245 -0
- package/src/games/find-different-number/FindDifferentNumber.tsx +74 -0
- package/src/games/find-different-number/FindDifferentNumberConstants.ts +74 -0
- package/src/games/find-different-number/FindDifferentNumberGame.ts +174 -0
- package/src/games/find-different-number/FindDifferentNumberRules.ts +43 -0
- package/src/games/find-different-number/FindDifferentNumberScene.ts +193 -0
- package/src/games/flappy-bird/FlappyBird.tsx +73 -0
- package/src/games/flappy-bird/FlappyBirdConstants.ts +95 -0
- package/src/games/flappy-bird/FlappyBirdGame.ts +375 -0
- package/src/games/flappy-bird/FlappyBirdScene.ts +630 -0
- package/src/games/fruit-merger/FruitMerger.tsx +73 -0
- package/src/games/fruit-merger/FruitMergerConstants.ts +102 -0
- package/src/games/fruit-merger/FruitMergerGame.ts +285 -0
- package/src/games/fruit-merger/FruitMergerRules.ts +286 -0
- package/src/games/fruit-merger/FruitMergerScene.ts +498 -0
- package/src/games/fruit-ninja/FruitNinja.tsx +129 -0
- package/src/games/fruit-ninja/FruitNinjaConstants.ts +107 -0
- package/src/games/fruit-ninja/FruitNinjaGame.ts +391 -0
- package/src/games/fruit-ninja/FruitNinjaScene.ts +319 -0
- package/src/games/fruit-ninja/FruitNinjaWorld.ts +17 -0
- package/src/games/game-2048/Game2048.tsx +84 -0
- package/src/games/game-2048/Game2048Constants.ts +68 -0
- package/src/games/game-2048/Game2048Game.ts +181 -0
- package/src/games/game-2048/Game2048Rules.ts +101 -0
- package/src/games/game-2048/Game2048Scene.ts +206 -0
- package/src/games/knife-hit/KnifeHit.tsx +78 -0
- package/src/games/knife-hit/KnifeHitConstants.ts +89 -0
- package/src/games/knife-hit/KnifeHitGame.ts +264 -0
- package/src/games/knife-hit/KnifeHitScene.ts +360 -0
- package/src/games/ludo-king/LudoKing.tsx +86 -0
- package/src/games/ludo-king/LudoKingConstants.ts +212 -0
- package/src/games/ludo-king/LudoKingGame.ts +326 -0
- package/src/games/ludo-king/LudoKingRules.ts +143 -0
- package/src/games/ludo-king/LudoKingScene.ts +397 -0
- package/src/games/maze-runner/MazeRunner.tsx +88 -0
- package/src/games/maze-runner/MazeRunnerConstants.ts +65 -0
- package/src/games/maze-runner/MazeRunnerGame.ts +176 -0
- package/src/games/maze-runner/MazeRunnerRules.ts +161 -0
- package/src/games/maze-runner/MazeRunnerScene.ts +245 -0
- package/src/games/memory-match/MemoryMatch.tsx +77 -0
- package/src/games/memory-match/MemoryMatchConstants.ts +105 -0
- package/src/games/memory-match/MemoryMatchGame.ts +222 -0
- package/src/games/memory-match/MemoryMatchRules.ts +38 -0
- package/src/games/memory-match/MemoryMatchScene.ts +268 -0
- package/src/games/mine-sweeper/MineSweeper.tsx +77 -0
- package/src/games/mine-sweeper/MineSweeperConstants.ts +94 -0
- package/src/games/mine-sweeper/MineSweeperGame.ts +234 -0
- package/src/games/mine-sweeper/MineSweeperRules.ts +67 -0
- package/src/games/mine-sweeper/MineSweeperScene.ts +262 -0
- package/src/games/mob-control/MobControl.tsx +73 -0
- package/src/games/mob-control/MobControlConstants.ts +106 -0
- package/src/games/mob-control/MobControlGame.ts +176 -0
- package/src/games/mob-control/MobControlMeshes.ts +85 -0
- package/src/games/mob-control/MobControlRenderer.ts +108 -0
- package/src/games/mob-control/MobControlRules.ts +522 -0
- package/src/games/mob-control/MobControlScene.ts +399 -0
- package/src/games/number-search/NumberSearch.tsx +18 -0
- package/src/games/number-search/NumberSearchNumbers.ts +623 -0
- package/src/games/nuts-and-bolts/NutsAndBolts.tsx +85 -0
- package/src/games/nuts-and-bolts/NutsAndBoltsConstants.ts +75 -0
- package/src/games/nuts-and-bolts/NutsAndBoltsGame.ts +298 -0
- package/src/games/nuts-and-bolts/NutsAndBoltsRules.ts +474 -0
- package/src/games/nuts-and-bolts/NutsAndBoltsScene.ts +498 -0
- package/src/games/pac-man/PacMan.tsx +86 -0
- package/src/games/pac-man/PacManConstants.ts +169 -0
- package/src/games/pac-man/PacManGame.ts +406 -0
- package/src/games/pac-man/PacManRules.ts +255 -0
- package/src/games/pac-man/PacManScene.ts +387 -0
- package/src/games/paper-io/PaperIo.tsx +91 -0
- package/src/games/paper-io/PaperIoConstants.ts +86 -0
- package/src/games/paper-io/PaperIoGame.ts +193 -0
- package/src/games/paper-io/PaperIoMeshes.ts +233 -0
- package/src/games/paper-io/PaperIoRules.ts +315 -0
- package/src/games/paper-io/PaperIoScene.ts +310 -0
- package/src/games/penguin-run/PenguinMeshes.ts +269 -0
- package/src/games/penguin-run/PenguinModel.ts +712 -0
- package/src/games/penguin-run/PenguinRun.tsx +77 -0
- package/src/games/penguin-run/PenguinRunConstants.ts +69 -0
- package/src/games/penguin-run/PenguinRunGame.ts +406 -0
- package/src/games/penguin-run/PenguinRunScene.ts +949 -0
- package/src/games/perfect-circle/PerfectCircle.tsx +74 -0
- package/src/games/perfect-circle/PerfectCircleConstants.ts +52 -0
- package/src/games/perfect-circle/PerfectCircleGame.ts +153 -0
- package/src/games/perfect-circle/PerfectCircleRules.ts +111 -0
- package/src/games/perfect-circle/PerfectCircleScene.ts +176 -0
- package/src/games/pipe-connect/PipeConnect.tsx +69 -0
- package/src/games/pipe-connect/PipeConnectConstants.ts +101 -0
- package/src/games/pipe-connect/PipeConnectGame.ts +179 -0
- package/src/games/pipe-connect/PipeConnectRules.ts +326 -0
- package/src/games/pipe-connect/PipeConnectScene.ts +271 -0
- package/src/games/play-with-tua/PlayWithTua.tsx +123 -0
- package/src/games/play-with-tua/PlayWithTuaConstants.ts +70 -0
- package/src/games/play-with-tua/PlayWithTuaGame.ts +167 -0
- package/src/games/play-with-tua/PlayWithTuaModel.ts +42 -0
- package/src/games/play-with-tua/PlayWithTuaScene.ts +36 -0
- package/src/games/popit-fidget/PopitFidget.tsx +72 -0
- package/src/games/popit-fidget/PopitFidgetConstants.ts +71 -0
- package/src/games/popit-fidget/PopitFidgetGame.ts +148 -0
- package/src/games/popit-fidget/PopitFidgetScene.ts +242 -0
- package/src/games/reversi/Reversi.tsx +94 -0
- package/src/games/reversi/ReversiConstants.ts +67 -0
- package/src/games/reversi/ReversiGame.ts +266 -0
- package/src/games/reversi/ReversiRules.ts +176 -0
- package/src/games/reversi/ReversiScene.ts +240 -0
- package/src/games/search-grid/SearchGrid.tsx +92 -0
- package/src/games/search-grid/SearchGridConstants.ts +178 -0
- package/src/games/search-grid/SearchGridGame.ts +209 -0
- package/src/games/search-grid/SearchGridScene.ts +301 -0
- package/src/games/shared/BackdropCard.tsx +54 -0
- package/src/games/shared/EngineBackdrop.ts +300 -0
- package/src/games/shared/EngineBlasts.ts +136 -0
- package/src/games/shared/EngineBlocks.ts +91 -0
- package/src/games/shared/EngineControlText.ts +17 -0
- package/src/games/shared/EngineDice.ts +250 -0
- package/src/games/shared/EngineFootprint.ts +35 -0
- package/src/games/shared/EngineFruits.ts +1435 -0
- package/src/games/shared/EngineGameLoader.tsx +88 -0
- package/src/games/shared/EngineGameScreen.tsx +325 -0
- package/src/games/shared/EngineGameWidth.ts +3 -0
- package/src/games/shared/EngineGameWidth.web.ts +3 -0
- package/src/games/shared/EngineGlyphs.ts +178 -0
- package/src/games/shared/EngineHud.ts +815 -0
- package/src/games/shared/EngineLoading.ts +477 -0
- package/src/games/shared/EngineMeadow.ts +725 -0
- package/src/games/shared/EngineMeshCache.ts +15 -0
- package/src/games/shared/EngineMeshes.ts +10 -0
- package/src/games/shared/EngineRacingChase.ts +21 -0
- package/src/games/shared/EngineRacingHandling.ts +48 -0
- package/src/games/shared/EngineReadyContext.ts +4 -0
- package/src/games/shared/EngineTilt.ts +44 -0
- package/src/games/shared/EngineTouchSurface.tsx +103 -0
- package/src/games/shared/EngineUtils.ts +52 -0
- package/src/games/shared/GameActivity.ts +13 -0
- package/src/games/shared/GameLoading.tsx +202 -0
- package/src/games/shared/GameLoadingTransition.tsx +61 -0
- package/src/games/shared/ProceduralCacheVersion.ts +2 -0
- package/src/games/shared/useEngineGame.ts +240 -0
- package/src/games/shared/useGameResource.ts +21 -0
- package/src/games/shared/useLiveState.ts +58 -0
- package/src/games/sliding-numbers/SlidingNumbers.tsx +71 -0
- package/src/games/sliding-numbers/SlidingNumbersConstants.ts +65 -0
- package/src/games/sliding-numbers/SlidingNumbersGame.ts +192 -0
- package/src/games/sliding-numbers/SlidingNumbersRules.ts +79 -0
- package/src/games/sliding-numbers/SlidingNumbersScene.ts +193 -0
- package/src/games/snake-3d/Snake3D.tsx +76 -0
- package/src/games/snake-3d/Snake3DConstants.ts +61 -0
- package/src/games/snake-3d/Snake3DGame.ts +192 -0
- package/src/games/snake-3d/Snake3DMotion.ts +22 -0
- package/src/games/snake-3d/Snake3DRules.ts +116 -0
- package/src/games/snake-3d/Snake3DScene.ts +322 -0
- package/src/games/snakes-and-ladders/SnakesAndLadders.tsx +87 -0
- package/src/games/snakes-and-ladders/SnakesAndLaddersConstants.ts +136 -0
- package/src/games/snakes-and-ladders/SnakesAndLaddersGame.ts +310 -0
- package/src/games/snakes-and-ladders/SnakesAndLaddersScene.ts +515 -0
- package/src/games/space-fighter/SpaceFighter.tsx +74 -0
- package/src/games/space-fighter/SpaceFighterConstants.ts +86 -0
- package/src/games/space-fighter/SpaceFighterGame.ts +292 -0
- package/src/games/space-fighter/SpaceFighterScene.ts +550 -0
- package/src/games/spider-solitaire/SpiderSolitaire.tsx +80 -0
- package/src/games/spider-solitaire/SpiderSolitaireConstants.ts +107 -0
- package/src/games/spider-solitaire/SpiderSolitaireGame.ts +387 -0
- package/src/games/spider-solitaire/SpiderSolitaireRules.ts +123 -0
- package/src/games/spider-solitaire/SpiderSolitaireScene.ts +352 -0
- package/src/games/stack-tower/StackTower.tsx +76 -0
- package/src/games/stack-tower/StackTowerConstants.ts +74 -0
- package/src/games/stack-tower/StackTowerGame.ts +236 -0
- package/src/games/stack-tower/StackTowerScene.ts +186 -0
- package/src/games/sudoku/Sudoku.tsx +73 -0
- package/src/games/sudoku/SudokuConstants.ts +127 -0
- package/src/games/sudoku/SudokuGame.ts +250 -0
- package/src/games/sudoku/SudokuRules.ts +125 -0
- package/src/games/sudoku/SudokuScene.ts +304 -0
- package/src/games/tangram/Tangram.tsx +79 -0
- package/src/games/tangram/TangramConstants.ts +64 -0
- package/src/games/tangram/TangramGame.ts +356 -0
- package/src/games/tangram/TangramRules.ts +409 -0
- package/src/games/tangram/TangramScene.ts +203 -0
- package/src/games/tank-1990/Tank1990.tsx +78 -0
- package/src/games/tank-1990/Tank1990Constants.ts +81 -0
- package/src/games/tank-1990/Tank1990Game.ts +331 -0
- package/src/games/tank-1990/Tank1990Rules.ts +390 -0
- package/src/games/tank-1990/Tank1990Scene.ts +434 -0
- package/src/games/tic-tac-toe/TicTacToe.tsx +98 -0
- package/src/games/tic-tac-toe/TicTacToeConstants.ts +69 -0
- package/src/games/tic-tac-toe/TicTacToeGame.ts +200 -0
- package/src/games/tic-tac-toe/TicTacToeRules.ts +103 -0
- package/src/games/tic-tac-toe/TicTacToeScene.ts +245 -0
- package/src/games/tile-home/TileHome.tsx +92 -0
- package/src/games/tile-home/TileHomeConstants.ts +139 -0
- package/src/games/tile-home/TileHomeGame.ts +435 -0
- package/src/games/tile-home/TileHomeScene.ts +154 -0
- package/src/games/treasure-hunt/TreasureHunt.tsx +206 -0
- package/src/games/treasure-hunt/TreasureHuntConstants.ts +266 -0
- package/src/games/treasure-hunt/TreasureHuntControls.ts +280 -0
- package/src/games/treasure-hunt/TreasureHuntGame.ts +402 -0
- package/src/games/treasure-hunt/TreasureHuntMeshes.ts +422 -0
- package/src/games/treasure-hunt/TreasureHuntModel.ts +506 -0
- package/src/games/treasure-hunt/TreasureHuntRules.ts +1210 -0
- package/src/games/treasure-hunt/TreasureHuntScene.ts +586 -0
- package/src/games/whack-a-mole/WhackAMole.tsx +79 -0
- package/src/games/whack-a-mole/WhackAMoleConstants.ts +94 -0
- package/src/games/whack-a-mole/WhackAMoleGame.ts +233 -0
- package/src/games/whack-a-mole/WhackAMoleScene.ts +349 -0
- package/src/games/word-search/WordSearch.tsx +18 -0
- package/src/games/word-search/WordSearchWords.ts +1642 -0
- package/src/helpers/GamePatternData.ts +120 -0
- package/src/helpers/GameSettingsModal.tsx +384 -0
- package/src/helpers/GameTheme.tsx +37 -0
- package/src/helpers/IconPaths.ts +6 -0
- package/src/helpers/index.ts +2 -0
- package/src/index.tsx +60 -0
- package/src/services/GameAssetLoader.ts +111 -0
- package/src/services/GameAssets.ts +149 -0
- package/src/services/GameLoaders.ts +93 -0
- package/src/services/GamesConstants.ts +193 -0
- package/src/services/GamesMetadata.ts +711 -0
- package/src/services/GamesService.ts +116 -0
- package/src/services/HapticsService.ts +48 -0
- package/src/services/ScoringService.ts +19 -0
- package/src/services/SfxSources.ts +81 -0
- package/src/services/SoundsService.ts +582 -0
- package/src/services/ThemeService.ts +281 -0
- package/src/services/UtilsService.ts +134 -0
- package/src/services/index.ts +6 -0
- package/lib/module/games/arrows/ArrowsService.js +0 -1
- package/lib/module/games/arrows/ArrowsStore.js +0 -1
- package/lib/module/games/arrows/components/ArrowsGrid.js +0 -1
- package/lib/module/games/arrows/components/ScoreBoard.js +0 -1
- package/lib/module/games/balloon-blaster/BalloonBlasterService.js +0 -1
- package/lib/module/games/balloon-blaster/BalloonBlasterStore.js +0 -1
- package/lib/module/games/balloon-blaster/components/BalloonComponent.js +0 -1
- package/lib/module/games/balloon-blaster/components/GameArea.js +0 -1
- package/lib/module/games/balloon-blaster/components/GameBackground.js +0 -1
- package/lib/module/games/balloon-blaster/components/ScoreBoard.js +0 -1
- package/lib/module/games/bike-racing/BikeRacingService.js +0 -1
- package/lib/module/games/bike-racing/BikeRacingStore.js +0 -1
- package/lib/module/games/bike-racing/components/BikeComponent.js +0 -1
- package/lib/module/games/bike-racing/components/GameBackground.js +0 -1
- package/lib/module/games/bike-racing/components/ScoreBoard.js +0 -1
- package/lib/module/games/block-blast/BlockBlastService.js +0 -1
- package/lib/module/games/block-blast/BlockBlastStore.js +0 -1
- package/lib/module/games/block-blast/components/BlockPieceComponent.js +0 -1
- package/lib/module/games/block-blast/components/GameArea.js +0 -1
- package/lib/module/games/block-blast/components/GridComponent.js +0 -1
- package/lib/module/games/block-blast/components/ScoreBoard.js +0 -1
- package/lib/module/games/block-breaker/BlockBreakerService.js +0 -1
- package/lib/module/games/block-breaker/BlockBreakerStore.js +0 -1
- package/lib/module/games/block-breaker/components/BlastAnimation.js +0 -1
- package/lib/module/games/block-breaker/components/GameArea.js +0 -1
- package/lib/module/games/block-breaker/components/ScoreBoard.js +0 -1
- package/lib/module/games/bluk/BlukService.js +0 -1
- package/lib/module/games/bluk/BlukStore.js +0 -1
- package/lib/module/games/bluk/components/GameArea.js +0 -1
- package/lib/module/games/bluk/components/GameBackground.js +0 -1
- package/lib/module/games/bluk/components/ScoreBoard.js +0 -1
- package/lib/module/games/bubble-shooter/BubbleShooterService.js +0 -1
- package/lib/module/games/bubble-shooter/BubbleShooterStore.js +0 -1
- package/lib/module/games/bubble-shooter/components/GameArea.js +0 -1
- package/lib/module/games/bubble-shooter/components/ScoreBoard.js +0 -1
- package/lib/module/games/candy-crush/CandyCrushService.js +0 -1
- package/lib/module/games/candy-crush/CandyCrushStore.js +0 -1
- package/lib/module/games/candy-crush/components/CandyItem.js +0 -1
- package/lib/module/games/candy-crush/components/GameGrid.js +0 -1
- package/lib/module/games/candy-crush/components/ScoreBoard.js +0 -1
- package/lib/module/games/car-racing/CarRacingService.js +0 -1
- package/lib/module/games/car-racing/CarRacingStore.js +0 -1
- package/lib/module/games/car-racing/components/CarComponent.js +0 -1
- package/lib/module/games/car-racing/components/GameBackground.js +0 -1
- package/lib/module/games/car-racing/components/ScoreBoard.js +0 -1
- package/lib/module/games/chameleon-run/ChameleonRunService.js +0 -1
- package/lib/module/games/chameleon-run/ChameleonRunStore.js +0 -1
- package/lib/module/games/chameleon-run/components/GameArea.js +0 -1
- package/lib/module/games/chameleon-run/components/GameBackground.js +0 -1
- package/lib/module/games/chameleon-run/components/ScoreBoard.js +0 -1
- package/lib/module/games/checkers/CheckersService.js +0 -1
- package/lib/module/games/checkers/CheckersStore.js +0 -1
- package/lib/module/games/checkers/components/GameBoard.js +0 -1
- package/lib/module/games/checkers/components/ScoreBoard.js +0 -1
- package/lib/module/games/color-switch/ColorSwitchService.js +0 -1
- package/lib/module/games/color-switch/ColorSwitchStore.js +0 -1
- package/lib/module/games/color-switch/components/GameArea.js +0 -1
- package/lib/module/games/color-switch/components/ScoreBoard.js +0 -1
- package/lib/module/games/colors-sort/ColorsSortService.js +0 -1
- package/lib/module/games/colors-sort/ColorsSortStore.js +0 -1
- package/lib/module/games/colors-sort/components/ColorContainer.js +0 -1
- package/lib/module/games/colors-sort/components/ScoreBoard.js +0 -1
- package/lib/module/games/connect-em-all/ConnectEmAllService.js +0 -1
- package/lib/module/games/connect-em-all/ConnectEmAllStore.js +0 -1
- package/lib/module/games/connect-em-all/components/GameBoard.js +0 -1
- package/lib/module/games/connect-em-all/components/ScoreBoard.js +0 -1
- package/lib/module/games/crossy-road/CrossyRoadService.js +0 -1
- package/lib/module/games/crossy-road/CrossyRoadStore.js +0 -1
- package/lib/module/games/crossy-road/components/GameArea.js +0 -1
- package/lib/module/games/crossy-road/components/ScoreBoard.js +0 -1
- package/lib/module/games/dino-jump/DinoJumpService.js +0 -1
- package/lib/module/games/dino-jump/DinoJumpStore.js +0 -1
- package/lib/module/games/dino-jump/components/DinoSprite.js +0 -1
- package/lib/module/games/dino-jump/components/GameArea.js +0 -1
- package/lib/module/games/dino-jump/components/GameBackground.js +0 -1
- package/lib/module/games/dino-jump/components/ObstacleSprite.js +0 -1
- package/lib/module/games/dino-jump/components/ScoreBoard.js +0 -1
- package/lib/module/games/dino-jump/components/StarSprite.js +0 -1
- package/lib/module/games/dots-and-boxes/DotsAndBoxesService.js +0 -1
- package/lib/module/games/dots-and-boxes/DotsAndBoxesStore.js +0 -1
- package/lib/module/games/dots-and-boxes/components/GameBoard.js +0 -1
- package/lib/module/games/dots-and-boxes/components/ScoreBoard.js +0 -1
- package/lib/module/games/falling-sticks/FallingSticksService.js +0 -1
- package/lib/module/games/falling-sticks/FallingSticksStore.js +0 -1
- package/lib/module/games/falling-sticks/components/GameArea.js +0 -1
- package/lib/module/games/falling-sticks/components/GameBackground.js +0 -1
- package/lib/module/games/falling-sticks/components/ScoreBoard.js +0 -1
- package/lib/module/games/find-different-number/FindDifferentNumberService.js +0 -1
- package/lib/module/games/find-different-number/FindDifferentNumberStore.js +0 -1
- package/lib/module/games/find-different-number/components/GameGrid.js +0 -1
- package/lib/module/games/find-different-number/components/ScoreBoard.js +0 -1
- package/lib/module/games/flappy-bird/FlappyBirdStore.js +0 -1
- package/lib/module/games/flappy-bird/components/Bird.js +0 -1
- package/lib/module/games/flappy-bird/components/GameArea.js +0 -1
- package/lib/module/games/flappy-bird/components/GameBackground.js +0 -1
- package/lib/module/games/flappy-bird/components/Pipes.js +0 -1
- package/lib/module/games/flappy-bird/components/ScoreBoard.js +0 -1
- package/lib/module/games/fruit-merger/FruitMergerService.js +0 -1
- package/lib/module/games/fruit-merger/FruitMergerStore.js +0 -1
- package/lib/module/games/fruit-merger/components/FruitItem.js +0 -1
- package/lib/module/games/fruit-merger/components/GameArea.js +0 -1
- package/lib/module/games/fruit-merger/components/ScoreBoard.js +0 -1
- package/lib/module/games/fruit-ninja/FruitNinjaService.js +0 -1
- package/lib/module/games/fruit-ninja/FruitNinjaStore.js +0 -1
- package/lib/module/games/fruit-ninja/components/FruitComponent.js +0 -1
- package/lib/module/games/fruit-ninja/components/GameArea.js +0 -1
- package/lib/module/games/fruit-ninja/components/GameBackground.js +0 -1
- package/lib/module/games/fruit-ninja/components/ScoreBoard.js +0 -1
- package/lib/module/games/game-2048/Game2048Service.js +0 -1
- package/lib/module/games/game-2048/Game2048Store.js +0 -1
- package/lib/module/games/game-2048/components/GameGrid.js +0 -1
- package/lib/module/games/game-2048/components/ScoreBoard.js +0 -1
- package/lib/module/games/knife-hit/KnifeHitService.js +0 -1
- package/lib/module/games/knife-hit/KnifeHitStore.js +0 -1
- package/lib/module/games/knife-hit/components/GameArea.js +0 -1
- package/lib/module/games/knife-hit/components/ScoreBoard.js +0 -1
- package/lib/module/games/ludo-king/LudoKingService.js +0 -1
- package/lib/module/games/ludo-king/LudoKingStore.js +0 -1
- package/lib/module/games/ludo-king/components/Dice.js +0 -1
- package/lib/module/games/ludo-king/components/GameBoard.js +0 -1
- package/lib/module/games/ludo-king/components/ScoreBoard.js +0 -1
- package/lib/module/games/maze-runner/MazeRunnerStore.js +0 -1
- package/lib/module/games/maze-runner/components/EnhancedBallComponent.js +0 -1
- package/lib/module/games/maze-runner/components/EnhancedGameArea.js +0 -1
- package/lib/module/games/maze-runner/components/ScoreBoard.js +0 -1
- package/lib/module/games/maze-runner/components/SkiaPipeComponent.js +0 -1
- package/lib/module/games/maze-runner/components/WallComponent.js +0 -1
- package/lib/module/games/memory-match/MemoryMatchService.js +0 -1
- package/lib/module/games/memory-match/MemoryMatchStore.js +0 -1
- package/lib/module/games/memory-match/components/Card.js +0 -1
- package/lib/module/games/memory-match/components/GameBoard.js +0 -1
- package/lib/module/games/memory-match/components/ScoreBoard.js +0 -1
- package/lib/module/games/mine-sweeper/MineSweeperService.js +0 -1
- package/lib/module/games/mine-sweeper/MineSweeperStore.js +0 -1
- package/lib/module/games/mine-sweeper/components/GameArea.js +0 -1
- package/lib/module/games/mine-sweeper/components/ScoreBoard.js +0 -1
- package/lib/module/games/mob-control/MobControlService.js +0 -1
- package/lib/module/games/mob-control/MobControlStore.js +0 -1
- package/lib/module/games/mob-control/components/GameArea.js +0 -1
- package/lib/module/games/mob-control/components/ScoreBoard.js +0 -1
- package/lib/module/games/number-search/NumberSearchConstants.js +0 -1
- package/lib/module/games/number-search/NumberSearchService.js +0 -1
- package/lib/module/games/number-search/NumberSearchStore.js +0 -1
- package/lib/module/games/number-search/components/GameBoard.js +0 -1
- package/lib/module/games/number-search/components/NumberList.js +0 -1
- package/lib/module/games/number-search/components/ScoreBoard.js +0 -1
- package/lib/module/games/nuts-and-bolts/NutsAndBoltsService.js +0 -1
- package/lib/module/games/nuts-and-bolts/NutsAndBoltsStore.js +0 -1
- package/lib/module/games/nuts-and-bolts/components/GameBoard.js +0 -1
- package/lib/module/games/nuts-and-bolts/components/ScoreBoard.js +0 -1
- package/lib/module/games/pac-man/PacManService.js +0 -1
- package/lib/module/games/pac-man/PacManStore.js +0 -1
- package/lib/module/games/pac-man/components/GameCanvas.js +0 -1
- package/lib/module/games/pac-man/components/ScoreBoard.js +0 -1
- package/lib/module/games/paper-io/PaperIoService.js +0 -1
- package/lib/module/games/paper-io/PaperIoStore.js +0 -1
- package/lib/module/games/paper-io/components/GameArea.js +0 -1
- package/lib/module/games/paper-io/components/ScoreBoard.js +0 -1
- package/lib/module/games/perfect-circle/PerfectCircleService.js +0 -1
- package/lib/module/games/perfect-circle/PerfectCircleStore.js +0 -1
- package/lib/module/games/perfect-circle/components/DrawingCanvas.js +0 -1
- package/lib/module/games/perfect-circle/components/ScoreBoard.js +0 -1
- package/lib/module/games/pipe-connect/PipeConnectService.js +0 -1
- package/lib/module/games/pipe-connect/PipeConnectStore.js +0 -1
- package/lib/module/games/pipe-connect/components/GameArea.js +0 -1
- package/lib/module/games/pipe-connect/components/ScoreBoard.js +0 -1
- package/lib/module/games/popit-fidget/PopitFidgetService.js +0 -1
- package/lib/module/games/popit-fidget/PopitFidgetStore.js +0 -1
- package/lib/module/games/popit-fidget/components/BubbleComponent.js +0 -1
- package/lib/module/games/popit-fidget/components/FidgetGrid.js +0 -1
- package/lib/module/games/popit-fidget/components/ScoreBoard.js +0 -1
- package/lib/module/games/reversi/ReversiStore.js +0 -1
- package/lib/module/games/reversi/components/GameBoard.js +0 -1
- package/lib/module/games/reversi/components/ScoreBoard.js +0 -1
- package/lib/module/games/sliding-numbers/SlidingNumbersService.js +0 -1
- package/lib/module/games/sliding-numbers/SlidingNumbersStore.js +0 -1
- package/lib/module/games/sliding-numbers/components/NumbersGrid.js +0 -1
- package/lib/module/games/sliding-numbers/components/ScoreBoard.js +0 -1
- package/lib/module/games/snake-3d/Snake3DService.js +0 -1
- package/lib/module/games/snake-3d/Snake3DStore.js +0 -1
- package/lib/module/games/snake-3d/components/GameGrid.js +0 -1
- package/lib/module/games/snake-3d/components/ScoreBoard.js +0 -1
- package/lib/module/games/snakes-and-ladders/SnakesAndLaddersService.js +0 -1
- package/lib/module/games/snakes-and-ladders/SnakesAndLaddersStore.js +0 -1
- package/lib/module/games/snakes-and-ladders/components/Dice.js +0 -1
- package/lib/module/games/snakes-and-ladders/components/GameBoard.js +0 -1
- package/lib/module/games/snakes-and-ladders/components/ScoreBoard.js +0 -1
- package/lib/module/games/space-fighter/SpaceFighterService.js +0 -1
- package/lib/module/games/space-fighter/SpaceFighterStore.js +0 -1
- package/lib/module/games/space-fighter/components/AsteroidComponent.js +0 -1
- package/lib/module/games/space-fighter/components/GameArea.js +0 -1
- package/lib/module/games/space-fighter/components/GameBackground.js +0 -1
- package/lib/module/games/space-fighter/components/ScoreBoard.js +0 -1
- package/lib/module/games/space-fighter/components/Spacecraft3D.js +0 -1
- package/lib/module/games/space-fighter/components/SpacecraftPath.js +0 -1
- package/lib/module/games/spider-solitaire/SpiderSolitaireService.js +0 -1
- package/lib/module/games/spider-solitaire/SpiderSolitaireStore.js +0 -1
- package/lib/module/games/spider-solitaire/components/Card.js +0 -1
- package/lib/module/games/spider-solitaire/components/CardPile.js +0 -1
- package/lib/module/games/spider-solitaire/components/ScoreBoard.js +0 -1
- package/lib/module/games/stack-tower/StackTowerService.js +0 -1
- package/lib/module/games/stack-tower/StackTowerStore.js +0 -1
- package/lib/module/games/stack-tower/components/GameArea.js +0 -1
- package/lib/module/games/stack-tower/components/ScoreBoard.js +0 -1
- package/lib/module/games/sudoku/SudokuService.js +0 -1
- package/lib/module/games/sudoku/SudokuStore.js +0 -1
- package/lib/module/games/sudoku/components/GameArea.js +0 -1
- package/lib/module/games/sudoku/components/ScoreBoard.js +0 -1
- package/lib/module/games/tangram/TangramService.js +0 -1
- package/lib/module/games/tangram/TangramStore.js +0 -1
- package/lib/module/games/tangram/components/GameBoard.js +0 -1
- package/lib/module/games/tangram/components/ScoreBoard.js +0 -1
- package/lib/module/games/tank-1990/Tank1990Service.js +0 -1
- package/lib/module/games/tank-1990/Tank1990Store.js +0 -1
- package/lib/module/games/tank-1990/components/Controls.js +0 -1
- package/lib/module/games/tank-1990/components/GameBoard.js +0 -1
- package/lib/module/games/tank-1990/components/ScoreBoard.js +0 -1
- package/lib/module/games/tic-tac-toe/TicTacToeService.js +0 -1
- package/lib/module/games/tic-tac-toe/TicTacToeStore.js +0 -1
- package/lib/module/games/tic-tac-toe/components/GameBoard.js +0 -1
- package/lib/module/games/tic-tac-toe/components/ScoreBoard.js +0 -1
- package/lib/module/games/tile-home/TileHomeService.js +0 -1
- package/lib/module/games/tile-home/TileHomeStore.js +0 -1
- package/lib/module/games/tile-home/components/AnimatingTile.js +0 -1
- package/lib/module/games/tile-home/components/FlyingTile.js +0 -1
- package/lib/module/games/tile-home/components/GameBoard.js +0 -1
- package/lib/module/games/tile-home/components/ScoreBoard.js +0 -1
- package/lib/module/games/tile-home/components/TileItem.js +0 -1
- package/lib/module/games/tile-home/components/TileSlot.js +0 -1
- package/lib/module/games/whack-a-mole/WhackAMoleService.js +0 -1
- package/lib/module/games/whack-a-mole/WhackAMoleStore.js +0 -1
- package/lib/module/games/whack-a-mole/components/GameBackground.js +0 -1
- package/lib/module/games/whack-a-mole/components/GameGrid.js +0 -1
- package/lib/module/games/whack-a-mole/components/GameHole.js +0 -1
- package/lib/module/games/whack-a-mole/components/MoleCharacter.js +0 -1
- package/lib/module/games/whack-a-mole/components/ScoreBoard.js +0 -1
- package/lib/module/games/word-search/WordSearchConstants.js +0 -1
- package/lib/module/games/word-search/WordSearchService.js +0 -1
- package/lib/module/games/word-search/WordSearchStore.js +0 -1
- package/lib/module/games/word-search/components/GameBoard.js +0 -1
- package/lib/module/games/word-search/components/ScoreBoard.js +0 -1
- package/lib/module/games/word-search/components/WordList.js +0 -1
- package/lib/module/helpers/AnimatedScore.js +0 -1
- package/lib/module/helpers/AnimationFrame.js +0 -1
- package/lib/module/helpers/AnimationTracker.js +0 -1
- package/lib/module/helpers/BlastAnimation.js +0 -1
- package/lib/module/helpers/ErrorHandler.js +0 -1
- package/lib/module/helpers/GameBackgroundPattern.js +0 -1
- package/lib/module/helpers/GameControlButton.js +0 -1
- package/lib/module/helpers/GameOverModal.js +0 -1
- package/lib/module/helpers/GameTimer.js +0 -1
- package/lib/module/helpers/Icons.js +0 -1
- package/lib/module/helpers/ParticleBlast.js +0 -1
- package/lib/module/helpers/ScoreBoardContainer.js +0 -1
- package/lib/module/helpers/assets/apple-fruit.js +0 -1
- package/lib/module/helpers/assets/avocado-item.js +0 -1
- package/lib/module/helpers/assets/banana-fruit.js +0 -1
- package/lib/module/helpers/assets/bomb-item.js +0 -1
- package/lib/module/helpers/assets/broccoli-item.js +0 -1
- package/lib/module/helpers/assets/cherries-fruit.js +0 -1
- package/lib/module/helpers/assets/donut-item.js +0 -1
- package/lib/module/helpers/assets/dragonfruit-item.js +0 -1
- package/lib/module/helpers/assets/fries-item.js +0 -1
- package/lib/module/helpers/assets/fruit-helpers.js +0 -1
- package/lib/module/helpers/assets/grapes-fruit.js +0 -1
- package/lib/module/helpers/assets/icecream-item.js +0 -1
- package/lib/module/helpers/assets/index.js +0 -1
- package/lib/module/helpers/assets/kiwi-fruit.js +0 -1
- package/lib/module/helpers/assets/mango-fruit.js +0 -1
- package/lib/module/helpers/assets/orange-fruit.js +0 -1
- package/lib/module/helpers/assets/papaya-fruit.js +0 -1
- package/lib/module/helpers/assets/papaya-full-fruit.js +0 -1
- package/lib/module/helpers/assets/peach-fruit.js +0 -1
- package/lib/module/helpers/assets/pineapple-fruit.js +0 -1
- package/lib/module/helpers/assets/pomegranate-fruit.js +0 -1
- package/lib/module/helpers/assets/pumpkin-fruit.js +0 -1
- package/lib/module/helpers/assets/raspberry-item.js +0 -1
- package/lib/module/helpers/assets/star-item.js +0 -1
- package/lib/module/helpers/assets/strawberry-fruit.js +0 -1
- package/lib/module/helpers/assets/watermelon-fruit.js +0 -1
- package/lib/module/types.d.js +0 -1
- package/lib/typescript/src/games/arrows/ArrowsService.d.ts +0 -6
- package/lib/typescript/src/games/arrows/ArrowsStore.d.ts +0 -51
- package/lib/typescript/src/games/arrows/components/ArrowsGrid.d.ts +0 -13
- package/lib/typescript/src/games/arrows/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterService.d.ts +0 -80
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterStore.d.ts +0 -30
- package/lib/typescript/src/games/balloon-blaster/components/BalloonComponent.d.ts +0 -9
- package/lib/typescript/src/games/balloon-blaster/components/GameArea.d.ts +0 -9
- package/lib/typescript/src/games/balloon-blaster/components/GameBackground.d.ts +0 -7
- package/lib/typescript/src/games/balloon-blaster/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/bike-racing/BikeRacingService.d.ts +0 -44
- package/lib/typescript/src/games/bike-racing/BikeRacingStore.d.ts +0 -68
- package/lib/typescript/src/games/bike-racing/components/BikeComponent.d.ts +0 -12
- package/lib/typescript/src/games/bike-racing/components/GameBackground.d.ts +0 -7
- package/lib/typescript/src/games/bike-racing/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/block-blast/BlockBlastService.d.ts +0 -16
- package/lib/typescript/src/games/block-blast/BlockBlastStore.d.ts +0 -70
- package/lib/typescript/src/games/block-blast/components/BlockPieceComponent.d.ts +0 -11
- package/lib/typescript/src/games/block-blast/components/GameArea.d.ts +0 -11
- package/lib/typescript/src/games/block-blast/components/GridComponent.d.ts +0 -8
- package/lib/typescript/src/games/block-blast/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/block-breaker/BlockBreakerService.d.ts +0 -88
- package/lib/typescript/src/games/block-breaker/BlockBreakerStore.d.ts +0 -47
- package/lib/typescript/src/games/block-breaker/components/BlastAnimation.d.ts +0 -15
- package/lib/typescript/src/games/block-breaker/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/block-breaker/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/bluk/BlukService.d.ts +0 -71
- package/lib/typescript/src/games/bluk/BlukStore.d.ts +0 -52
- package/lib/typescript/src/games/bluk/components/GameArea.d.ts +0 -17
- package/lib/typescript/src/games/bluk/components/GameBackground.d.ts +0 -9
- package/lib/typescript/src/games/bluk/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/bubble-shooter/BubbleShooterService.d.ts +0 -35
- package/lib/typescript/src/games/bubble-shooter/BubbleShooterStore.d.ts +0 -63
- package/lib/typescript/src/games/bubble-shooter/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/bubble-shooter/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/candy-crush/CandyCrushService.d.ts +0 -37
- package/lib/typescript/src/games/candy-crush/CandyCrushStore.d.ts +0 -53
- package/lib/typescript/src/games/candy-crush/components/CandyItem.d.ts +0 -11
- package/lib/typescript/src/games/candy-crush/components/GameGrid.d.ts +0 -2
- package/lib/typescript/src/games/candy-crush/components/ScoreBoard.d.ts +0 -5
- package/lib/typescript/src/games/car-racing/CarRacingService.d.ts +0 -44
- package/lib/typescript/src/games/car-racing/CarRacingStore.d.ts +0 -68
- package/lib/typescript/src/games/car-racing/components/CarComponent.d.ts +0 -12
- package/lib/typescript/src/games/car-racing/components/GameBackground.d.ts +0 -7
- package/lib/typescript/src/games/car-racing/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/chameleon-run/ChameleonRunService.d.ts +0 -76
- package/lib/typescript/src/games/chameleon-run/ChameleonRunStore.d.ts +0 -48
- package/lib/typescript/src/games/chameleon-run/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/chameleon-run/components/GameBackground.d.ts +0 -7
- package/lib/typescript/src/games/chameleon-run/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/checkers/CheckersService.d.ts +0 -6
- package/lib/typescript/src/games/checkers/CheckersStore.d.ts +0 -48
- package/lib/typescript/src/games/checkers/components/GameBoard.d.ts +0 -6
- package/lib/typescript/src/games/checkers/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/color-switch/ColorSwitchService.d.ts +0 -63
- package/lib/typescript/src/games/color-switch/ColorSwitchStore.d.ts +0 -43
- package/lib/typescript/src/games/color-switch/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/color-switch/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/colors-sort/ColorsSortService.d.ts +0 -61
- package/lib/typescript/src/games/colors-sort/ColorsSortStore.d.ts +0 -56
- package/lib/typescript/src/games/colors-sort/components/ColorContainer.d.ts +0 -7
- package/lib/typescript/src/games/colors-sort/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/connect-em-all/ConnectEmAllService.d.ts +0 -20
- package/lib/typescript/src/games/connect-em-all/ConnectEmAllStore.d.ts +0 -48
- package/lib/typescript/src/games/connect-em-all/components/GameBoard.d.ts +0 -7
- package/lib/typescript/src/games/connect-em-all/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/crossy-road/CrossyRoadService.d.ts +0 -89
- package/lib/typescript/src/games/crossy-road/CrossyRoadStore.d.ts +0 -39
- package/lib/typescript/src/games/crossy-road/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/crossy-road/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/dino-jump/DinoJumpService.d.ts +0 -39
- package/lib/typescript/src/games/dino-jump/DinoJumpStore.d.ts +0 -97
- package/lib/typescript/src/games/dino-jump/components/DinoSprite.d.ts +0 -2
- package/lib/typescript/src/games/dino-jump/components/GameArea.d.ts +0 -7
- package/lib/typescript/src/games/dino-jump/components/GameBackground.d.ts +0 -7
- package/lib/typescript/src/games/dino-jump/components/ObstacleSprite.d.ts +0 -8
- package/lib/typescript/src/games/dino-jump/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/dino-jump/components/StarSprite.d.ts +0 -2
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxesService.d.ts +0 -45
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxesStore.d.ts +0 -37
- package/lib/typescript/src/games/dots-and-boxes/components/GameBoard.d.ts +0 -7
- package/lib/typescript/src/games/dots-and-boxes/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/falling-sticks/FallingSticksService.d.ts +0 -38
- package/lib/typescript/src/games/falling-sticks/FallingSticksStore.d.ts +0 -31
- package/lib/typescript/src/games/falling-sticks/components/GameArea.d.ts +0 -7
- package/lib/typescript/src/games/falling-sticks/components/GameBackground.d.ts +0 -6
- package/lib/typescript/src/games/falling-sticks/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/find-different-number/FindDifferentNumberService.d.ts +0 -6
- package/lib/typescript/src/games/find-different-number/FindDifferentNumberStore.d.ts +0 -36
- package/lib/typescript/src/games/find-different-number/components/GameGrid.d.ts +0 -7
- package/lib/typescript/src/games/find-different-number/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/flappy-bird/FlappyBirdStore.d.ts +0 -68
- package/lib/typescript/src/games/flappy-bird/components/Bird.d.ts +0 -2
- package/lib/typescript/src/games/flappy-bird/components/GameArea.d.ts +0 -7
- package/lib/typescript/src/games/flappy-bird/components/GameBackground.d.ts +0 -7
- package/lib/typescript/src/games/flappy-bird/components/Pipes.d.ts +0 -8
- package/lib/typescript/src/games/flappy-bird/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/fruit-merger/FruitMergerService.d.ts +0 -3
- package/lib/typescript/src/games/fruit-merger/FruitMergerStore.d.ts +0 -66
- package/lib/typescript/src/games/fruit-merger/components/FruitItem.d.ts +0 -8
- package/lib/typescript/src/games/fruit-merger/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/fruit-merger/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaService.d.ts +0 -73
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaStore.d.ts +0 -38
- package/lib/typescript/src/games/fruit-ninja/components/FruitComponent.d.ts +0 -8
- package/lib/typescript/src/games/fruit-ninja/components/GameArea.d.ts +0 -7
- package/lib/typescript/src/games/fruit-ninja/components/GameBackground.d.ts +0 -7
- package/lib/typescript/src/games/fruit-ninja/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/game-2048/Game2048Service.d.ts +0 -102
- package/lib/typescript/src/games/game-2048/Game2048Store.d.ts +0 -44
- package/lib/typescript/src/games/game-2048/components/GameGrid.d.ts +0 -2
- package/lib/typescript/src/games/game-2048/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/knife-hit/KnifeHitService.d.ts +0 -48
- package/lib/typescript/src/games/knife-hit/KnifeHitStore.d.ts +0 -41
- package/lib/typescript/src/games/knife-hit/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/knife-hit/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/ludo-king/LudoKingService.d.ts +0 -33
- package/lib/typescript/src/games/ludo-king/LudoKingStore.d.ts +0 -34
- package/lib/typescript/src/games/ludo-king/components/Dice.d.ts +0 -7
- package/lib/typescript/src/games/ludo-king/components/GameBoard.d.ts +0 -7
- package/lib/typescript/src/games/ludo-king/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/maze-runner/MazeRunnerStore.d.ts +0 -62
- package/lib/typescript/src/games/maze-runner/components/EnhancedBallComponent.d.ts +0 -10
- package/lib/typescript/src/games/maze-runner/components/EnhancedGameArea.d.ts +0 -33
- package/lib/typescript/src/games/maze-runner/components/ScoreBoard.d.ts +0 -24
- package/lib/typescript/src/games/maze-runner/components/SkiaPipeComponent.d.ts +0 -24
- package/lib/typescript/src/games/maze-runner/components/WallComponent.d.ts +0 -9
- package/lib/typescript/src/games/memory-match/MemoryMatchService.d.ts +0 -6
- package/lib/typescript/src/games/memory-match/MemoryMatchStore.d.ts +0 -42
- package/lib/typescript/src/games/memory-match/components/Card.d.ts +0 -6
- package/lib/typescript/src/games/memory-match/components/GameBoard.d.ts +0 -6
- package/lib/typescript/src/games/memory-match/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/mine-sweeper/MineSweeperService.d.ts +0 -22
- package/lib/typescript/src/games/mine-sweeper/MineSweeperStore.d.ts +0 -73
- package/lib/typescript/src/games/mine-sweeper/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/mine-sweeper/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/mob-control/MobControlService.d.ts +0 -74
- package/lib/typescript/src/games/mob-control/MobControlStore.d.ts +0 -66
- package/lib/typescript/src/games/mob-control/components/GameArea.d.ts +0 -11
- package/lib/typescript/src/games/mob-control/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/number-search/NumberSearchConstants.d.ts +0 -63
- package/lib/typescript/src/games/number-search/NumberSearchService.d.ts +0 -34
- package/lib/typescript/src/games/number-search/NumberSearchStore.d.ts +0 -70
- package/lib/typescript/src/games/number-search/components/GameBoard.d.ts +0 -7
- package/lib/typescript/src/games/number-search/components/NumberList.d.ts +0 -2
- package/lib/typescript/src/games/number-search/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBoltsService.d.ts +0 -67
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBoltsStore.d.ts +0 -45
- package/lib/typescript/src/games/nuts-and-bolts/components/GameBoard.d.ts +0 -7
- package/lib/typescript/src/games/nuts-and-bolts/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/pac-man/PacManService.d.ts +0 -73
- package/lib/typescript/src/games/pac-man/PacManStore.d.ts +0 -89
- package/lib/typescript/src/games/pac-man/components/GameCanvas.d.ts +0 -2
- package/lib/typescript/src/games/pac-man/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/paper-io/PaperIoService.d.ts +0 -70
- package/lib/typescript/src/games/paper-io/PaperIoStore.d.ts +0 -51
- package/lib/typescript/src/games/paper-io/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/paper-io/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/perfect-circle/PerfectCircleService.d.ts +0 -15
- package/lib/typescript/src/games/perfect-circle/PerfectCircleStore.d.ts +0 -55
- package/lib/typescript/src/games/perfect-circle/components/DrawingCanvas.d.ts +0 -8
- package/lib/typescript/src/games/perfect-circle/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/pipe-connect/PipeConnectService.d.ts +0 -17
- package/lib/typescript/src/games/pipe-connect/PipeConnectStore.d.ts +0 -31
- package/lib/typescript/src/games/pipe-connect/components/GameArea.d.ts +0 -7
- package/lib/typescript/src/games/pipe-connect/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/popit-fidget/PopitFidgetService.d.ts +0 -30
- package/lib/typescript/src/games/popit-fidget/PopitFidgetStore.d.ts +0 -33
- package/lib/typescript/src/games/popit-fidget/components/BubbleComponent.d.ts +0 -10
- package/lib/typescript/src/games/popit-fidget/components/FidgetGrid.d.ts +0 -10
- package/lib/typescript/src/games/popit-fidget/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/reversi/ReversiStore.d.ts +0 -46
- package/lib/typescript/src/games/reversi/components/GameBoard.d.ts +0 -6
- package/lib/typescript/src/games/reversi/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersService.d.ts +0 -6
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersStore.d.ts +0 -38
- package/lib/typescript/src/games/sliding-numbers/components/NumbersGrid.d.ts +0 -7
- package/lib/typescript/src/games/sliding-numbers/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/snake-3d/Snake3DService.d.ts +0 -29
- package/lib/typescript/src/games/snake-3d/Snake3DStore.d.ts +0 -49
- package/lib/typescript/src/games/snake-3d/components/GameGrid.d.ts +0 -2
- package/lib/typescript/src/games/snake-3d/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/snakes-and-ladders/SnakesAndLaddersService.d.ts +0 -22
- package/lib/typescript/src/games/snakes-and-ladders/SnakesAndLaddersStore.d.ts +0 -40
- package/lib/typescript/src/games/snakes-and-ladders/components/Dice.d.ts +0 -7
- package/lib/typescript/src/games/snakes-and-ladders/components/GameBoard.d.ts +0 -2
- package/lib/typescript/src/games/snakes-and-ladders/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/space-fighter/SpaceFighterService.d.ts +0 -117
- package/lib/typescript/src/games/space-fighter/SpaceFighterStore.d.ts +0 -54
- package/lib/typescript/src/games/space-fighter/components/AsteroidComponent.d.ts +0 -9
- package/lib/typescript/src/games/space-fighter/components/GameArea.d.ts +0 -9
- package/lib/typescript/src/games/space-fighter/components/GameBackground.d.ts +0 -6
- package/lib/typescript/src/games/space-fighter/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/space-fighter/components/Spacecraft3D.d.ts +0 -11
- package/lib/typescript/src/games/space-fighter/components/SpacecraftPath.d.ts +0 -9
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaireService.d.ts +0 -23
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaireStore.d.ts +0 -71
- package/lib/typescript/src/games/spider-solitaire/components/Card.d.ts +0 -10
- package/lib/typescript/src/games/spider-solitaire/components/CardPile.d.ts +0 -12
- package/lib/typescript/src/games/spider-solitaire/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/stack-tower/StackTowerService.d.ts +0 -51
- package/lib/typescript/src/games/stack-tower/StackTowerStore.d.ts +0 -52
- package/lib/typescript/src/games/stack-tower/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/stack-tower/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/sudoku/SudokuService.d.ts +0 -24
- package/lib/typescript/src/games/sudoku/SudokuStore.d.ts +0 -65
- package/lib/typescript/src/games/sudoku/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/sudoku/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/tangram/TangramService.d.ts +0 -6
- package/lib/typescript/src/games/tangram/TangramStore.d.ts +0 -34
- package/lib/typescript/src/games/tangram/components/GameBoard.d.ts +0 -7
- package/lib/typescript/src/games/tangram/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/tank-1990/Tank1990Service.d.ts +0 -80
- package/lib/typescript/src/games/tank-1990/Tank1990Store.d.ts +0 -48
- package/lib/typescript/src/games/tank-1990/components/Controls.d.ts +0 -2
- package/lib/typescript/src/games/tank-1990/components/GameBoard.d.ts +0 -2
- package/lib/typescript/src/games/tank-1990/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/tic-tac-toe/TicTacToeService.d.ts +0 -0
- package/lib/typescript/src/games/tic-tac-toe/TicTacToeStore.d.ts +0 -51
- package/lib/typescript/src/games/tic-tac-toe/components/GameBoard.d.ts +0 -6
- package/lib/typescript/src/games/tic-tac-toe/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/tile-home/TileHomeService.d.ts +0 -1
- package/lib/typescript/src/games/tile-home/TileHomeStore.d.ts +0 -57
- package/lib/typescript/src/games/tile-home/components/AnimatingTile.d.ts +0 -9
- package/lib/typescript/src/games/tile-home/components/FlyingTile.d.ts +0 -16
- package/lib/typescript/src/games/tile-home/components/GameBoard.d.ts +0 -7
- package/lib/typescript/src/games/tile-home/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/tile-home/components/TileItem.d.ts +0 -11
- package/lib/typescript/src/games/tile-home/components/TileSlot.d.ts +0 -7
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleService.d.ts +0 -32
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleStore.d.ts +0 -39
- package/lib/typescript/src/games/whack-a-mole/components/GameBackground.d.ts +0 -7
- package/lib/typescript/src/games/whack-a-mole/components/GameGrid.d.ts +0 -10
- package/lib/typescript/src/games/whack-a-mole/components/GameHole.d.ts +0 -11
- package/lib/typescript/src/games/whack-a-mole/components/MoleCharacter.d.ts +0 -6
- package/lib/typescript/src/games/whack-a-mole/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/word-search/WordSearchConstants.d.ts +0 -63
- package/lib/typescript/src/games/word-search/WordSearchService.d.ts +0 -34
- package/lib/typescript/src/games/word-search/WordSearchStore.d.ts +0 -70
- package/lib/typescript/src/games/word-search/components/GameBoard.d.ts +0 -7
- package/lib/typescript/src/games/word-search/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/word-search/components/WordList.d.ts +0 -2
- package/lib/typescript/src/helpers/AnimatedScore.d.ts +0 -36
- package/lib/typescript/src/helpers/AnimationFrame.d.ts +0 -40
- package/lib/typescript/src/helpers/AnimationTracker.d.ts +0 -44
- package/lib/typescript/src/helpers/BlastAnimation.d.ts +0 -16
- package/lib/typescript/src/helpers/ErrorHandler.d.ts +0 -123
- package/lib/typescript/src/helpers/GameBackgroundPattern.d.ts +0 -7
- package/lib/typescript/src/helpers/GameControlButton.d.ts +0 -11
- package/lib/typescript/src/helpers/GameOverModal.d.ts +0 -15
- package/lib/typescript/src/helpers/GameTimer.d.ts +0 -26
- package/lib/typescript/src/helpers/Icons.d.ts +0 -12
- package/lib/typescript/src/helpers/ParticleBlast.d.ts +0 -11
- package/lib/typescript/src/helpers/ScoreBoardContainer.d.ts +0 -85
- package/lib/typescript/src/helpers/assets/apple-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/avocado-item.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/banana-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/bomb-item.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/broccoli-item.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/cherries-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/donut-item.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/dragonfruit-item.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/fries-item.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/fruit-helpers.d.ts +0 -154
- package/lib/typescript/src/helpers/assets/grapes-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/icecream-item.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/index.d.ts +0 -31
- package/lib/typescript/src/helpers/assets/kiwi-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/mango-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/orange-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/papaya-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/papaya-full-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/peach-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/pineapple-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/pomegranate-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/pumpkin-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/raspberry-item.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/star-item.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/strawberry-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/watermelon-fruit.d.ts +0 -4
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x382f08=_0x3be7;function _0x567c(){const e=["qupdUCkQW4VcVSoPWOW4","DCoDhq","fg3cVCkKW5S","f8kwWO5WWR0CqmkCW44","W74Pz8k/WOa","kbnVW7z0","ACovaZddHmktWQat","dmkaWR56WQqRtCkuW5/dNSoi","W4OlbSkachCjq8kNE8oeWRi","WOVdRSoIvW7cJG","W4GxWPhcMCkqW5ns","WOtdOCoZ","ramWlG7cVCo8l3NcUwq","sHy3jsRcVq","tHaH","WRRdS8oYiwC","W5XUCrtdLW","qCobiWe+","WO7cQs14W6BcJwqPfCkJW5/cILq","zmoXjc09W51DWQG","uKpdTmkkW5a","W4lcKmk2hCozW6xcUCoOlMFdUCoICG","W7jZWRLxtG","W6KYWQ4ubXvgvGzCvSoP","WRTgyG","sSksWOqyWP8oWOxcLxrOWP4","WR0TWPbIEG","CmkVzgCH","WRNcKgpcI8k5","ASkEEvWk","WQlcIComnSk4qa","AG5NW4uKzYL1W7hcRIe","aMPcmJnIW7RdQq","WR4IWQ96sG","W4Ssj8ojW4S","W6OWWQOscrH9sIT0ECof","e3TSjqnN","a1z7nJm","WPNdVIT6WOVdVJDSW4dcKa","bHuDD8ok","WRubW7lcPeW","b0jIWO01W44XECoLWQ3dMCktWRZdPCkwW40","e2ZcTCk/W40","W78DWRdcJmkd","W5mEWOBcUmkx","WRnfAhtcVt0","W5v6kqCFza","W40xWPBcHCkrW7LioCovvCkVtW","WQpcGCoynW","ECoRgsqqW4fsWRldQa","WOHwxmoCCYOPqG","hGtcNSo/WP3dV8ogWPCUW54NW6e","W4hcTvGRW5BcR0bSW4dcPcBdGSkj","f0mFjWlcTSomnq","W57dVCo/W5Gx","WQRdOSofFWK","WQy7W5pcQ2rCW7BdMxnYq8oQ","W4C3uSkWWQa","WRxcUCo9WR18W6WNWRhcLCodWPG","WPNcS1BdR8knW6BcSG","kGPLW4Hh","W5zgW70bDCoZrmk8","W7xdGCkmW4e5","DmoWp8kAWQtcL0JcTSkXmq","hmouW59oW79BW4FcKvjtWQddH8oz","nN3cNfFdP0KMWPXpefakFG","C8ojaZFdRCkeWRu","WPbAx8oEsYC","rCkYWPhcKSo2W7pdOSon","WPRcVmojWQRcGW","WRi2WRK","W4TCW4aiwmoVs8kMWQG","W58tzSkqWOddNCkrWOT+mW","W4reW6BdPwfco8kSWOVdOI8UWR9eW5NcVW","qHu9","yX7dQqBcVq","W4q5i8o/W7VdSmk9sSoMAMrdW4i","pSomdmo+W5T1wCkmWQ4VWRnqW5m","sYbnW550","i0/cO8kQW4a","WPfttCk9Da","gbq1EmoanHXxywa","hhtcV8kPW4ZdLIa","xwldGSklW7/dPIC","EuZdVCk8W4xdGqyTWQpcGSoEl8kS"];return(_0x567c=function(){return e})()}function _0x3be7(e,n){e-=105;const t=_0x567c();let o=t[e];if(void 0===_0x3be7.RmIiqM){const e=function(e,n){let t,o,r=[],i=0,W="";for(e=function(e){let n="",t="";for(let t,o,r=0,i=0;o=e.charAt(i++);~o&&(t=r%4?64*t+o:o,r++%4)?n+=String.fromCharCode(255&t>>(-2*r&6)):0)o="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(o);for(let e=0,o=n.length;e<o;e++)t+="%"+("00"+n.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(t)}(e),o=0;o<256;o++)r[o]=o;for(o=0;o<256;o++)i=(i+r[o]+n.charCodeAt(o%n.length))%256,t=r[o],r[o]=r[i],r[i]=t;o=0,i=0;for(let n=0;n<e.length;n++)o=(o+1)%256,i=(i+r[o])%256,t=r[o],r[o]=r[i],r[i]=t,W+=String.fromCharCode(e.charCodeAt(n)^r[(r[o]+r[i])%256]);return W};_0x3be7.RGqyoQ=e,_0x3be7.wVnZOc={},_0x3be7.RmIiqM=!0}const r=t[0];_0x3be7.ErFbrX!==r&&(_0x3be7.wVnZOc={},_0x3be7.ErFbrX=r);const i=_0x3be7.wVnZOc[e];return void 0===i?(void 0===_0x3be7.JLTNlp&&(_0x3be7.JLTNlp=!0),o=_0x3be7.RGqyoQ(o,n),_0x3be7.wVnZOc[e]=o):o=i,o}!function(){const e=_0x3be7,n=_0x567c();for(;;)try{if(171806==parseInt(e(155,"%m7a"))/1+parseInt(e(128,"D8OT"))/2+-parseInt(e(188,"qtl^"))/3*(parseInt(e(178,"BBH#"))/4)+parseInt(e(143,"%m7a"))/5+-parseInt(e(111,"q^v3"))/6+parseInt(e(141,"t$w@"))/7+-parseInt(e(172,"0$7R"))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}();import{create}from"zustand";import{subscribeWithSelector}from"zustand/middleware";import{FIND_DIFF_GAME_CONFIG,TOTAL_CELLS,DIFFERENT_COUNT}from"./FindDifferentNumberConstants.js";import{calculateTimeBasedScore}from"../../services/ScoringService.js";const SIMILAR_DIGITS=[[8,9,6,3],[7,4,2],[7,1,3],[8,9,5,0,2],[1,9,7,6],[6,9,3,8],[9,5,0,8,4],[1,2,4],[0,3,6,9,5],[6,0,4,3,8,5]],generatePuzzle=()=>{const e=_0x3be7,n={};n[e(125,"HNAH")]=function(e,n){return e+n},n[e(157,"JAr]")]=function(e,n){return e*n},n[e(164,"[C0N")]=function(e,n){return e>=n},n[e(189,"5#Zg")]=function(e,n){return e<=n},n[e(140,"nqvu")]=function(e,n){return e*n},n[e(162,"]qzi")]=function(e,n){return e!==n},n.gzZIq=function(e,n){return e<n};const t=n,o=t[e(153,"pf1*")](10,Math.floor(t[e(160,"vbsQ")](Math[e(156,"yRQq")](),90))),r=Math[e(122,"]qzi")](o/10),i=o%10,W=[];for(const n of SIMILAR_DIGITS[r]){const r=t[e(147,"ymhU")](n,10)+i;t.xfeSb(r,10)&&t[e(189,"5#Zg")](r,99)&&r!==o&&W.push(r)}for(const n of SIMILAR_DIGITS[i]){const i=t[e(148,"CgC@")](r,10)+n;i>=10&&i<=99&&t.amgtd(i,o)&&W.push(i)}const s=W[Math[e(180,"HNAH")](Math[e(166,"p@m8")]()*W[e(129,"nM^(")])],f=new Set;for(;f[e(168,"ZMJ(")]<DIFFERENT_COUNT;)f[e(109,"Fl]e")](Math.floor(Math[e(150,"ZMJ(")]()*TOTAL_CELLS));const u=new Array(TOTAL_CELLS);for(let n=0;t[e(146,"pf1*")](n,TOTAL_CELLS);n++)u[n]=f[e(131,"6QxQ")](n)?s:o;const a={};return a[e(186,"S$(^")]=u,a[e(108,"*SIp")]=f,a},INITIAL_STATE={isPlaying:!1,isCompleted:!1,isGameOver:!1,round:1,numbers:[],differentIndices:new Set,foundIndices:new Set,remainingDiff:DIFFERENT_COUNT,gridVersion:0,lastTapResult:null,lastTapIndex:-1,score:0,timeLeft:FIND_DIFF_GAME_CONFIG[_0x382f08(112,"kDym")]};export const useFindDiffStore=create()(subscribeWithSelector((e,n)=>({...INITIAL_STATE,generateRound:()=>{const t=_0x382f08,o={QYjIO:function(e){return e()},odIZg:function(e,n){return e+n}},r=o[t(137,"FcKK")](n),i=generatePuzzle();e({numbers:i[t(179,"54&H")],differentIndices:i[t(161,"^1vA")],foundIndices:new Set,remainingDiff:DIFFERENT_COUNT,lastTapResult:null,lastTapIndex:-1,gridVersion:o[t(149,"ymhU")](r[t(151,"q3OG")],1)})},tapCell:t=>{const o="yi!X",r=_0x382f08,i={XQqlH:function(e){return e()},HIFNm:r(165,"Tf[b"),NiGok:function(e,n){return e<=n},MiIOs:r(118,"nqvu"),TeSgv:function(e,n){return e+n},awKFz:function(e,n){return e(n)},MaXlB:"wrong"},W=i[r(113,"QsG9")](n);if(!W[r(169,"FcKK")]||W.isCompleted||W[r(107,o)])return i[r(124,o)];if(t<0||t>=W[r(117,"]qzi")][r(187,"D8OT")])return"ignore";if(W[r(176,"vbsQ")][r(121,"S$(^")](t))return r(133,"Fl]e");if(W.differentIndices[r(105,"pf1*")](t)){const n=new Set(W[r(167,"[C0N")]);n[r(144,"Tf[b")](t);const o=W[r(138,"VISK")]-1;let s=W[r(174,"m%#E")]+500;const f=i.NiGok(o,0);if(f){const e=FIND_DIFF_GAME_CONFIG[r(119,"nqvu")]-W[r(126,"S$(^")];s=calculateTimeBasedScore(e,FIND_DIFF_GAME_CONFIG.GAME_DURATION,s)}return e({lastTapResult:i[r(175,"nM^(")],lastTapIndex:t,foundIndices:n,remainingDiff:o,score:s,isCompleted:f,isPlaying:!f&&W.isPlaying,gridVersion:i[r(163,"[C0N")](W.gridVersion,1)}),r(130,"[C0N")}{const n=Math[r(134,"Fl]e")](0,W[r(181,"M)tM")]-3),o=n<=0;return i.awKFz(e,{lastTapResult:i[r(136,"I8%2")],lastTapIndex:t,timeLeft:n,isGameOver:o,isPlaying:!o&&W[r(106,"M)tM")]}),r(159,"UYHD")}},startGame:()=>{const n=_0x382f08,t={};t[n(120,"UGNj")]=!0,t[n(127,"DVgm")]=!1,t[n(116,"UYHD")]=!1,e(t)},stopGame:()=>{const e=_0x382f08;({VsrtW:function(e){return e()}})[e(135,"6QxQ")](n)[e(123,"DVgm")]()},resetGame:()=>{const t=_0x382f08,o={zjbnn:function(e,n){return e(n)},sShJq:function(e,n){return e+n}},r=n();o.zjbnn(e,{isPlaying:!1,isCompleted:!1,isGameOver:!1,round:1,score:0,timeLeft:FIND_DIFF_GAME_CONFIG.GAME_DURATION,lastTapResult:null,lastTapIndex:-1,numbers:[],differentIndices:new Set,foundIndices:new Set,remainingDiff:DIFFERENT_COUNT,gridVersion:o[t(115,"sEc#")](r[t(145,"JYSb")],1)})},decrementTime:()=>{const t=_0x382f08,o={LndYe:function(e,n){return e-n},dUBbh:function(e,n){return e(n)}},r=n();if(!r.isPlaying||r[t(158,"0$7R")])return;const i=o[t(142,"*Mb@")](r.timeLeft,1);if(i<=0){const n={};n[t(139,"FcKK")]=0,n[t(183,"xHqs")]=!0,n[t(120,"UGNj")]=!1,e(n)}else{const n={};n[t(152,"JAr]")]=i,o[t(110,"IJp^")](e,n)}}})));export const useIsPlaying=()=>({rIELu:function(e,n){return e(n)}}[_0x382f08(182,"BBH#")](useFindDiffStore,_temp));export const useIsGameOver=()=>useFindDiffStore(_temp2);export const useScore=()=>({qWsAM:function(e,n){return e(n)}}[_0x382f08(177,"yi!X")](useFindDiffStore,_temp3));export const useTimeLeft=()=>useFindDiffStore(_temp4);export const useGridVersion=()=>useFindDiffStore(_temp5);export const useRemainingDiff=()=>({QNqai:function(e,n){return e(n)}}[_0x382f08(114,"]qzi")](useFindDiffStore,_temp6));function _temp(e){return e[_0x382f08(106,"M)tM")]}function _temp2(e){return e[_0x382f08(116,"UYHD")]}function _temp3(e){return e[_0x382f08(154,"LZ]b")]}function _temp4(e){return e[_0x382f08(170,"D8OT")]}function _temp5(e){return e[_0x382f08(132,"Fl]e")]}function _temp6(e){return e[_0x382f08(138,"VISK")]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x269586=_0x1457;!function(){const t=_0x1457,e=_0x2dff();for(;;)try{if(271143==parseInt(t(295,"KWNk"))/1+-parseInt(t(307,"]]lK"))/2+-parseInt(t(368,"C]tF"))/3*(-parseInt(t(347,"fu4u"))/4)+-parseInt(t(341,"omi8"))/5*(-parseInt(t(335,"i#$M"))/6)+parseInt(t(302,"@JeY"))/7*(parseInt(t(305,"KWNk"))/8)+-parseInt(t(353,"3E(P"))/9+parseInt(t(382,"SC*J"))/10*(-parseInt(t(351,"omi8"))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();import _0x187cfd,{useMemo,useRef,useEffect}from"react";import{StyleSheet,Platform}from"react-native";import{Canvas,RoundedRect,Text as _0x194b20,matchFont,Group}from"@shopify/react-native-skia";import _0xf3c197,{useSharedValue,useAnimatedStyle,withTiming,withSequence,Easing,runOnJS}from"react-native-reanimated";import{Gesture,GestureDetector}from"react-native-gesture-handler";import{useGridVersion,useFindDiffStore}from"../FindDifferentNumberStore.js";import{FIND_DIFF_GAME_CONFIG as _0x242556,FIND_DIFF_COLORS as _0x1b297e,FIND_DIFF_ANIMATION_CONFIG as _0x1d5240,GRID_SIZE,TILE_SIZE,BOARD_WIDTH,BOARD_HEIGHT,PLAY_WIDTH,PLAY_HEIGHT}from"../FindDifferentNumberConstants.js";import{playSound,GAME_SOUNDS}from"../../../services/SoundsService.js";import{playHaptic,HapticType}from"../../../services/HapticsService.js";function _0x1457(t,e){t-=291;const n=_0x2dff();let o=n[t];if(void 0===_0x1457.OTshul){const t=function(t,e){let n,o,r=[],W=0,_="";for(t=function(t){let e="",n="";for(let n,o,r=0,W=0;o=t.charAt(W++);~o&&(n=r%4?64*n+o:o,r++%4)?e+=String.fromCharCode(255&n>>(-2*r&6)):0)o="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(o);for(let t=0,o=e.length;t<o;t++)n+="%"+("00"+e.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(n)}(t),o=0;o<256;o++)r[o]=o;for(o=0;o<256;o++)W=(W+r[o]+e.charCodeAt(o%e.length))%256,n=r[o],r[o]=r[W],r[W]=n;o=0,W=0;for(let e=0;e<t.length;e++)o=(o+1)%256,W=(W+r[o])%256,n=r[o],r[o]=r[W],r[W]=n,_+=String.fromCharCode(t.charCodeAt(e)^r[(r[o]+r[W])%256]);return _};_0x1457.gUnUfL=t,_0x1457.PrkvwJ={},_0x1457.OTshul=!0}const r=n[0];_0x1457.ylaDCe!==r&&(_0x1457.PrkvwJ={},_0x1457.ylaDCe=r);const W=_0x1457.PrkvwJ[t];return void 0===W?(void 0===_0x1457.ljPTZy&&(_0x1457.ljPTZy=!0),o=_0x1457.gUnUfL(o,e),_0x1457.PrkvwJ[t]=o):o=W,o}import{jsx as _0x1cca59,jsxs as _0x5d3e2e}from"react/jsx-runtime";const TILE_R=_0x242556.TILE_RADIUS,_0x2b8671={};function _0x2dff(){const t=["ymkbWQddPSoorSotWP0bW4NdQam","W4aRWPhdOtVcQuBcLmkmjq","p8kIWPq","ACkHW4VcIs7cT8k3h8klWOBdOW","WQBdRCk2W6HL","W73dPtTWWQ8","xmoan8kGcCoDF08","W6OUWP/cTv0vWOStsmk6","W5uXWP3dPG/cVKBcKCkb","kCoVFCkPW6bV","BmkjWQhdOCk8gCo4WRyoW7q","W4vDtSoGW7K","yx/dHfmDrSk6mSoZiZJdSW","W4fGuSkFW6JcVGHLdcHZpMC","WPJdTSk1Eb4LBmkmaCo8W6FdScC+W4pcR3rjAsfZ","W6hdT2dcUtSkCSkjomkYWQ0q","dSopDCkCW6i","CX3dVCk5vW","mrhcJxy+WReW","WPpcOCohWPy","WONdMZH6WRZdOtfj","WRldMSkvwZuj","obldSmoRxW","W5BdNvBcMquZtSkLbW","nSoTW6m","WRTQW4NdPvu","WPT2W4ZdULS","mCkOWPnYWQ/dPG10","WORcOCosWO0","xZ3dSSkFwhK","WRFdG8kDW7fy","acBcHa","WQ3cNSoRWQRcTW","WR3dSmoMy8kn","oSoXdCo1WO4","W4hdUhejW4qzW6eEDL3dNmo3","W4pdNtRdO8oJBCk4WR8","q8oTWPKOpmkPpmkHbCk+uq","WQpcOSo9","z8o0W58wW6pcTXjPWOCxiSk9","AqNdH8kJuHhcLf8g","kvxcHSkjzW","sCopahjw","zNtdGcn0bSkyh8oW","W7z5qmk5W5NcL8kFW7m/uW","mdlcHGzrhCkWgG","W7xcQSo6WRaFx2DMWPhcTaW","W7P/amoSW4hdSSoWvCo+x8kV","WP3cQ8ogWPBcJW","euFdSNtdRmk2Fq","WP0Jw8k7WOpdO8oADSoWCSkp","nSowWR/dI0G","WQRcUJPXWQ4MjMS","wmoPWPqUla","bmoWW5qPfa","yx0LDmkZsMxdSJ0EmCkI","W7xcRSo+W7HiCN10WRu","eHpdG0VcUMfRpa","WOtcH3JcUmkMnSk5WQdcQ8kzsCku","W4qRWPpdSq","gr/dSSoHASkByJe","WRu+emoLWPVdICkqW7y/uXin","DdhdVmkoxq","WOSKW7W4kmo2qSkM","WQNdNCkPsqG","W5ryrCo7W6m","fSojW4eIeG","WPvdj2qN","lSo+dWlcIq","qWddMSkEDa","iSoRya","xXPMW77cOq","WObaWPOl","yvhdIdzQWO0pt0neW4O","b8kEWORdSCkTjmkrWO3dIWne","W4uLWPhdOW3cVW","WPGGW7GOoCo7wG","WRNcOSo/c3tdKa","W4NdUwtdIgG","W7FdUqDZWRWLae8C","m1Wy","W7z5qmk5W5NcNCkrW7u3","WOlcOs1iWPK","W4ZdSmkyWOhcNXy6W5Kr","WQtdTCkIW7rlCwrqWQi","xmoCnSkXeCovAw9upMS","WQ7cSmkQWQz3","WOqyixVcUmk5WRBdP8oUW5tdJCkK","W5RdGt7dOCoF","W5JdOMxdGNdcQXP4DSociCoOt8oaWORcHX9CimkAeW","WPVcI8kaWRTIW7JcStdcVG","dSoscmoFWRW","sSo9WOO6pCkYnSkB","W6ddSX/dU8o+","omoWWPpdJ3RcGW","WRqfoxBdUa","n8k+WRxdHmkEaSkPWPm","WQtdQmkPW6fEFq","WPnhe20ZFCoerSo0WPORvSoI","uuRdILhcOq","a8o5W4pcM8k/mmoz","WO86g3ZdOq","WO1DWPepW7BdIq","rSooixnXW45vlW","mwpdQKldNa","jCkOWOTeWRJdSW","W5yEW4rAW4JdI8kLps7dSq","pvxcNCktrqlcVL0tW4O","p1WEWOWSW6tcHG","hclcMbfaamk2f8oO","W6/cRSk/","WQRdKmkOsdmis8kT","WPdcTtnCWOHcW6S2"];return(_0x2dff=function(){return t})()}_0x2b8671[_0x269586(297,"4qDP")]=_0x269586(291,"]]lK"),_0x2b8671.default="sans-serif";const FONT_FAMILY=Platform[_0x269586(400,"4qDP")](_0x2b8671),CANVAS_W=BOARD_WIDTH,CANVAS_H=BOARD_HEIGHT,CELL_STRIDE=TILE_SIZE+_0x242556.TILE_GAP,WELL_X=(BOARD_WIDTH-PLAY_WIDTH)/2,WELL_Y=(BOARD_HEIGHT-PLAY_HEIGHT)/2,HIT_MARGIN=_0x242556[_0x269586(391,"M[BV")]/2,TOTAL=GRID_SIZE*GRID_SIZE,CELL_POSITIONS=(()=>{const t=_0x269586,e={};e[t(363,"H[TA")]=function(t,e){return t%e},e[t(321,"@JeY")]=function(t,e){return t+e},e[t(311,"9z48")]=function(t,e){return t*e},e.RQpSS=function(t,e){return t*e};const n=e,o=new Array(TOTAL);for(let e=0;e<TOTAL;e++){const r=e/GRID_SIZE|0,W=n[t(362,"f&Kn")](e,GRID_SIZE),_=n[t(357,"OoA^")](WELL_X,n[t(312,"OoA^")](W,CELL_STRIDE)),i=WELL_Y+n[t(396,"la@K")](r,CELL_STRIDE),s={};s.cx=_,s.cy=i,s.transform=[{translateX:_},{translateY:i}],o[e]=s}return o})(),FONT_SIZE=Math[_0x269586(336,"i#$M")](.5*TILE_SIZE),_0x4278e9={};_0x4278e9[_0x269586(402,"i#$M")]=FONT_FAMILY,_0x4278e9[_0x269586(398,"(gvY")]=FONT_SIZE,_0x4278e9[_0x269586(296,"[uIU")]=_0x269586(354,"[uIU"),_0x4278e9[_0x269586(385,"ihgO")]=_0x269586(372,"*EwG");const TILE_FONT=matchFont(_0x4278e9),TEXT_METRICS=new Map,_textY=(TILE_SIZE+.72*FONT_SIZE)/2;for(let t=10;t<=99;t++){const e=t[_0x269586(293,"2IBE")](),n=TILE_FONT[_0x269586(332,"cp&N")](e).width,o={};o.x=(TILE_SIZE-n)/2,o.y=_textY,TEXT_METRICS[_0x269586(319,"*812")](e,o)}const TilesCanvas=_0x187cfd.memo(()=>{const t=_0x269586,e={dEINx:function(t,e,n){return t(e,n)},mGBrS:function(t,e,n){return t(e,n)},TlFzp:t(367,"M*fm")},n=useGridVersion(),o=useMemo(()=>{const n=t,o=useFindDiffStore.getState(),{numbers:r,foundIndices:W}=o;if(0===r[n(316,"2IBE")])return null;const _=new Array(TOTAL);for(let t=0;t<TOTAL;t++)if(n(329,"oEZc")===n(399,"e]TU")){const o=CELL_POSITIONS[t],i=W[n(365,"9z48")](t),s=r[t][n(315,"tKrW")](),a=TEXT_METRICS[n(292,"vhhj")](s);if(!a)continue;const S=i?_0x1b297e[n(393,"f&Kn")]:_0x1b297e.TILE_BG,d={x:0,y:0};d.width=TILE_SIZE,d[n(324,"OoA^")]=TILE_SIZE,d.r=TILE_R,d[n(343,"qCHh")]=S;const u={};u.x=a.x,u.y=a.y,u[n(323,"qCHh")]=s,u.font=TILE_FONT,u[n(300,"fu4u")]=_0x1b297e[n(310,"(#Fy")],_[t]=_0x5d3e2e(Group,{transform:o[n(376,"%ZP2")],children:[e.dEINx(_0x1cca59,RoundedRect,d),e[n(328,"SqP5")](_0x1cca59,_0x194b20,u)]},t)}else{const t=_0x30bc62.toString(),e=_0x3159b1.measureText(t)[n(360,"*8v#")],o={};o.x=(_0x319a03-e)/2,o.y=_0x3d9b6a,_0x26a7b9.set(t,o)}return _},[n]);return e[t(346,"oW9[")](_0x1cca59,Canvas,{style:canvasStyles[t(370,"[uIU")],pointerEvents:e.TlFzp,children:o})});TilesCanvas[_0x269586(380,"GAXF")]=_0x269586(345,"VKu8");export const GameGrid=_0x187cfd[_0x269586(314,"qCHh")](({soundEnabledRef:t,hapticEnabledRef:e})=>{const n="D*Tv",o=_0x269586,r={iswkH:function(t,e){return t+e},AxCzo:function(t,e){return t<e},tXAfD:function(t,e){return t<e},STDiF:function(t,e){return t*e},inRYJ:function(t,e){return t<e},ctQsd:function(t,e){return t>e},vomOx:function(t,e){return t*e},SAVqi:function(t,e,n){return t(e,n)},awzhO:function(t,e,n){return t(e,n)},HuWKr:function(t,e,n){return t(e,n)},pYQqr:function(t,e){return t(e)},SZASJ:function(t,e){return t(e)},wbRuI:function(t,e,n){return t(e,n)}},W=useRef(!1),_=r[o(325,"omi8")](useSharedValue,1),i=useSharedValue(0);useEffect(()=>{const t=o;W.current=useFindDiffStore[t(322,"4qDP")]().isPlaying;const e=useFindDiffStore[t(303,"[uIU")](e=>e[t(374,"fu4u")],t=>{W.current=t});return()=>{e()}},[]);const s={};s.scale=_[o(377,"IZj3")];const a={};a[o(339,"%ZP2")]=i[o(348,"cp&N")];const S=r[o(327,"qCHh")](useAnimatedStyle,()=>({transform:[s,a]})),d=r.SZASJ(useRef,(s,a)=>{const S=o;if(!W.current)return;const d=s-WELL_X,u=a-WELL_Y;if(d<-HIT_MARGIN||u<-HIT_MARGIN)return;const x=Math[S(317,"tV6J")](r[S(383,"3E(P")](d,HIT_MARGIN)/CELL_STRIDE),f=Math[S(306,"*8v#")]((u+HIT_MARGIN)/CELL_STRIDE);if(r[S(349,"*812")](f,0)||f>=GRID_SIZE||r[S(364,"OoA^")](x,0)||x>=GRID_SIZE)return;const I=x*CELL_STRIDE,m=r[S(381,"ihgO")](f,CELL_STRIDE);if(d<I||d>r.iswkH(I,TILE_SIZE)||r[S(390,"la@K")](u,m)||r.ctQsd(u,m+TILE_SIZE))return;const T=r.vomOx(f,GRID_SIZE)+x,E=useFindDiffStore[S(358,"4kZz")]()[S(371,"4kZz")](T);if("correct"===E)playSound(GAME_SOUNDS[S(384,"#Nxa")].CORRECT,t.current),playHaptic(HapticType.SUCCESS,e[S(313,"C]tF")]),_.value=r[S(388,"3E(P")](withSequence,r[S(299,"omi8")](withTiming,_0x1d5240[S(308,"ca!B")],{duration:150,easing:Easing[S(375,n)](Easing[S(366,"axFH")])}),withTiming(1,{duration:150,easing:Easing[S(337,"(gvY")](Easing[S(320,"@JeY")])}));else if(E===S(386,"oEZc")){playSound(GAME_SOUNDS[S(309,"2IBE")][S(373,"#Nxa")],t.current),playHaptic(HapticType[S(395,"KWNk")],e[S(403,n)]);const o={};o[S(294,"IZj3")]=50;const W={};W[S(340,"]]lK")]=50;const _={};_[S(387,"cp&N")]=50;const s={};s[S(301,"GAXF")]=50;const a={duration:50};i.value=withSequence(withTiming(-6,o),withTiming(6,W),withTiming(-4,_),withTiming(4,s),r.HuWKr(withTiming,0,a))}}),u=useMemo(()=>Gesture[o(326,"]]lK")]().onEnd(t=>{runOnJS(d[o(344,"e]TU")])(t.x,t.y)}),[]),x={};x.width=CANVAS_W,x.height=CANVAS_H;const f=r[o(359,"2IBE")](useMemo,()=>[styles[o(318,"(#Fy")],x,S],[S]);return r[o(361,"*812")](_0x1cca59,GestureDetector,{gesture:u,children:_0x1cca59(_0xf3c197.View,{style:f,children:_0x1cca59(TilesCanvas,{})})})});const _0x3922af={};_0x3922af[_0x269586(331,"3E(P")]="absolute",_0x3922af[_0x269586(333,"*EwG")]=0,_0x3922af.left=0,_0x3922af[_0x269586(394,"BGbJ")]=CANVAS_W,_0x3922af.height=CANVAS_H;const _0xb105c3={};_0xb105c3[_0x269586(389,"oW9[")]=_0x3922af;const canvasStyles=StyleSheet[_0x269586(392,"omi8")](_0xb105c3),_0x1a0d47={};_0x1a0d47.alignSelf=_0x269586(304,"9z48");const _0x22b328={};_0x22b328[_0x269586(379,"omi8")]=_0x1a0d47;const styles=StyleSheet[_0x269586(397,"M*fm")](_0x22b328);GameGrid[_0x269586(369,"M[BV")]=_0x269586(355,"tV6J");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x3a722a=_0x369c;!function(){const e=_0x369c,o=_0x172b();for(;;)try{if(377384==parseInt(e(133,"TiOM"))/1+parseInt(e(124,")*N)"))/2*(parseInt(e(136,"B7yA"))/3)+-parseInt(e(110,"B2$!"))/4+-parseInt(e(114,"nmCO"))/5+parseInt(e(122,"ve%S"))/6+-parseInt(e(107,"HGn6"))/7+-parseInt(e(117,"nN^x"))/8*(-parseInt(e(108,"3[oZ"))/9))break;o.push(o.shift())}catch(e){o.push(o.shift())}}();import{c as _0x2e4eeb}from"react/compiler-runtime";import _0x257e49 from"react";import{View}from"react-native";function _0x172b(){const e=["W6GPWOxdQIfGtW","CCofkMxdRmkfWPyjt8kj","xxLsW4W9W55bmtZdNdm","qSoAcbHtWQ8XWRLlW6qVW40","vw/dH2q0","ECoglwRcT8oeW4eYuSk2iwpcMW","DXqgu10","WOnjC8ovW5TCAG","WOBdJ8oO","irNcPdHvW6VdGuldJCkQW5TXwa","WPtcVmkaWPlcJ8kYW55MWPJdMSkeyW","W6RcO8kkWRxcUG","Emkhfmk8ha","irdcPuGVWPJcP0BdGG","mCo1DmoyshVdSJjGW7TcjNy","Bmk8W4VcMmoummkVz8ohprTQW5O","W69Azqn9W57cGwX6WRBcVSkp","mSoRWP/dMmkeDa","W7ddK2NdMgdcRCkoW5r8WQyQW6FdIa","bmkSpmotW4m","bYNcQSkDWQP4WOGAiYm","yYVcQSo7W5e","lK8WWQRdKmkwnNtcQSohFaNdLW","qmoBcr5uWQnKWRTxW4iRW7y/","fuzuWQldUq","xK5cWPFdNYpcIa","FSkEW7OPWQO","tmopB8oUWQRdOmkyz8oldG","WPNdHCoYW7K","e8kzkmo1W64","pYrwW60bW55tACk9W6riWOOx"];return(_0x172b=function(){return e})()}import{useTimeLeft,useScore,useRemainingDiff}from"../FindDifferentNumberStore.js";import{ScoreBoardContainer,ScoreValue,ScoreTimer,ScoreColumn,scoreBoardStyles as _0x4ae087}from"../../../helpers/index.js";function _0x369c(e,o){e-=106;const r=_0x172b();let t=r[e];if(void 0===_0x369c.uHPiLQ){const e=function(e,o){let r,t,n=[],i=0,W="";for(e=function(e){let o="",r="";for(let r,t,n=0,i=0;t=e.charAt(i++);~t&&(r=n%4?64*r+t:t,n++%4)?o+=String.fromCharCode(255&r>>(-2*n&6)):0)t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(t);for(let e=0,t=o.length;e<t;e++)r+="%"+("00"+o.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(r)}(e),t=0;t<256;t++)n[t]=t;for(t=0;t<256;t++)i=(i+n[t]+o.charCodeAt(t%o.length))%256,r=n[t],n[t]=n[i],n[i]=r;t=0,i=0;for(let o=0;o<e.length;o++)t=(t+1)%256,i=(i+n[t])%256,r=n[t],n[t]=n[i],n[i]=r,W+=String.fromCharCode(e.charCodeAt(o)^n[(n[t]+n[i])%256]);return W};_0x369c.YFcFGE=e,_0x369c.lqkncl={},_0x369c.uHPiLQ=!0}const n=r[0];_0x369c.pEOhKt!==n&&(_0x369c.lqkncl={},_0x369c.pEOhKt=n);const i=_0x369c.lqkncl[e];return void 0===i?(void 0===_0x369c.EJERxr&&(_0x369c.EJERxr=!0),t=_0x369c.YFcFGE(t,o),_0x369c.lqkncl[e]=t):t=i,t}import{jsx as _0x36ee27,jsxs as _0x51c946}from"react/jsx-runtime";export const ScoreBoard=_0x257e49[_0x3a722a(120,"7MEk")](e=>{const o=_0x3a722a,r={VtnHw:function(e,o){return e(o)},xBRSb:function(e){return e()},EGQoT:function(e,o,r){return e(o,r)},nMPFP:function(e,o,r){return e(o,r)},dAmJH:function(e,o){return e!==o}},t=r[o(113,"eg[M")](_0x2e4eeb,13),{offset:n}=e,i=void 0===n?0:n,W=useScore(),a=r[o(135,"lxV!")](useRemainingDiff),x=r[o(134,"BacB")](useTimeLeft);let s,m,f,d,u;if(t[0]!==W){const e={};e[o(116,"nN^x")]=W,s=r[o(127,"B7yA")](_0x36ee27,ScoreValue,e),t[0]=W,t[1]=s}else s=t[1];if(t[2]!==a){const e={};e[o(118,"2gBd")]="LEFT",e[o(129,"y#3E")]=a,m=_0x36ee27(ScoreColumn,e),t[2]=a,t[3]=m}else m=t[3];if(t[4]!==x){const e={};e[o(123,"oWNE")]=x,f=r.nMPFP(_0x36ee27,ScoreTimer,e),t[4]=x,t[5]=f}else f=t[5];if(t[6]!==s||t[7]!==m||t[8]!==f){const e={};e[o(111,"6tax")]=_0x4ae087[o(131,"7MEk")],e.children=[s,m,f],d=_0x51c946(View,e),t[6]=s,t[7]=m,t[8]=f,t[9]=d}else d=t[9];if(t[10]!==i||r[o(121,"6tax")](t[11],d)){const e={};e[o(109,"HGn6")]=i,e.children=d,u=_0x36ee27(ScoreBoardContainer,e),t[10]=i,t[11]=d,t[12]=u}else u=t[12];return u});ScoreBoard[_0x3a722a(125,"#bjW")]=_0x3a722a(119,"7QGN");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";!function(){const e=_0x5afc,t=_0x311f();for(;;)try{if(392212==-parseInt(e(471,"B$Vq"))/1*(-parseInt(e(484,"k!93"))/2)+-parseInt(e(596,"^FiY"))/3*(parseInt(e(632,"ni]y"))/4)+parseInt(e(629,"1J$4"))/5*(parseInt(e(487,"dqNz"))/6)+-parseInt(e(481,"WmSq"))/7*(-parseInt(e(513,"dqNz"))/8)+-parseInt(e(499,"ODPb"))/9+-parseInt(e(543,"3CKY"))/10+-parseInt(e(597,"fsI0"))/11*(-parseInt(e(620,"N]YG"))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();import{create}from"zustand";import{subscribeWithSelector}from"zustand/middleware";import{immerMiddleware}from"../../services/UtilsService.js";import{FLAPPY_BIRD_GAME_CONFIG,FLAPPY_BIRD_SETTINGS}from"./FlappyBirdConstants.js";import{isTablet}from"../../services/UtilsService.js";function _0x5afc(e,t){e-=462;const o=_0x311f();let a=o[e];if(void 0===_0x5afc.RlpzjD){const e=function(e,t){let o,a,r=[],n=0,d="";for(e=function(e){let t="",o="";for(let o,a,r=0,n=0;a=e.charAt(n++);~a&&(o=r%4?64*o+a:a,r++%4)?t+=String.fromCharCode(255&o>>(-2*r&6)):0)a="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(a);for(let e=0,a=t.length;e<a;e++)o+="%"+("00"+t.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(o)}(e),a=0;a<256;a++)r[a]=a;for(a=0;a<256;a++)n=(n+r[a]+t.charCodeAt(a%t.length))%256,o=r[a],r[a]=r[n],r[n]=o;a=0,n=0;for(let t=0;t<e.length;t++)a=(a+1)%256,n=(n+r[a])%256,o=r[a],r[a]=r[n],r[n]=o,d+=String.fromCharCode(e.charCodeAt(t)^r[(r[a]+r[n])%256]);return d};_0x5afc.MbLCAX=e,_0x5afc.SyQqXD={},_0x5afc.RlpzjD=!0}const r=o[0];_0x5afc.GUawBa!==r&&(_0x5afc.SyQqXD={},_0x5afc.GUawBa=r);const n=_0x5afc.SyQqXD[e];return void 0===n?(void 0===_0x5afc.vLPdXm&&(_0x5afc.vLPdXm=!0),a=_0x5afc.MbLCAX(a,t),_0x5afc.SyQqXD[e]=a):a=n,a}import{playSound,GAME_SOUNDS}from"../../services/SoundsService.js";import{playHaptic,HapticType}from"../../services/HapticsService.js";import{setGameInterval,clearGameInterval}from"../../helpers/GameTimer.js";const pipeSharedValuesMap=new Map;let birdSharedValues=null,birdVelocityJS=0,cachedIsPlaying=!1,cachedIsGameOver=!1,gameLoopId=null,pipeSpawnIntervalId=null,timerIntervalId=null;export const registerBirdSharedValues=e=>{birdSharedValues=e};export const unregisterBirdSharedValues=()=>{birdSharedValues=null};export const registerPipeSharedValues=(e,t)=>{pipeSharedValuesMap[_0x5afc(465,"Y!^F")](e,t)};export const unregisterPipeSharedValues=e=>{pipeSharedValuesMap[_0x5afc(628,"WmSq")](e)};export const getBirdY=()=>{const e=_0x5afc;return birdSharedValues?birdSharedValues.y[e(621,"DW7P")]:FLAPPY_BIRD_GAME_CONFIG[e(611,"^FiY")]};export const getBirdVelocity=()=>birdVelocityJS;export const getPipeX=e=>{const t=_0x5afc,o=pipeSharedValuesMap[t(625,"TDlD")](e);return o?o.x[t(662,"tm*$")]:null};const clearAllIntervals=()=>{const e=_0x5afc,t={LxDBX:function(e,t){return e(t)}},o=e(475,"^Pbu")[e(595,"pL)h")]("|");let a=0;for(;;){switch(o[a++]){case"0":timerIntervalId&&t[e(644,"Wpoe")](clearGameInterval,timerIntervalId);continue;case"1":timerIntervalId=null;continue;case"2":gameLoopId=null;continue;case"3":pipeSpawnIntervalId&&clearGameInterval(pipeSpawnIntervalId);continue;case"4":pipeSpawnIntervalId=null;continue;case"5":gameLoopId&&cancelAnimationFrame(gameLoopId);continue}break}},clearPhysicsMaps=()=>{pipeSharedValuesMap.clear(),birdVelocityJS=0,cachedIsPlaying=!1,cachedIsGameOver=!1},BASE_BRICK_WALL_HEIGHT=150,generateRandomPipeHeight=(e=0)=>{const t=_0x5afc,o={};o[t(508,"Ifq!")]=function(e,t){return e-t},o[t(502,"KlQg")]=function(e,t){return e===t},o[t(514,"TDlD")]=t(578,"FARg"),o[t(669,"&lCR")]=function(e,t){return e/t},o[t(622,"8IxI")]=function(e,t){return e*t},o[t(667,"(WDl")]=function(e,t){return e*t};const a=o,{MIN_PIPE_HEIGHT:r,GAME_HEIGHT:n,PIPE_GAP:d}=FLAPPY_BIRD_GAME_CONFIG,i=150+e,s=e>0?150:250,W=a.jAHsS(n-i,s);if(isTablet){if(!a.JCGpp(a[t(537,"3CKY")],t(552,"qD3)"))){const e=i+W/2-a[t(528,"ML2(")](d,2),o=a.nndtI(W,.15);return e-o+2*a[t(490,"N]YG")](Math[t(480,"fsI0")](),o)}_0x5ba07d[t(635,"^FiY")].push({id:t(523,"1J$4")+_0x33f8d3[t(637,"vUpm")]()+"-"+_0x36aba7[t(497,"^FiY")](),x:_0x3e7341,y:_0x3a6962})}const l=i+r,u=i+.6*W;return l+Math[t(583,"Y!^F")]()*(u-l)};export const useFlappyBirdStore=create()(subscribeWithSelector(immerMiddleware((e,t)=>({isPlaying:!1,isGameOver:!1,isGameWon:!1,score:0,timeRemaining:60,timeLimit:60,birdY:FLAPPY_BIRD_GAME_CONFIG.BIRD_START_Y,birdVelocity:0,pipes:[],collisionBlasts:[],initializeGame:t=>{const o=_0x5afc,a=FLAPPY_BIRD_SETTINGS;clearAllIntervals(),clearPhysicsMaps(),cachedIsPlaying=!1,cachedIsGameOver=!1,birdSharedValues&&(birdSharedValues.y[o(652,"ni]y")]=FLAPPY_BIRD_GAME_CONFIG[o(575,"QEv(")],birdSharedValues.velocity.value=0),e(e=>{const t=o;e[t(565,"MkBJ")]=!1,e[t(549,"B$Vq")]=!1,e[t(617,"Wpoe")]=!1,e[t(660,"70Au")]=0,e[t(536,"DSJP")]=a[t(494,"^Pbu")],e[t(568,"#Tx9")]=a[t(665,"^FiY")],e[t(539,"QEv(")]=FLAPPY_BIRD_GAME_CONFIG.BIRD_START_Y,e[t(473,"fsI0")]=0,e[t(610,"k!93")]=[],e.collisionBlasts=[]})},startGame:o=>{const a=_0x5afc,r={zxeFe:function(e,t){return e||t},YKBxD:function(e,t){return e(t)},aCxkI:function(e){return e()},YjrkD:function(e,t,o){return e(t,o)}};clearAllIntervals(),clearPhysicsMaps();const n=FLAPPY_BIRD_SETTINGS;birdVelocityJS=0,birdSharedValues&&(birdSharedValues.y[a(591,"MkBJ")]=FLAPPY_BIRD_GAME_CONFIG[a(648,"Wpoe")],birdSharedValues[a(640,"QEv(")][a(630,"#Tx9")]=0),cachedIsPlaying=!0,cachedIsGameOver=!1,e(e=>{const t=a;e[t(608,"70Au")]=!0,e[t(516,"^Pbu")]=!1,e[t(519,"2!Ig")]=!1,e[t(520,"Y!^F")]=FLAPPY_BIRD_GAME_CONFIG.BIRD_START_Y,e[t(579,"k!93")]=0,e.pipes=[],e.score=0,e[t(572,"(WDl")]=n.timeLimit,e.timeLimit=n[t(576,"N]YG")]});const d=r[a(606,"Ifq!")](t)[a(512,"RSQp")];let i=0;const s=1e3/60,W=e=>{const t=a,n={gHQCG:function(e,t){return e(t)}};if(!r.zxeFe(!cachedIsPlaying,cachedIsGameOver)){if(e-i>=s){if(t(613,"QEv(")===t(614,"N]YG"))return n[t(485,"(ul*")](_0x2f4e5b,_0xcf68fe);i=e,d(o)}gameLoopId=requestAnimationFrame(W)}};gameLoopId=requestAnimationFrame(W);const l=t()[a(544,"qJJs")];pipeSpawnIntervalId=setGameInterval(()=>{cachedIsPlaying&&!cachedIsGameOver&&r[a(609,"3*sf")](l,o)},n[a(531,"^FiY")]);const u=t().checkTimeUp;timerIntervalId=r[a(619,"^FiY")](setGameInterval,()=>{const o=a;if(!cachedIsPlaying||cachedIsGameOver)return;e(e=>{const t=_0x5afc;e[t(489,"FARg")]>0&&(e[t(646,"70Au")]-=1)});const n=t();n[o(470,"(ul*")]&&n[o(536,"DSJP")]<=0&&r[o(666,"ODPb")](u)},1e3),setTimeout(()=>{cachedIsPlaying&&l(o)},500)},stopGame:()=>{const e=_0x5afc;clearAllIntervals(),clearPhysicsMaps(),t()[e(524,"Ifq!")]()},resetGame:()=>{const t="lesz",o=_0x5afc;({hsabi:function(e){return e()}})[o(557,"DW7P")](clearAllIntervals),clearPhysicsMaps(),birdSharedValues&&(birdSharedValues.y[o(506,"pL)h")]=FLAPPY_BIRD_GAME_CONFIG[o(505,"pbdA")],birdSharedValues[o(479,"^B&C")][o(651,"70Au")]=0),e(e=>{const a=o,r=a(564,"YVmZ").split("|");let n=0;for(;;){switch(r[n++]){case"0":e[a(541,t)]=!1;continue;case"1":e[a(493,t)]=!1;continue;case"2":e.score=0;continue;case"3":e[a(496,"jJ0B")]=!1;continue;case"4":e.birdY=FLAPPY_BIRD_GAME_CONFIG.BIRD_START_Y;continue;case"5":e[a(521,"Wpoe")]=[];continue;case"6":e[a(586,"CkPd")]=0;continue;case"7":e[a(653,"RSQp")]=[];continue;case"8":e[a(482,"3CKY")]=e.timeLimit;continue}break}})},jump:()=>{const e=_0x5afc;cachedIsPlaying&&!cachedIsGameOver&&(birdVelocityJS=FLAPPY_BIRD_GAME_CONFIG[e(615,"FARg")],birdSharedValues&&(birdSharedValues[e(503,"^FiY")][e(612,"qD3)")]=FLAPPY_BIRD_GAME_CONFIG[e(560,"lesz")]))},updatePhysics:o=>{const a="pL)h",r="8IxI",n="Y!^F",d="3CKY",i=_0x5afc,s={hnwll:function(e,t){return e>t},ACScU:function(e){return e()},aFqtp:function(e,t){return e+t},BsPzc:function(e,t){return e>t},YhKWe:function(e,t){return e+t},KVAlK:"XCsKJ",MLYPn:function(e,t){return e-t},VkMJU:function(e,t){return e<t},AURQN:function(e,t){return e>t},kPBbe:function(e,t){return e>t},lLAMy:i(530,"TDlD"),RNNye:function(e,t){return e>t},sqvNA:function(e,t){return e/t},mPuOE:function(e,t){return e+t},SafPl:function(e,t){return e/t},rGZQp:function(e,t,o){return e(t,o)},YtkCd:function(e,t){return e(t)},NotkP:function(e,t){return e/t}};if(!cachedIsPlaying||cachedIsGameOver)return;const W=s.ACScU(t),l=FLAPPY_BIRD_SETTINGS,{GAME_HEIGHT:u,GRAVITY:p,BIRD_SIZE:m,MAX_FALL_SPEED:S,VELOCITY_DAMPING:I,PIPE_WIDTH:P,BIRD_START_X:f}=FLAPPY_BIRD_GAME_CONFIG,_=o[i(555,"CkPd")]??0,G=s.aFqtp(150,_),k=u-(s[i(600,"qD3)")](_,0)?150:250);birdVelocityJS+=p,birdVelocityJS*=I,birdVelocityJS>S&&(birdVelocityJS=S);let h=birdSharedValues?birdSharedValues.y[i(506,a)]:W[i(573,"su57")];h+=birdVelocityJS;let C=!1,x=!1;h<G&&(h=G,birdVelocityJS=0,C=!0),s.YhKWe(h,m)>k&&(s[i(542,"k!93")]!==i(532,"MkBJ")?(h=s[i(466,"qJJs")](k,m),x=!0):(_0x3b693f.isPlaying=!1,_0x5659dd[i(569,"MkBJ")]=!1,_0x4b3c6a[i(590,r)]=!1,_0x5a7d85.score=0,_0x442787[i(659,"qD3)")]=_0x9199[i(574,"r&7W")],_0xbeb3bc.timeLimit=_0x4dbcf3.timeLimit,_0x344e1c[i(658,"qJJs")]=_0x2a0b55.BIRD_START_Y,_0x2b2e3a[i(604,"QEv(")]=0,_0x24f6c0.pipes=[],_0x1a57a8.collisionBlasts=[])),birdSharedValues&&(birdSharedValues.y[i(645,"DSJP")]=h,birdSharedValues[i(584,"TDlD")].value=birdVelocityJS);let R=0;const A=[],V=[],O=W[i(636,"(ul*")];for(let e=0;e<O[i(566,"^FiY")];e++){const t=O[e],o=pipeSharedValuesMap[i(469,"DW7P")](t.id);if(!o)continue;const r=o.x[i(633,n)]-l[i(478,"MkBJ")];o.x[i(550,d)]=r,!t[i(474,"ANN3")]&&s[i(587,"pL)h")](r+P,f)&&(V.push(t.id),R+=500),s[i(486,"Ifq!")](r+P,0)&&A[i(558,a)](t.id)}if((s[i(525,"k!93")](R,0)||s.kPBbe(A[i(570,d)],0))&&(s[i(627,"Wpoe")]===i(561,"k!93")?_0x3c2861[i(616,"dqNz")](_0x4f26d5.id)&&(_0x5b60b0[i(601,"dqNz")]=!0):(s[i(535,"pL)h")](R,0)&&playSound(GAME_SOUNDS.FLAPPY_BIRD[i(631,"ni]y")],o[i(472,"Wpoe")]),e(e=>{const t=i;if(R>0&&(e[t(500,"N]YG")]+=R),s[t(571,"3CKY")](V.length,0))for(const o of e[t(636,"(ul*")])V[t(546,"jJ0B")](o.id)&&(o[t(477,"DSJP")]=!0);if(A[t(467,"r&7W")]>0){e[t(522,"dqNz")]=e.pipes[t(585,"p[d%")](e=>!A[t(556,"Wpoe")](e.id));for(const e of A)pipeSharedValuesMap[t(548,"^FiY")](e)}}))),C){cachedIsPlaying=!1,cachedIsGameOver=!0,e(e=>{const t=i;e.isGameOver=!0,e[t(463,"p[d%")]=!1,e[t(533,"8IxI")]=h});const a=f+s[i(540,"YVmZ")](m,2),r=s[i(656,"Y!^F")](G,s[i(498,"2!Ig")](m,2));return t()[i(647,"K5!s")](a,r),playSound(GAME_SOUNDS[i(593,"ANN3")][i(545,"B$Vq")],o[i(488,"(ul*")],!0),s.rGZQp(playHaptic,HapticType[i(589,"CkPd")],o[i(518,"70Au")]),void s[i(527,"ODPb")](clearAllIntervals)}if(x){cachedIsPlaying=!1,cachedIsGameOver=!0,s[i(491,"MkBJ")](e,e=>{const t=i;e.isGameOver=!0,e[t(501,"tm*$")]=!1,e.birdY=h});const d=f+s[i(495,"fsI0")](m,2),W=s[i(559,n)](k,m/2);return t()[i(598,"TDlD")](d,W),playSound(GAME_SOUNDS.FLAPPY_BIRD[i(643,"^Pbu")],o.enableSounds,!0),playHaptic(HapticType.HEAVY,o[i(624,a)]),void s[i(605,r)](clearAllIntervals)}t()[i(551,"vUpm")](o)&&clearAllIntervals()},spawnPipe:t=>{const o=_0x5afc,a={fzfqP:function(e,t){return e+t}};if(!cachedIsPlaying||cachedIsGameOver)return;const r=FLAPPY_BIRD_SETTINGS,n=t[o(507,"vUpm")]??0,d=generateRandomPipeHeight(n),i=a[o(462,"ODPb")](d,r[o(649,"DW7P")]),s={id:o(602,"qD3)")+Date[o(577,"FARg")]()+"-"+Math[o(654,"CkPd")](),x:FLAPPY_BIRD_GAME_CONFIG[o(538,"Wpoe")],topHeight:d,bottomY:i,passed:!1};e(e=>{const t=o;e[t(603,"r&7W")][t(664,"^FiY")](s)})},checkCollision:o=>{const a=_0x5afc,r={qMVDv:function(e,t){return e+t},pczXo:"6|3|4|0|2|5|1",ficMk:function(e,t,o){return e(t,o)}},n=t(),{BIRD_START_X:d,BIRD_SIZE:i,PIPE_WIDTH:s}=FLAPPY_BIRD_GAME_CONFIG,W=birdSharedValues?birdSharedValues.y[a(515,"^Pbu")]:n.birdY,l=d,u=d+i,p=W,m=r[a(623,"su57")](W,i),S=d+i/2,I=r[a(483,"r&7W")](W,i/2);for(const d of n[a(618,"3CKY")]){const n=getPipeX(d.id)??d.x;if(u>n&&l<n+s){if(p<d.topHeight){const n=r[a(626,"B$Vq")][a(567,"WmSq")]("|");let d=0;for(;;){switch(n[d++]){case"0":e(e=>{const t=a;e[t(509,"QEv(")]=!0,e[t(588,"N]YG")]=!1,e[t(533,"8IxI")]=W});continue;case"1":return!0;case"2":playSound(GAME_SOUNDS[a(534,"fsI0")][a(562,"DW7P")],o[a(599,")u8Z")],!0);continue;case"3":cachedIsGameOver=!0;continue;case"4":t()[a(661,"#Tx9")](S,I);continue;case"5":playHaptic(HapticType[a(589,"CkPd")],o[a(663,"2!Ig")]);continue;case"6":cachedIsPlaying=!1;continue}break}}if(m>d[a(581,"ODPb")]){if(a(547,"pL)h")!==a(504,"qJJs"))return cachedIsPlaying=!1,cachedIsGameOver=!0,t().addCollisionBlast(S,I),e(e=>{const t=a;e[t(594,"TDlD")]=!0,e[t(517,"8IxI")]=!1,e[t(554,"Ifq!")]=W}),playSound(GAME_SOUNDS[a(492,"&lCR")][a(526,"vUpm")],o[a(582,"3CKY")],!0),r.ficMk(playHaptic,HapticType.HEAVY,o[a(650,"CkPd")]),!0;_0x22d207=_0x53e1c4,_0x5d8a43=0,_0x58e044=!0}}}return!1},addCollisionBlast:(t,o)=>{e(e=>{const a=_0x5afc;e.collisionBlasts[a(655,"ML2(")]({id:a(476,"DW7P")+Date.now()+"-"+Math.random(),x:t,y:o})})},removeCollisionBlast:t=>{e(e=>{const o=_0x5afc;e.collisionBlasts=e[o(639,"QEv(")][o(511,"RSQp")](e=>e.id!==t)})},checkTimeUp:()=>{const o=_0x5afc,a={xOZdY:function(e,t){return e<=t}},r=t();r[o(553,"YVmZ")]&&a[o(641,"CkPd")](r[o(659,"qD3)")],0)&&(cachedIsPlaying=!1,cachedIsGameOver=!0,clearAllIntervals(),e(e=>{const t=o;e.isPlaying=!1,e[t(510,"k!93")]=!0,e.isGameWon=!0}))}}))));export const useIsPlaying=()=>useFlappyBirdStore(_temp);export const useIsGameOver=()=>useFlappyBirdStore(_temp2);export const useIsGameWon=()=>useFlappyBirdStore(_temp3);export const useScore=()=>({LGvrC:function(e,t){return e(t)}}[_0x5afc(634,"^Pbu")](useFlappyBirdStore,_temp4));export const useTimeRemaining=()=>({DBZkS:function(e,t){return e(t)}}[_0x5afc(642,"FARg")](useFlappyBirdStore,_temp5));export const useBirdY=()=>({EwJth:function(e,t){return e(t)}}[_0x5afc(529,"jJ0B")](useFlappyBirdStore,_temp6));function _0x311f(){const e=["DZVdVrP3W73dKmkPCG","lCoMW6JdPCotWR/dTuhdUSoxW5hdOmkd","jbaoWOxdKmoYW7VcRSoY","kSkOd8oYW78","W6hcJqSXrW","WRhdJwz2W6a","W5zTW7pdMt7cJa","hZnTW5eVpcDfW7eQW6TmpJG","W5ZcVJ7dUCkV","rJBdLclcKabCW77dPq","WQWQWOZcI8kG","iCktW47cMZu","dWxdUq1b","WPpcKSobpCk1","WQlcNmoSm8oioJ0kWQmDWQhdLJRdOGBdUcK","W4pcHa7dLh8","FchdNXjp","o3xcVSoNWP0HxSoKB1VdRa","WRvZhmk/mG","FehdJGVdMtXsare1WP11W64","WRpcQgRcSmkx","W5BcPtyrA3PUW4hcGs8","WQrSxHFdPa","DgLdb14","WPdcL13cTruVASkucqK","W5BcVs3dHmkQ","W4NdPaRdQmoftSobd8oJW7ldN8oTma","eYjpthDLW5ldMXK","hJ5/WPpcSCoGW4PcW7m","iXZdKbvCW4floW","WRvXpmkapa","WRBcKmoWm8oVlW","maX1WRFcG8okW5nXW4ro","WO3cS1BcQmkv","yH/dVatcPaXLW5FdM3BcSSkJWRmi","W67dKCoTWOLX","BMTLjx7cOHhdMLS","fdr2W4eF","WQWMWQrXWQ/dIW","W7JcIHG4quLcW7y","zCoAa8ocWOq","WPDiiCkU","bCknjmogW4G","WRpcSvFcHcCCymkUiZJdUarW","W4/cMcddV8kS","sSoOl8oLWRldLSo/W6Tb","W7FcK3vXW6RdV8oVFW","nMqfnsZcP0RdIaruyrXxW4FdVmo5WQK","W4BcNHddK19UW5n9WQy","WR7cKmoYmCoViG","WRFcPSoed0a","WRCzDq7cO8oXW6P/cq","W4BcNGFdNLnYW7vLWQqP","WPFcT1tcUSkeeq","WPpcVe3cSCkC","WQVdGhNcGwH7W5imkI/cHIHk","WQDVlq9U","h8opashdPSouW77cNSoS","WOrmFJFdOSkCW7ziWPDIa8od","fCkiA0ZdJSk2tYRcQq","WORdHCoZ","WRBdS8oveGm","W7/cGH7dJmk3sCotWQjGW4POWPK","W5ijyCo1z8o6Fv3dO8oZAG","WO8gWQVcNmkAkSon","WP7cVfVcV8kChmkIbCo/W6NdJCog","oSkGe8oYW4NcPq","WPhcLmoSn8kaWQCJza","W43cR8oDqSk1W58","WQePWRbMWPZdMSkAo8o8jCktWQ8","WRfwh8kmaG","cmksvKxdO8kMsY3cUG","WOSfWOnuWPm","DZVdQHD7W6hdRSkOEW","W5NcJcZdILS","W5BcNmk0DLqMw8kAWQZdMmkTWQq5","vK7cL8kecdmaWQVcQvWv","WO7cGSohoCkoWQSyAX/dOG","WPrnpSkViW","W6tdHSo4fCoAmdiV","sGJdJCkgW75aomofre3dRSkAEG","WOBcLCoKg8kmWQi7DaNdUCkCg8kvomoPWPfq","fw9qEHVdOw8/W69RW7xcVG","W6JdJCooWOfq","WRhdHwvGW7BdIq","W5RdL8oUWP4E","g8ophchdMq","WQrSxHFdQ8kQW45MWQzFkmoJ","xWVdVHvd","fX58W44p","msegCc3dQK7dVLjXbIKJ","iCo7W5NdQ8oEWQpdLe7dRq","gCoRvX8K","W63cGHZdJCks","WPdcVmooeSoegqG8WP8aWPddUW","W5ZdN8oYWO5w","WRbnvbVdQG","aSkxtMJdOq","WQ7dV8ojeZ5hlSkZWORdRSksWQGR","WQJdINv/W6BdICozyW","W7JcLZW1wuHWW6RcUW","WOVcU0RcUmkd","WOVcN8oUpCoF","umotD1ddP8k5vc8","E8oidSovWOG","CcBdIqjF","WRrlcs9b","WOjtm8kKo8otCLtdG8oDqbRdLq","WOdcLmo0","krXiWO7cGq","W73cQdOztq","WQdcS8oea0aC","WOuXW6JdRspdUrXY","WRurDb7cIG","WORdPColEa","W6pcLmkShSoVFrZcGhhdLmoa","pSkGeCoJW4m","WRxdHSk9gCkG","WRhcMSoWoSoYotusWQmwWQpdGYZdPam","oY/dRdWL","BXJdRG","W4NcR8oduSkj","WQvQqb/dLmk8W4TMWQT0mmo7DCkTWQ8","WRbGqbZdNSkMW5zW","WRSpWPHMWPm","WQddQmoEkdi","WR7dGmkglSk8b2mwWOi","W53cNd8wBa","FKNdJXVdRG","pmoHW6tdOSoTWR/dKehdO8onW5hdRCkx","WOSclb5OW4NcNK9gWP4uWOmwi8kmvSkE","W5pcRsKqA35ZW4tcHZpdHse","FCoaeSofWQRdUmoz","WQyUWQnGWQBdMSk+nCoVomkoWRxdTG","pSoPW6xdSSoA","WQZdHCo0xSk8","WOpdP8kfk1dcUH3dOmoOyNS8W4uDEq","WReHWQXMWQxdKG","j8kXW5VcMG","jCkrcmozW6m","WPlcOx3cVmkDhmkMbCoK","aJTCx0a","W57dL8oZWP5Hn8osW7hdQw/dH0jX","o8oRW6BdTCoA","WQiuFcJcGmo0W6T/dSk6eYNdLmkKWQNcTuS","z8kfnhuB","ka0OWOBdKCoYW6tcOmoSWPNcI0jk","WQlcGmoVpG","WQBcNmoXm8oxiZeuWRK","WOWQWQFcG8k8","WRRdGKtcJLq","v2mCcIOnWOldIb4AECkXWQi","iYHfWPJdLq","WOStWRNcMCkL","W4lcTCoHwSkXW5qmeZW","W5xdGmk3ACoBWOyLuWVdISkR","o8kKcq","lr53A3C","b8odaIpdNSov","W7W2A14bC8oqA2upkq","ASomfG","iJxdJdu3CCoueSos","B0HrWRtcL8o9W49O","W7tcIHO2weH0W6RcOaNdVGS","h1dcJCotWPSDBCojrwddNmkW","ygpcPCkNpq4","W4ZdVCo4f8otnaCVW6tdTe4","B8ofa8otWPNcTa","EeNdKb3dRJ0","W5/cHdddMM1NW592WQu","uSk0BKGkW7qvjW","d1JcKCotWQiv","W7ddPCkFu3eryCoBWRjh","WO/cU1FcUmkIhmkCc8oJW6NdGmoBha","gSoRoGddNa","WQ/dMLVcMCozzmonWOnYW7Le","la7dJrOr","idzjW68t","W7tcKcuGWQpdOCo7EfFdPXu","lIJdVtS6BCoUe8oazKfA","WPddG8oPjJn0bSkEWQZdG8kYWPiv","bmkkvKpdRa","W7BcMsVdVfO","eZnIWQhdLSodzeZdUJpcPa","WPdcL0RcUbKZtmkmcW","WO3dQmkMdSkVivG6WQq","m1BcI8oCWP0","iWhdTbHeW4b5j3y","WQdcLmoYmSo0jW","hGiVWRtdKq","W5TqW6ZdKCohDSkIW5ZcIv/dG2rr","eSkcAvVdPW","EmkxcgWFE0/cIMK","WR1fAHCw","WQtcKmoWoCo4iYGe","otneDK0","W7ThWRBdJrFdK0tdVSkltXVdTW","WPfCpSkZmG","BHhdVXtcQJS","hbXmW5yv","WQ92AXldKmkQW61/WQbe","W7tcMcVdICkmsCoWWRTMW5e","WOBdOCkfm1ZcUW","WPxdUmknjK3cRctdP8o/u34+W4u","W7FcKceHW7VdOSoMzxtdJa","WQ/cI8oqnCke","WO/dOmkNhSkg","WPddSSkmcSkolxOLWRxdUG"];return(_0x311f=function(){return e})()}export const usePipes=()=>useFlappyBirdStore(_temp7);export const useCollisionBlasts=()=>useFlappyBirdStore(_temp8);function _temp(e){return e.isPlaying}function _temp2(e){return e.isGameOver}function _temp3(e){return e[_0x5afc(657,"3CKY")]}function _temp4(e){return e.score}function _temp5(e){return e[_0x5afc(572,"(WDl")]}function _temp6(e){return e[_0x5afc(638,"p[d%")]}function _temp7(e){return e[_0x5afc(522,"dqNz")]}function _temp8(e){return e.collisionBlasts}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x231cf1=_0x208e;!function(){const e="YP1*",r=_0x208e,_=_0x2282();for(;;)try{if(527734==-parseInt(r(410,e))/1*(-parseInt(r(459,"HSsI"))/2)+parseInt(r(507,e))/3*(-parseInt(r(394,"VPEO"))/4)+-parseInt(r(477,"2iHd"))/5*(-parseInt(r(487,"h@w]"))/6)+-parseInt(r(502,"#piF"))/7*(parseInt(r(401,"YTz]"))/8)+parseInt(r(496,"12Y#"))/9+-parseInt(r(448,"12Y#"))/10*(-parseInt(r(525,"Km7s"))/11)+-parseInt(r(491,"s1NL"))/12)break;_.push(_.shift())}catch(e){_.push(_.shift())}}();import{c as _0x143ad4}from"react/compiler-runtime";import _0x24e82c,{useEffect}from"react";import _0x43d035,{useAnimatedStyle,useSharedValue,interpolate,Extrapolation}from"react-native-reanimated";import{Canvas,Circle,Group,Path,LinearGradient,vec}from"@shopify/react-native-skia";import{FLAPPY_BIRD_GAME_CONFIG}from"../FlappyBirdConstants.js";import{registerBirdSharedValues,unregisterBirdSharedValues}from"../FlappyBirdStore.js";import{jsx as _0x470be8,jsxs as _0xe03bef}from"react/jsx-runtime";const{BIRD_SIZE:BIRD_SIZE,BIRD_START_X:BIRD_START_X,BIRD_START_Y:BIRD_START_Y}=FLAPPY_BIRD_GAME_CONFIG,S=BIRD_SIZE/40,BIRD_CENTER=BIRD_SIZE/2,BODY_RADIUS=BIRD_SIZE/2-2*S,BELLY_RADIUS=.55*BODY_RADIUS,EYE_X=BIRD_CENTER+6*S,EYE_Y=BIRD_CENTER-6*S,BEAK_X=BIRD_CENTER+14*S,BEAK_Y=BIRD_CENTER+2*S,WING_X=BIRD_CENTER-8*S,WING_Y=BIRD_CENTER+4*S,TAIL_X=BIRD_CENTER-16*S,TAIL_Y=BIRD_CENTER,CREST_Y=BIRD_CENTER-BODY_RADIUS,bodyGradientStart=vec(BIRD_CENTER-.6*BODY_RADIUS,BIRD_CENTER-.8*BODY_RADIUS),bodyGradientEnd=vec(BIRD_CENTER+.6*BODY_RADIUS,BIRD_CENTER+.8*BODY_RADIUS),bodyRimStart=vec(BIRD_CENTER+.3*BODY_RADIUS,BIRD_CENTER-.5*BODY_RADIUS),bodyRimEnd=vec(BIRD_CENTER+BODY_RADIUS,BIRD_CENTER+.3*BODY_RADIUS),wingGradientStart=vec(WING_X-10*S,WING_Y-6*S),wingGradientEnd=vec(WING_X+6*S,WING_Y+8*S),beakUpperGradStart=vec(BEAK_X-4*S,BEAK_Y-5*S),beakUpperGradEnd=vec(BEAK_X-4*S,BEAK_Y),beakLowerGradStart=vec(BEAK_X-4*S,BEAK_Y),beakLowerGradEnd=vec(BEAK_X-4*S,BEAK_Y+5*S),bellyGradStart=vec(BIRD_CENTER+2*S,BIRD_CENTER),bellyGradEnd=vec(BIRD_CENTER+2*S,BIRD_CENTER+2*BELLY_RADIUS),eyeIrisStart=vec(EYE_X,EYE_Y-3*S),eyeIrisEnd=vec(EYE_X,EYE_Y+3*S),bodyGradientColors=["#FFE850",_0x231cf1(470,"bRW!"),_0x231cf1(442,"#%k9")],bodyRimColors=[_0x231cf1(457,"Nxqo"),"rgba(255,255,255,0.35)"],wingGradientColors=["#D4912B",_0x231cf1(473,"s8]("),_0x231cf1(399,"QAXZ")],beakUpperColors=[_0x231cf1(421,"2iHd"),_0x231cf1(476,"QJW^")],beakLowerColors=[_0x231cf1(482,"7f5L"),_0x231cf1(533,"Yas*")],bellyGradientColors=[_0x231cf1(425,"QAXZ"),"#FFE8A0"],eyeIrisColors=[_0x231cf1(439,"12Y#"),_0x231cf1(463,"rLKY")],SHADOW_COLOR="rgba(0,0,0,0.2)",BODY_AO_COLOR="rgba(150,80,0,0.2)",CHEEK_COLOR=_0x231cf1(420,"bRW!"),TAIL_BASE="#6B3410",TAIL_MID="#8B4513",TAIL_TIP="#A0522D",TAIL_HL=_0x231cf1(509,"En1S"),EYE_WHITE=_0x231cf1(501,"YP1*"),EYE_SHADOW=_0x231cf1(444,"gjpo"),EYE_RING=_0x231cf1(447,"Yas*"),PUPIL_COLOR="#0D0D0D",SPECULAR=_0x231cf1(438,"HSsI"),CREST_ORANGE="#FF9500",CREST_YELLOW=_0x231cf1(445,"(Zs7"),CREST_SHADOW="rgba(180,80,0,0.25)",WING_LINE=_0x231cf1(416,"f^!c"),BEAK_LINE=_0x231cf1(403,"QlP7"),beakUpperPath="M "+(BEAK_X-4*S)+" "+(BEAK_Y-5*S)+_0x231cf1(523,"VPEO")+(BEAK_X+8*S)+" "+BEAK_Y+" L "+(BEAK_X-4*S)+" "+BEAK_Y+" Z",beakLowerPath="M "+(BEAK_X-4*S)+" "+BEAK_Y+_0x231cf1(398,"DLNu")+(BEAK_X+8*S)+" "+BEAK_Y+_0x231cf1(523,"VPEO")+(BEAK_X-4*S)+" "+(BEAK_Y+5*S)+" Z",beakLinePath="M "+(BEAK_X-4*S)+" "+BEAK_Y+_0x231cf1(417,"Nxqo")+(BEAK_X+8*S)+" "+BEAK_Y,wingPath="M "+WING_X+" "+(WING_Y-6*S)+" Q "+(WING_X-10*S)+" "+WING_Y+" "+WING_X+" "+(WING_Y+8*S)+_0x231cf1(386,"rPta")+(WING_X+8*S)+" "+(WING_Y+4*S)+" "+(WING_X+6*S)+" "+(WING_Y-4*S)+" Z",wingFeather1="M "+(WING_X-5*S)+" "+(WING_Y-1*S)+" Q "+(WING_X-2*S)+" "+(WING_Y+2*S)+" "+(WING_X+3*S)+" "+(WING_Y+1*S),wingFeather2="M "+(WING_X-7*S)+" "+(WING_Y+3*S)+_0x231cf1(479,"HSsI")+(WING_X-3*S)+" "+(WING_Y+5*S)+" "+(WING_X+2*S)+" "+(WING_Y+4*S),tailF1="M "+(TAIL_X+4*S)+" "+(TAIL_Y-2*S)+_0x231cf1(390,"o[DA")+(TAIL_X-5*S)+" "+(TAIL_Y-7*S)+_0x231cf1(478,"QJW^")+(TAIL_X-3*S)+" "+(TAIL_Y-3*S)+" Z",tailF2="M "+(TAIL_X+4*S)+" "+TAIL_Y+_0x231cf1(500,"rLKY")+(TAIL_X-6*S)+" "+TAIL_Y+_0x231cf1(485,"YDVz")+(TAIL_X-4*S)+" "+(TAIL_Y+1*S)+" Z",tailF3="M "+(TAIL_X+4*S)+" "+(TAIL_Y+2*S)+" L "+(TAIL_X-5*S)+" "+(TAIL_Y+7*S)+_0x231cf1(440,"bRW!")+(TAIL_X-3*S)+" "+(TAIL_Y+3*S)+" Z",tailHL1="M "+(TAIL_X+2*S)+" "+(TAIL_Y-2*S)+_0x231cf1(428,"s8](")+(TAIL_X-3*S)+" "+(TAIL_Y-5*S),tailHL2="M "+(TAIL_X+2*S)+" "+(TAIL_Y+2*S)+" L "+(TAIL_X-3*S)+" "+(TAIL_Y+5*S),_0x350067={};_0x350067[_0x231cf1(534,"R3G%")]=_0x231cf1(494,"iZrc"),_0x350067[_0x231cf1(510,"YTz]")]=BIRD_SIZE,_0x350067[_0x231cf1(498,"2iHd")]=BIRD_SIZE;const birdContainerStyle=_0x350067,_0x50b32e={};_0x50b32e.width=BIRD_SIZE,_0x50b32e[_0x231cf1(540,"ogcH")]=BIRD_SIZE;const canvasStyle=_0x50b32e,BirdGraphics=_0x24e82c[_0x231cf1(408,"unSW")](()=>{const e="VPEO",r="#piF",_="7f5L",W="AB!r",t="R3G%",o="#Bcm",n="rPta",a="rLKY",i=_0x231cf1,E={PZfwS:function(e,r,_){return e(r,_)},bGgZx:function(e,r){return e*r},uohTF:function(e,r){return e*r},dJiZS:function(e,r){return e===r},iGlcV:i(519,"gjpo"),XlGsT:i(395,"q2ic"),pcASc:function(e,r){return e*r},DNSqR:i(527,"COOY"),WBvnh:function(e,r){return e===r},kMZsK:function(e,r){return e+r},hHvgU:function(e,r,_){return e(r,_)},LkBQu:function(e,r,_){return e(r,_)},tOKum:function(e,r){return e*r},QlsKl:function(e,r){return e-r},TtWcU:function(e,r){return e*r},tpDrN:function(e,r,_){return e(r,_)},mRmvJ:function(e,r){return e-r},unlZg:function(e,r){return e*r},ppzMe:function(e,r){return e*r},slLSV:function(e,r){return e*r},uirsV:function(e,r,_){return e(r,_)},pRnos:function(e,r){return e+r},ileam:function(e,r){return e+r}},d=_0x143ad4(23);let R,I,x,s,l,C,f,B,D,u,A,k,T,Y,N,G,L,b,O,m,P,h,p;if(d[0]===Symbol[i(452,"AB!r")](i(461,"QAXZ"))){R=E[i(516,e)](_0x470be8,Circle,{cx:BIRD_CENTER+2*S,cy:BIRD_CENTER+3*S,r:E[i(503,"Wf2e")](BODY_RADIUS,.9),color:SHADOW_COLOR});const o={};o.path=tailF1,o[i(433,"$k6#")]="#6B3410",I=_0x470be8(Path,o);const n={};n[i(488,"DLNu")]=tailF2,n[i(430,r)]=TAIL_MID,x=_0x470be8(Path,n);const a={};a[i(411,"Wf2e")]=tailF3,a[i(511,"q2ic")]=TAIL_TIP,s=_0x470be8(Path,a),l=_0x470be8(Path,{path:tailHL1,color:TAIL_HL,style:i(393,_),strokeWidth:E[i(400,W)](1,S)}),C=_0x470be8(Path,{path:tailHL2,color:TAIL_HL,style:"stroke",strokeWidth:E[i(467,t)](1,S)});const B={};B.cx=BIRD_CENTER,B.cy=BIRD_CENTER+1*S,B.r=BODY_RADIUS+1*S,B.color=BODY_AO_COLOR,f=_0x470be8(Circle,B),d[0]=R,d[1]=I,d[2]=x,d[3]=s,d[4]=l,d[5]=C,d[6]=f}else{const e=i(481,"iZrc")[i(460,"Nxqo")]("|");let r=0;for(;;){switch(e[r++]){case"0":R=d[0];continue;case"1":I=d[1];continue;case"2":s=d[3];continue;case"3":x=d[2];continue;case"4":l=d[4];continue;case"5":f=d[6];continue;case"6":C=d[5];continue}break}}if(d[7]===Symbol[i(489,o)](i(474,"iZrc"))){const e={};e.start=bodyGradientStart,e[i(450,"s8](")]=bodyGradientEnd,e[i(432,"unSW")]=bodyGradientColors,B=_0x470be8(Circle,{cx:BIRD_CENTER,cy:BIRD_CENTER,r:BODY_RADIUS,children:_0x470be8(LinearGradient,e)}),d[7]=B}else B=d[7];if(E[i(469,"gjpo")](d[8],Symbol[i(451,"DLNu")](E[i(402,"Wf2e")]))){const e={};e.start=bodyRimStart,e[i(508,"$k6#")]=bodyRimEnd,e[i(422,"YDVz")]=bodyRimColors,D=_0x470be8(Circle,{cx:BIRD_CENTER,cy:BIRD_CENTER,r:BODY_RADIUS,style:E[i(406,"ggde")],strokeWidth:E.bGgZx(1.5,S),children:_0x470be8(LinearGradient,e)}),u=_0x470be8(Circle,{cx:BIRD_CENTER-4*S,cy:BIRD_CENTER-6*S,r:E[i(504,"q2ic")](BODY_RADIUS,.3),color:E[i(515,"f^!c")]}),d[8]=D,d[9]=u}else D=d[8],u=d[9];if(E.WBvnh(d[10],Symbol[i(436,"ih0a")](i(443,"f^!c")))){const e={};e[i(415,"VPEO")]=bellyGradStart,e[i(541,"rLKY")]=bellyGradEnd,e.colors=bellyGradientColors,A=E[i(505,"7f5L")](_0x470be8,Circle,{cx:E[i(535,r)](BIRD_CENTER,2*S),cy:BIRD_CENTER+4*S,r:BELLY_RADIUS,children:E[i(465,"bRW!")](_0x470be8,LinearGradient,e)}),k=E[i(484,"YTz]")](_0x470be8,Circle,{cx:BIRD_CENTER+E.pcASc(10,S),cy:BIRD_CENTER+4*S,r:E.bGgZx(4,S),color:CHEEK_COLOR}),d[10]=A,d[11]=k}else i(462,"o[DA")===i(472,"COOY")?(_0x714a30=_0x2f52ad(_0x193b9a,{style:_0x5e0322,children:E[i(495,t)](_0x21bef9,_0x1547ce,{})}),_0x1c21e5[6]=_0xfac146):(A=d[10],k=d[11]);if(d[12]===Symbol[i(451,"DLNu")](i(431,"rLKY"))){const e={};e[i(518,"ftfK")]=wingGradientStart,e.end=wingGradientEnd,e[i(391,"3j8F")]=wingGradientColors,T=_0x470be8(Path,{path:wingPath,children:_0x470be8(LinearGradient,e)}),Y=E.LkBQu(_0x470be8,Path,{path:wingFeather1,color:WING_LINE,style:E[i(412,n)],strokeWidth:E[i(427,"pODI")](.8,S)}),N=E[i(389,"RH(&")](_0x470be8,Path,{path:wingFeather2,color:WING_LINE,style:i(393,"7f5L"),strokeWidth:E.uohTF(.8,S)}),d[12]=T,d[13]=Y,d[14]=N}else T=d[12],Y=d[13],N=d[14];if(E[i(434,"*bi%")](d[15],Symbol[i(532,"s8](")](i(396,"vW%H")))){const e={};e[i(466,"12Y#")]=beakUpperGradStart,e[i(538,"En1S")]=beakUpperGradEnd,e[i(526,"2iHd")]=beakUpperColors,G=_0x470be8(Path,{path:beakUpperPath,children:_0x470be8(LinearGradient,e)}),d[15]=G}else G=d[15];if(d[16]===Symbol.for(i(405,"Wf2e"))){const r={};r[i(537,"ogcH")]=beakLowerGradStart,r.end=beakLowerGradEnd,r[i(536,"0!kT")]=beakLowerColors,L=_0x470be8(Path,{path:beakLowerPath,children:E[i(539,n)](_0x470be8,LinearGradient,r)});const W={};W[i(407,a)]=beakLinePath,W[i(419,"s1NL")]=BEAK_LINE,W.style=i(468,"rPta"),W[i(520,"ggde")]=.8*S,b=_0x470be8(Path,W),O=_0x470be8(Circle,{cx:BEAK_X+2*S,cy:E[i(522,e)](BEAK_Y,E[i(388,"En1S")](2,S)),r:.8*S,color:BEAK_LINE});const t={};t.cx=EYE_X,t.cy=EYE_Y+1*S,t.r=7.5*S,t.color=EYE_SHADOW,m=_0x470be8(Circle,t),P=_0x470be8(Circle,{cx:EYE_X,cy:EYE_Y,r:E[i(475,"QJW^")](7,S),color:EYE_WHITE});const o={};o.cx=EYE_X,o.cy=EYE_Y,o.r=7*S,o.color=EYE_RING,o[i(413,_)]="stroke",o.strokeWidth=1*S,h=_0x470be8(Circle,o),d[16]=L,d[17]=b,d[18]=O,d[19]=m,d[20]=P,d[21]=h}else L=d[16],b=d[17],O=d[18],m=d[19],P=d[20],h=d[21];if(d[22]===Symbol[i(490,"0!kT")](i(464,"YTz]"))){const e={};e.start=eyeIrisStart,e[i(453,"bRW!")]=eyeIrisEnd,e[i(422,"YDVz")]=eyeIrisColors,p=E[i(517,"0!kT")](_0xe03bef,Group,{children:[R,I,x,s,l,C,f,B,D,u,A,k,T,Y,N,G,L,b,O,m,P,h,_0x470be8(Circle,{cx:EYE_X+E[i(400,W)](1,S),cy:EYE_Y,r:3.5*S,children:E.tpDrN(_0x470be8,LinearGradient,e)}),_0x470be8(Circle,{cx:EYE_X+1*S,cy:EYE_Y,r:2*S,color:"#0D0D0D"}),_0x470be8(Circle,{cx:E[i(385,r)](EYE_X,1*S),cy:EYE_Y-2*S,r:2*S,color:SPECULAR}),_0x470be8(Circle,{cx:E[i(486,"QAXZ")](BIRD_CENTER,E[i(530,"HSsI")](2,S)),cy:CREST_Y+E[i(455,_)](4,S),r:4.5*S,color:CREST_SHADOW}),_0x470be8(Circle,{cx:BIRD_CENTER-E[i(471,"q9gp")](2,S),cy:E[i(454,"YP1*")](CREST_Y,3*S),r:E[i(513,a)](4,S),color:"#FF9500"}),E.uirsV(_0x470be8,Circle,{cx:E[i(512,"ftfK")](BIRD_CENTER,3*S),cy:CREST_Y+2*S,r:3.5*S,color:CREST_SHADOW}),_0x470be8(Circle,{cx:BIRD_CENTER+E[i(414,o)](3,S),cy:E[i(497,"rPta")](CREST_Y,E.tOKum(1,S)),r:E[i(456,"vW%H")](3,S),color:CREST_YELLOW})]}),d[22]=p}else p=d[22];return p});BirdGraphics.displayName=_0x231cf1(446,"f^!c");export const Bird=_0x24e82c[_0x231cf1(499,"RH(&")](()=>{const e="Nxqo",r=_0x231cf1,_={msFPF:function(e,r){return e(r)},ZHyRM:function(e,r){return e!==r}},W=_0x143ad4(9),t=useSharedValue(BIRD_START_Y),o=useSharedValue(0);let S,n;W[0]!==t||W[1]!==o?(S=()=>{const e=_0x208e,r={};return r.y=t,r[e(397,"f^!c")]=o,registerBirdSharedValues(r),_temp},n=[t,o],W[0]=t,W[1]=o,W[2]=S,W[3]=n):(S=W[2],n=W[3]),useEffect(S,n);const a=_[r(429,"s1NL")](useAnimatedStyle,()=>{const e=r,_=interpolate(o[e(514,"rLKY")],[-15,15],[-30,90],Extrapolation[e(483,"2iHd")]),W={};W.translateX=BIRD_START_X;const S={};S[e(392,"s1NL")]=t[e(435,"pODI")];const n={};n.rotate=_+e(480,"7f5L");const a={};return a[e(423,"QAXZ")]=[W,S,n],a});let i,E,d;if(W[4]!==a?(i=[birdContainerStyle,a],W[4]=a,W[5]=i):i=W[5],W[6]===Symbol[r(436,"ih0a")](r(404,"#piF")))E=_0x470be8(Canvas,{style:canvasStyle,children:_0x470be8(BirdGraphics,{})}),W[6]=E;else{if(r(449,"#%k9")!==r(424,"2q6K")){const _={};return _.y=_0x3f4ce6,_[r(426,e)]=_0x232d60,_0x62ddc0(_),_0x323433}E=W[6]}if(_.ZHyRM(W[7],i)){const _={};_[r(458,"bRW!")]=i,_[r(493,e)]=E,d=_0x470be8(_0x43d035.View,_),W[7]=i,W[8]=d}else d=W[8];return d});function _0x2282(){const e=["W4ldKGRdQmoxq8ogWRxcH8opW6z8WRC","xhmmnLf4WOS","W4fup8kADq","kmkhWQr8Eq","W4NcPmkA","W6SQc3vM","pmkrW7tdUNriESoHwZe","WRpcJ8oDWOm","W7lcJti","AcTA","WPvAemoLAGVcSwxcPSkwpmoqzNm","W4uTW4tcR1PJWPfvl3n1av4","tSkuW5X5W5WTr8k5","WPpdJeJdU8kisSkaWQW","W51BumoliG","qmksW5q5WONdUCoUW4JcR0ymW6pcGa","BqqWWPXs","W6P9f8kWtwy","WPz9WRNdQq","eCkMW6C","sudcN0jvfGK","CCkZWQO1vJNcSColW5ajWOKQkG","b8kNW79CWR0","uefNWPRdJq","l2XsDey","aSoBW7zhjuBcMXSI","wdBdQtyHzNWnW6VcPKX+WQa","W4RdHIa","W57cGxxcJmkWomoQBmkbqCoFWOy+uCkJWQDMW7TKE8odW6W","n8kMWRzVra","q01kWQBdNa","AmkNmqNdQa","qSkgWOToea","r8klWQTOiW","WPOEeJZcJG","WPxcPCkDWOG9","xH5oWPlcMG","A8kbpHtdRW","c8k/WPFdLMyKWPyVqmkqmdSjdhRcRCoqWPtcPs7dJSkRwmkmW5G","fc54q8osW5LeW4efW6Kt","BwvIyKtdQmkqu39gW7JcG8k3ua","WPtcK8kiWRqc","W6xcS8oB","WOzGWQKVASkPoqVdMCowyCkhW7O","vmkDlx5eWOlcHCobWOtdJ2SI","W6f3eSk4v2e","WODTv8okfCk0W5FdHCoAASk4W6BdNSkxWRrno3KCnWa","WPldLsNdKxxcJ0n0u8oCW5KGBW","WRCSt8oJD3Xllva4","WP3cTSkRj2u","ereEW7JcM2NdO8oRBSoiWPO","WRlcOX4","WOlcPL/dKGpcHKu","W71UrCovbu1QsG","kmolW4fZka","BsTeWORcUWW","W6ddISkaBCom","W4NcIhm","vdiZWOPS","W7VdM8kiEmoqW6q","vmkeWQm","lSouW7z2kq","jdL1","xmoUW6GzDmkRWOD0W53cI8k1WQ8","W5JcQvZcMmo1","WQTcWRldSCkO","uCotW4u","WOFdPxNcOqbG","W5aBrSk8kfxdOYFcJCkG","dejgBh4V","W7hcKCkcWPGDxqC","u1zuWQBdHwe","WP8/W5NcL8o4W74mtSoFWQvADqZdQt9SW7ZcH3GEl3xdVaVdNa","WQG1lslcV8ojEfK","W6pcOSkj","WQvajdzPjsK","hCkZWRr7aq","CCo5WPLdFSkwWRZcGq","dmkNW7rLWPm","u8kyEHBcU8oMW5b0WQDWyaRcICkMhq","mCoJW7PJfY/dR8ofW6OuWOyJlsFcQCo5W4BcMLtdTwFdMWBdG8o7","f8kfW7LLWRhdRCoRv8oRW4ZcTXbDqbhcPbrKBc7cNSoMBSk4WQu","pZznx8oT","qCklWRn1","WQnGWOX6","aSkMWQb/","wtFdQf5WhY4jW7W","fCkbW6XU","xaqsWO5R","dejnB3a","W6FcJGZdICoC","WRBcI8kAWO0A","WQW3iYZdTmkrpHbkW5FdT1OAWQlcSCk3c1tdKG","dCkWWPu","WQFcH8oAWPVcI2y1W7HnW6WP","W4Cgs8k9kq","W4yYW7P7D8kJp1xcOSkva8oDWRddShxcUCo5FNWTW7u","WQfEomoGzYfI","WORcH8owW6BcMmoi","W7ikb21FCGFdVSoM","tgmuW78P","WQu+ievOuvG","w8kzW5L6W5S2vSkU","kbKEibG","W7tcGeW","W4KAyCkchq","imoPW7DVeq","q8kpWQz+mIFcLYK5pmo+lM96W5NdN8orW7fOwCojWPG2gCkl","WQ1QWO16rqy","W4ZdHYGioa","W4SfCSk7WRC","kJC5iba","WP3cNeG","WOvJW5ncdCohFry","WP/cSSkifs5DWOfrW5JdQt1hj8oKWQ9pavpcHmoAWR8","umkqWQa8W7/dS8kz","WPqzWRG","tCk0WO/dKMfKWPq","W7/dQ0pdRmoKnIu","WQW1ic7cQmkoyuulWO/cMbvjW7hdTCoIEHtcNSkkWOFcOHfrAq","c8k9WPtdLdO6W5D6aCopq2HgxJS","W7OhWOeLkWlcOW","WPW5mYNcM8osBvaoWONcPau","WOldKsJdKNBcG0e","qCkqW5fcW7xcISknW4hcRW","WR3dGqxdNCkC","WRhcOGG","WQxcGCoB","dSkZWQ4","W5e7W7W","auVcG3Dy","cLHywxi","WP42W7tcP8oA","x8kBW5D0WPbTf8oIWQ59uvT5ktfHwHL/","W4CHW6f2oG","W5JdOCoBqfqbW5WuWQtcGq","xSkmW5L8W4W","W7qDb2byoGxdQCoMW5tdR8oMgmolFCkGW58EWQH3pCoTW5NdO8oU","b8o7WPjlW5y","eSoAWOmTaJNcVG","mSkQWRn4wmoUWQBcKKK1WP0tdN0CECkJWPhdSXpcJJxcMHyo","W6qpW75Tda","amowWOb8W4O","W69guCoMcq","DXWNWPjuW5i","hCkqWP/dR0e","WPCtW55EB8kHoG","WODTWO7dKa0","WPLfwmojvG","W7FcJLtdH1GgW7C","WOddI1RdT8kqeCkzWQZdNSoCWO9JW6pcVW/dPfldJmoyWR1Icmo1W4Lz","W5NdThWXW6m","WQ7dHrnNW7ldP8ko","WRmRrSoMeh9Qjuqdsq","WQ3dJaS","W43cHmok","g1nt"];return(_0x2282=function(){return e})()}function _0x208e(e,r){e-=385;const _=_0x2282();let W=_[e];if(void 0===_0x208e.cClNXF){const e=function(e,r){let _,W,t=[],o=0,S="";for(e=function(e){let r="",_="";for(let _,W,t=0,o=0;W=e.charAt(o++);~W&&(_=t%4?64*_+W:W,t++%4)?r+=String.fromCharCode(255&_>>(-2*t&6)):0)W="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(W);for(let e=0,W=r.length;e<W;e++)_+="%"+("00"+r.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(_)}(e),W=0;W<256;W++)t[W]=W;for(W=0;W<256;W++)o=(o+t[W]+r.charCodeAt(W%r.length))%256,_=t[W],t[W]=t[o],t[o]=_;W=0,o=0;for(let r=0;r<e.length;r++)W=(W+1)%256,o=(o+t[W])%256,_=t[W],t[W]=t[o],t[o]=_,S+=String.fromCharCode(e.charCodeAt(r)^t[(t[W]+t[o])%256]);return S};_0x208e.GTRaWL=e,_0x208e.eOGETP={},_0x208e.cClNXF=!0}const t=_[0];_0x208e.oubdNu!==t&&(_0x208e.eOGETP={},_0x208e.oubdNu=t);const o=_0x208e.eOGETP[e];return void 0===o?(void 0===_0x208e.pwpaSF&&(_0x208e.pwpaSF=!0),W=_0x208e.GTRaWL(W,r),_0x208e.eOGETP[e]=W):W=o,W}function _temp(){unregisterBirdSharedValues()}Bird[_0x231cf1(418,"DLNu")]=_0x231cf1(409,"YTz]");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x49f77b=_0x3dd7;!function(){const e="945C",t="X7Hj",o=_0x3dd7,r=_0x26b9();for(;;)try{if(703129==parseInt(o(161,e))/1+-parseInt(o(164,"6ZZV"))/2+parseInt(o(178,t))/3*(parseInt(o(174,e))/4)+parseInt(o(152,"mxlc"))/5*(parseInt(o(125,"mlJK"))/6)+parseInt(o(165,"ghkd"))/7+-parseInt(o(128,t))/8+parseInt(o(158,"D5TF"))/9*(parseInt(o(168,"Gxu9"))/10))break;r.push(r.shift())}catch(e){r.push(r.shift())}}();import{c as _0x16d162}from"react/compiler-runtime";import _0x2696ff,{useCallback,useEffect,useMemo,useRef}from"react";import{View,StyleSheet}from"react-native";import{Gesture,GestureDetector}from"react-native-gesture-handler";import{runOnJS}from"react-native-reanimated";import{useFlappyBirdStore,useCollisionBlasts}from"../FlappyBirdStore.js";import{Bird}from"./Bird.js";import{Pipes}from"./Pipes.js";import{ParticleBlast}from"../../../helpers/index.js";import{playSound,GAME_SOUNDS}from"../../../services/SoundsService.js";import{playHaptic,HapticType}from"../../../services/HapticsService.js";import{jsx as _0x1606b9,jsxs as _0x6ee9b2}from"react/jsx-runtime";const PARTICLE_COLORS=[_0x49f77b(142,"OTey"),"#FF8C00",_0x49f77b(137,"vqYy"),_0x49f77b(134,"jJIg"),"#FFA500",_0x49f77b(157,"A!Ak")],selectIsPlaying=e=>e[_0x49f77b(122,"FoT9")],selectPipes=e=>e[_0x49f77b(182,"Bn^^")],selectJump=e=>e[_0x49f77b(154,"9%&q")],selectRemoveCollisionBlast=e=>e[_0x49f77b(132,"Gxu9")],MemoizedParticleBlast=_0x2696ff[_0x49f77b(127,"FoT9")](e=>{const t=_0x49f77b,o={GxmoZ:function(e,t){return e(t)}}[t(162,"qzkg")](_0x16d162,7),{blast:r,onComplete:s}=e;let d;o[0]!==r.id||o[1]!==s?(d=()=>{s(r.id)},o[0]=r.id,o[1]=s,o[2]=d):t(144,"#5lr")===t(120,"od)$")?_0x53a5c8(_0x15fbe9.id):d=o[2];const n=d;let i;if(o[3]!==r.x||o[4]!==r.y||o[5]!==n){const e={};e.x=r.x,e.y=r.y,e[t(126,"6ZZV")]=8,e.colors=PARTICLE_COLORS,e[t(148,"Bn^^")]=600,e.onComplete=n,i=_0x1606b9(ParticleBlast,e),o[3]=r.x,o[4]=r.y,o[5]=n,o[6]=i}else i=o[6];return i});function _0x26b9(){const e=["yqb7wmkmi8opb2ZdOmoHvmoq","WQddNCkeW4j6W5yaW7u","W7ysW6O","WPtcRX5mcXhcVmoQrs4SwG","W5Lrndrs","nb/cTM7dJ0xdJG","WQm/E8ojquPqWQKutHW","WPpcUWNdGmkHDW/dV2FcVmoBxSop","W5yZWRNdVSoKW6TQW6NcPmklWPq","lmkFWRmAsNjRWPhcI8kwWQm","g8oXW63cPhpcJCoSWRC","hSkakWRdUq","WOG8W4pdMCkTW6hdHColWPq","W4tdRL4nv0RcGG","mHWIxLq","ieJcMvFdRG","WPtcOH9narlcO8oIws89zG","W7iGzW","WQRcMdibW4DcxGee","W7ikuCkn","W75CW6/dOmoYrmo/","tmomWOldVaC","vSo9WRdcUqS","kNddTY16","WQRcRmoSW7ZcIq","esBcHuZdUNldPCoeWP/dT3G","oMBdQI16WOpcLa","WPKMW4ZdGCkH","W7OlW6VcGmkr","Af8hv8o+brXLtq","zCkQjJKFxt7dTW","f8kMxhBcPmkPmeTwW4ddO8kIfa","WO9YxHlcPcT8cmkwwmk4","W6DTpmkmhf9+WOOKvaDAW44","BeK6va","W7qcWRtcKSkEpCkJWQeOt8kHWPdcJa","tmkqumoJWOFdTdu","W5fad8kO","oCkTdt7dUmoMgJJcQ2TYWRi","wmkKW5xcJ2ZcUSoFWPCvW40RW4LDWRTLaLGjWQRcQW","WRRdSCoMeSkb","nmk3h8kJW7pdHSoQ","f2ZcLhxdGG","WR9gW7FcJ8kQ","fmoQe1z4rYW","WQZdVCkismoiirOtWOftW5zOaq","mmkYlxVdI8kXqG","W7ZdJ8kEW7xdHxrC","WOzWW57cQSkZW5rgW73cIW","WRG1W5ZcH8oOWRrQ","g8kxaJRdOa","teJcOgBcVG","hmoAmXBcKSoKbei0ovhdJW","W5FdTf8wrK3cMCoD","k0lcJvpdUh96W79QW4/dLq","WR7cSmoUW7JcJSkdh8oR","FCk1DxFdLa","ySkgBuVdImkOnhC9pfddJaOpjmkvW6eFuwq7","EmkFhmo5WQa","W6hcJCkqW6LdW6uHW7K","it4HCNeJbwmZW5iyW4T8","m2BdTs8","jSobdmotWQ3cOCkTxa","WQKlW4FcGIZdT8o0","xrKuwSoTl0K"];return(_0x26b9=function(){return e})()}MemoizedParticleBlast[_0x49f77b(147,"F!ky")]=_0x49f77b(150,"%Y*v");const GameAreaComponent=({settings:e})=>{const t=_0x49f77b,o={axqCN:function(e){return e()},ocgtz:function(e,t){return e!==t},GTnft:t(172,"FJFE"),PEyIx:function(e,t){return e(t)},zKiFM:function(e,t){return e(t)},BCGVm:function(e,t){return e(t)},RVuSu:function(e,t){return e(t)},xXpmO:function(e,t,o){return e(t,o)}},r=useFlappyBirdStore(selectIsPlaying),s=o[t(179,"#07]")](useFlappyBirdStore,selectPipes),d=useCollisionBlasts(),n=useFlappyBirdStore(selectJump),i=o[t(169,"VvdM")](useFlappyBirdStore,selectRemoveCollisionBlast),a=useRef(e);a[t(184,"9%&q")]=e;const W=o[t(149,"%Y*v")](useRef,0);useEffect(()=>{const e=t;return useFlappyBirdStore.subscribe(t=>t[e(181,"9%&q")],t=>{const o=e;t>W.current&&useFlappyBirdStore.getState()[o(141,"Ex9T")]&&playHaptic(HapticType.LIGHT,a.current.enableHaptics),W[o(171,"945C")]=t})},[]);const x=useRef(()=>{});x[t(140,"F#bo")]=()=>{const e=t;r&&(o[e(121,"OTey")](n),playSound(GAME_SOUNDS[e(183,"ooUx")][e(130,"6ZZV")],a[e(139,"mK8l")][e(131,"VvdM")]),playHaptic(HapticType[e(180,"vMSU")],a[e(156,"f3lN")].enableHaptics))};const m=useCallback(()=>{x[t(163,"ooUx")]()},[]),l=useCallback(e=>{const r=t;o[r(173,"F!ky")](o[r(143,"VvdM")],r(135,"F!ky"))?i(e):(_0x58a71a=()=>{_0x40eee7(_0x1d29cb.id)},_0x1cc2ed[0]=_0x367144.id,_0x4b6274[1]=_0x5c89ee,_0x4d377f[2]=_0x211534)},[i]),f=o.xXpmO(useMemo,()=>Gesture[t(175,"KQ&U")]()[t(151,"jJIg")](()=>{o[t(136,"Ex9T")](runOnJS,m)()}),[m]),p=e.offset??0,u={};return u[t(133,"xyTl")]=s,u.offset=p,_0x1606b9(GestureDetector,{gesture:f,children:_0x1606b9(View,{style:styles[t(176,"cz&*")],children:_0x6ee9b2(View,{style:styles[t(124,"LCXo")],children:[_0x1606b9(Pipes,u),_0x1606b9(Bird,{}),d[t(160,"OTey")](e=>_0x1606b9(MemoizedParticleBlast,{blast:e,onComplete:l},e.id))]})})})};export const GameArea=_0x2696ff.memo(GameAreaComponent);const _0x54d81e={};function _0x3dd7(e,t){e-=120;const o=_0x26b9();let r=o[e];if(void 0===_0x3dd7.cWToom){const e=function(e,t){let o,r,s=[],d=0,n="";for(e=function(e){let t="",o="";for(let o,r,s=0,d=0;r=e.charAt(d++);~r&&(o=s%4?64*o+r:r,s++%4)?t+=String.fromCharCode(255&o>>(-2*s&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(let e=0,r=t.length;e<r;e++)o+="%"+("00"+t.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(o)}(e),r=0;r<256;r++)s[r]=r;for(r=0;r<256;r++)d=(d+s[r]+t.charCodeAt(r%t.length))%256,o=s[r],s[r]=s[d],s[d]=o;r=0,d=0;for(let t=0;t<e.length;t++)r=(r+1)%256,d=(d+s[r])%256,o=s[r],s[r]=s[d],s[d]=o,n+=String.fromCharCode(e.charCodeAt(t)^s[(s[r]+s[d])%256]);return n};_0x3dd7.ILpWdK=e,_0x3dd7.YWXWXS={},_0x3dd7.cWToom=!0}const s=o[0];_0x3dd7.bQXzkm!==s&&(_0x3dd7.YWXWXS={},_0x3dd7.bQXzkm=s);const d=_0x3dd7.YWXWXS[e];return void 0===d?(void 0===_0x3dd7.FPxIJq&&(_0x3dd7.FPxIJq=!0),r=_0x3dd7.ILpWdK(r,t),_0x3dd7.YWXWXS[e]=r):r=d,r}_0x54d81e[_0x49f77b(177,"G!W!")]=1;const _0x49a3e3={flex:1};_0x49a3e3[_0x49f77b(146,"945C")]=_0x49f77b(159,"mxlc");const _0x340152={};_0x340152[_0x49f77b(170,"od)$")]=_0x54d81e,_0x340152[_0x49f77b(153,"FJFE")]=_0x49a3e3;const styles=StyleSheet.create(_0x340152);GameArea[_0x49f77b(167,"p^7n")]="GameArea";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x1e81df=_0x1e87;!function(){const e=_0x1e87,t=_0x1364();for(;;)try{if(889682==-parseInt(e(216,"5KFr"))/1*(-parseInt(e(348,"7YW8"))/2)+-parseInt(e(270,"36dM"))/3+-parseInt(e(276,"IhJ4"))/4*(parseInt(e(247,"vGFS"))/5)+-parseInt(e(264,"V]P)"))/6*(-parseInt(e(306,"x6vT"))/7)+-parseInt(e(308,"T[$s"))/8*(parseInt(e(394,"T2qe"))/9)+parseInt(e(322,"DGQ#"))/10*(-parseInt(e(326,"Mwdx"))/11)+parseInt(e(330,"aZwh"))/12*(parseInt(e(344,"7YW8"))/13))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();import{c as _0x18b96f}from"react/compiler-runtime";import _0x455a19,{useMemo}from"react";import{View,Dimensions}from"react-native";import{Canvas,LinearGradient,Rect,Circle,vec,Group,Path,Skia,Shadow}from"@shopify/react-native-skia";import{FLAPPY_BIRD_COLORS}from"../FlappyBirdConstants.js";import{jsx as _0x267562,jsxs as _0xc7dd46}from"react/jsx-runtime";const{width:width,height:height}=Dimensions[_0x1e81df(307,"36dM")](_0x1e81df(277,"36dM")),_0x14f419={};function _0x1e87(e,t){e-=201;const o=_0x1364();let d=o[e];if(void 0===_0x1e87.ndtuuI){const e=function(e,t){let o,d,W=[],x=0,n="";for(e=function(e){let t="",o="";for(let o,d,W=0,x=0;d=e.charAt(x++);~d&&(o=W%4?64*o+d:d,W++%4)?t+=String.fromCharCode(255&o>>(-2*W&6)):0)d="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(d);for(let e=0,d=t.length;e<d;e++)o+="%"+("00"+t.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(o)}(e),d=0;d<256;d++)W[d]=d;for(d=0;d<256;d++)x=(x+W[d]+t.charCodeAt(d%t.length))%256,o=W[d],W[d]=W[x],W[x]=o;d=0,x=0;for(let t=0;t<e.length;t++)d=(d+1)%256,x=(x+W[d])%256,o=W[d],W[d]=W[x],W[x]=o,n+=String.fromCharCode(e.charCodeAt(t)^W[(W[d]+W[x])%256]);return n};_0x1e87.YpmdpO=e,_0x1e87.Xtposf={},_0x1e87.ndtuuI=!0}const W=o[0];_0x1e87.qkmDsx!==W&&(_0x1e87.Xtposf={},_0x1e87.qkmDsx=W);const x=_0x1e87.Xtposf[e];return void 0===x?(void 0===_0x1e87.SnmsPY&&(_0x1e87.SnmsPY=!0),d=_0x1e87.YpmdpO(d,t),_0x1e87.Xtposf[e]=d):d=x,d}function _0x1364(){const e=["ACouWPVcSSkQW5y7wdtcRI3dTSkrWQ4","W6LaWRNdKwKRvwy","WQZdVudcICoxlbhdV18gkc5ZWPdcPCkOxCoNW7xcKSojWPy","omk7kfHZoG","W6pcGgdcO8ktjG","cmodW41pb8o0uG","WQtdHCo+zCo2W5RcUSouwduRWOq","W7S1x8kFeq","W79RWQRdKuy","pslcPmo1cSksxmk1ncLgWRLc","WR3dTu7cH8kn","cmohWRnmbSo3wW","tmkOxSovlhi","zq7cPCownG","kCkfW4pdQmo9","dKD1WO8/","WP/cJx3cG8kE","WQldR37dQtpcH8kVm2ZdL8oSW6OMlfnEeCopW4XkWQnKnftcQa","lKH4WOG+Bmkcaa","W6LnWR7dIwGRyMKRjdRdPq","W67cMvBcJ8kf","WPhdPcHeWR8","WQ3dGCo0WPnIW5BcH8osACkPoqddGmkMW7tcMIhdVZr7W4W","W6pdNvRdL3q","pghdTmobW4vClCkH","feywWQ/dGSkTpG","W67cO0WDWOKDlJ3cILlcOuiUWOKJW4pcHSkHWQ5+j8o9","WRn0rttcHW","oCkUpL55mCk+uCoDrKe","rSoGWOu","etTEiYu","etLGjtm","W7xdPuCPWQZcSG","idvAWOP4hv/cNmo5WRxdPq","jhFdH8oxWODHlq","xxHSWO7dTSkW","W7muhNS5","DJdcI8oOWOS","smoKWPT+vSoamG","wgWjW6KU","W5ddSmkad8oIWPJcHH7dNhVdGG","oCkUlunM","FIxdRCoYW4zHaSkJWOVdPCkkzSoI","x2ZcKmoJua","oSkicd8IWPem","y2ymW5uHmG","WQxcHx3cUSkv","W7dcNCo8nmkD","hConWQ8","q8oTWQfLq8oR","tq0yW6hcKG","WQrdDq","FdlcTSoBWR/cPCkpWR5phv7cI8kbfG","W7FdNepdKfm","CCkrWQLZW4VdLa","W6ujiJP0","FbKGW5WrwmkOnSoroW","pc3cUmo8WObzwmkSW4/dUmor","W7xcOfRcL8ofWOCj","xCkxW7hdNNVdGSkZtSkAW4pdIw0","W53cTSoyW6eR","W7ldH1KSWOy","WOpdOG9IWPG","W5K/oH58","WQOsq8kFkSoXja","uwW1WPm","ogtdH8oyWOS","ACkvWRr8","WPudyCoLWQO","tSoVWPe","fZPw","cMZcQmkiWOS","W78SceyAW60","W7pcJg3cOmke","WRjoCahcPG","gX/dUW","wdVcSSosWPNcTSkjWRS","W7pdJIVdJWhdR8ke","WPpdRGjHWO8","je/cU8kPWOu","WPelumoMWRi","W6VcRHFdNmkss0NcQcb6","pcb+bY0","eZzbiZS5p8oO","W4/dOCkufmoBWPZcTr7dJxW","WQyTW6P2fG","yMqjW5aL","pYtcRCo5cCksl8kqgcfIWRW","aSobWQFcNHu","lHFdISoeWOuvwW","lKpcQ8k3WOe","WQqNW4btjG","WRKOW7LpoG","jfhdOCkkvWVcSLlcIMFcR8k3WOG","FhRdU8kLuCoq","W5tcSSo5W786","Cq/cOW","WR0IW5LZfmkJqw8","W7JcHSkVmSkPWPZcOa","BmkQtSovdW","vg88WOtcH8oU","WOBcH2JcVG","xCkWwCoi","W4/cJmoRW7Wh","W4i5mHvXWQK","W5K0oHz2WQRcICoGWQhcSmonsW","bCo6WQmEBq","amotWOxcU3a","W60+DmksdSkojqSmWReXz8keW6GpWOzUWPTYW5uJWR7dK2Pd","jCkQlvj7imkq","CKpdVSkrCG","gbxcNCo4WRVdVCov","icXidHm","W6FdH1BdK0q","wCkZxG","W7GAdwGc","sI9mW67dJa","W5BdH8kidmoc","y2FcOSoCyW","CwFcQCozqLvbW4O","cCopWOK6AuDKW4RdNq","WPtdJmo/x8kRD8kS","yqpcSCosbG","WRBcVrj4WOBcMSofW6BcUc8","BhBdOq","W43cL8kfCmkKBSkHW6FdKa","WOddGSk0wmokW43dOq","A8kDWQD8W5FdSSkeWP0oW50c","rf54WOxdIq","W7lcJNxcM8kimCorW5K","W4K5nqz8WQ/cICoOWQlcSComya","W47cOumKW6W","W7WZFmkDhSoslqa","c8kFneDB","zHlcSCoqee7dOwFcT0FcRa","p0fOWQG/CmkagSoB","adnqlx99F8k9gc/cGmo6W6FdLSolWPFcVcSVgCkRdq","WQ3dT3O0W5LlxMa","kCk1if5G","gSkXWO1lrmollxu","W5xcKSocW7i3","uH3cSCoCWQS","DmkVpG","jdNdTmkhhHmrW4ldI8orW6lcH8kJ","lgfgWR0F","qsvjW6BdLGW","CYWWW6FcQG","W6ZcLmkVW4r4W5tcHSoteCo4AhVcQSoa","vmkThI1J","ehy5W6xdMq","xmkZxW","W7W0ECkEca","W4BcTCo3W7KnW4i","wJrbW7pdIG","kgldImoaWOTNda","e8ocWQ42zL0","at1C","W4xdHSk4W59hW45/WOGEgI/dUSo6","FhRdSCk1vG","W6r4WRL7nSkHvLOn","WO/dImosxSkIDmkT","ghn0W4NdHHZdHNW","WQLiEaRcQ8oS","oCk5lv13","sZlcR8ow","ghysW6ddUXldOhLa","WOBdGqPdWO0","CMigW4GLlLu","yZC9W7RcRa","WQCPW6L7w8o6aGDcWRnJWPZcKCoFpW0SxN9PcCki","wYDcW6dcLKNcSYqpsKjeWPNcMYzYW6ZdRH5Apq","ehW2","cCkld0bR","WQ3dH8oVWR4VWORdLCktlq","WR/cU8kPxeRdI2FcRri+WR1EduZdNCkMW6lcNKhcMrnvvhqh","WQZdHCo3WP4V","kCkoW4pdOmo3WPfdcqBcUre","dComWQJcHINcGSk1qG","l8ocW7qMWPVcLmoqWP8fW5SjmYm","p1JdTSoxk31Byeb5WRfbW5W","W4BcTCo3W7Kn","W7FcHMJcUmkj","F27cSa","iCoXWRJcOIa","pmkuW43dQq","W5BcUCo6W7OA","lmoZWOJcJ3i","fdTa","oaj0oaq","egeQW6BdLWtdUcWuzhi","W5hdPCkln8oGWPNcPr8","z0ZcUSozBq","i2VdPCorWObHmCkRW4u","ytFdVSovW7S","dNqO","ALldGSkyEW","W7tcMCkIpSkY","W5K0oHz2WQRcJ8oMWRBcGq","yxVcUCozqW","WQjcFqlcSq","WO/dPcldUCoi","BbldUmoTW5XuWRLSuSkdma","CMGeW5mY","qKmQWOFcVG","W7tdSeiYWRNcMmoJW43cRJ8wW5JcJG"];return(_0x1364=function(){return e})()}_0x14f419[_0x1e81df(248,"Wr(]")]=1;const containerStyle=_0x14f419,_0x3a8f16={};_0x3a8f16.position=_0x1e81df(266,"J(fA"),_0x3a8f16.width=width,_0x3a8f16[_0x1e81df(345,"AB^E")]=height;const canvasStyle=_0x3a8f16,skyGradientColors=[FLAPPY_BIRD_COLORS.SKY_START,_0x1e81df(393,"DGQ#"),_0x1e81df(260,"gHC5"),FLAPPY_BIRD_COLORS.SKY_END,_0x1e81df(399,"DGQ#")],HAZE_COLOR=_0x1e81df(209,"acH!"),HILL_FAR_COLOR=_0x1e81df(319,"J(fA"),HILL_MID_COLOR=_0x1e81df(353,"7YW8"),HILL_NEAR_COLOR="rgba(70,130,70,0.35)",sunCoreColors=["#FFFFF0",_0x1e81df(294,"(&u!"),_0x1e81df(208,"Wr(]"),_0x1e81df(241,"d3P*"),_0x1e81df(309,"EsRn")],outerGlowColors=["rgba(255,215,0,0.12)","rgba(255,200,100,0.04)",_0x1e81df(317,"IhJ4")],CLOUD_SHADOW=_0x1e81df(352,"ZLZD"),CLOUD_BODY=_0x1e81df(205,"aZwh"),CLOUD_HIGHLIGHT=_0x1e81df(390,"V]P)"),buildHillPath=(e,t,o,d)=>{const W=_0x1e81df,x={};x[W(206,")UhN")]=function(e,t){return e<=t},x.CQCqy="eDVXA";const n=x;let r="M 0 "+height;for(let x=0;n[W(401,"IhJ4")](x,30);x++)if(n[W(355,"[9cL")]!==n.CQCqy)_0xcff07=_0x43c80[12],_0x243714=_0xf005f4[13],_0x5307e6=_0x4cce06[14];else{const n=width/30*x,i=e-t*Math[W(354,"usx@")](o*n/width*Math.PI*2+d);r+=W(258,"(&u!")+n+" "+i}return r+=" L "+width+" "+height+" Z",r},createStaticSunRays=()=>{const e=_0x1e81df,t={};t[e(274,"ZLZD")]=function(e,t){return e/t},t.JVFtS=function(e,t){return e===t},t[e(254,"v9dt")]=function(e,t){return e===t};const o=t,d={};return d[e(218,"@Xhc")]=20,Array[e(367,"i4Zs")](d,(t,d)=>{const W=e,x=18*d,n=o[W(204,"unHm")](x*Math.PI,180),r=d%3,i=0===r?30:1===r?20:12,a=o[W(371,"J(fA")](r,0)?4:1===r?3:2,_=o.WLbSo(r,0)?.7:1===r?.55:.4,f={};return f[W(391,"[9cL")]=n,f[W(318,"bs3x")]=i,f[W(312,"4pp!")]=a,f[W(340,"FZL)")]=48,f.opacity=_,f})},staticSunRays=createStaticSunRays(),hillFarPath=buildHillPath(.62*height,30,1.5,0),hillMidPath=buildHillPath(.66*height,22,2.2,1.2),hillNearPath=buildHillPath(.7*height,16,3,2.5),_0x329dfd={};_0x329dfd.x=.55*width,_0x329dfd.y=.35*height,_0x329dfd[_0x1e81df(256,"4pp!")]=.8;const _0x473fd5={};_0x473fd5.x=.15*width,_0x473fd5.y=.38*height,_0x473fd5[_0x1e81df(229,"d3P*")]=1.5;const _0x36e974={};_0x36e974.x=.45*width,_0x36e974.y=.45*height,_0x36e974[_0x1e81df(305,"IhJ4")]=.9;const cloudData=[_0x329dfd,_0x473fd5,_0x36e974][_0x1e81df(212,"DGQ#")]((e,t)=>({id:t,shadowLeftX:e.x-20*e.scale+3,shadowCenterX:e.x+3,shadowRightX:e.x+20*e[_0x1e81df(368,"hfL!")]+3,shadowY:e.y+4*e.scale,shadowTopY:e.y-5*e[_0x1e81df(268,"ZLZD")]+4*e[_0x1e81df(332,"usx@")],leftX:e.x-20*e[_0x1e81df(402,"i4Zs")],centerX:e.x,rightX:e.x+20*e.scale,topY:e.y-5*e[_0x1e81df(249,"0eSz")],centerY:e.y,hlLeftX:e.x-18*e[_0x1e81df(358,"aZwh")]-2,hlCenterX:e.x-2,hlRightX:e.x+18*e.scale-2,hlTopY:e.y-7*e[_0x1e81df(269,"5KFr")],hlCenterY:e.y-3*e[_0x1e81df(346,"[9cL")],leftRadius:15*e[_0x1e81df(358,"aZwh")],centerRadius:20*e[_0x1e81df(246,"LEij")],rightRadius:15*e[_0x1e81df(273,"v9dt")],hlLeftR:12*e[_0x1e81df(257,"AB^E")],hlCenterR:16*e[_0x1e81df(273,"v9dt")],hlRightR:12*e[_0x1e81df(261,"unHm")]}));export const GameBackground=_0x455a19.memo(e=>{const t="bs3x",o="hfL!",d="5KFr",W=_0x1e81df,x={McPVv:function(e,t){return e===t},dnJnk:W(295,"J(fA"),IkaUn:function(e,t){return e*t},oWzRQ:function(e,t){return e+t},UaQvP:function(e,t){return e+t},AExvI:function(e,t){return e-t},xlCwT:function(e,t,o){return e(t,o)},pHYdH:function(e,t){return e(t)},NtLKz:function(e,t){return e>t},dYiAj:function(e,t){return e*t},uCzlK:function(e,t){return e!==t},DAbMc:function(e,t,o){return e(t,o)},MUItL:function(e,t,o){return e(t,o)},iNjbV:function(e,t){return e-t},yoqra:W(301,"Mwdx"),cmRid:W(230,"^wY0"),vYavr:function(e,t){return e+t},yPkPL:"jVpjx",nvZCd:W(349,"unHm"),RemXM:W(227,"S38h")},n=x[W(323,"hfL!")](_0x18b96f,50),{children:r,offset:i}=e,a=x[W(226,"Mwdx")](i,void 0)?0:i,_=x[W(265,"J(fA")](a,0)?150:250,f=height-_,s=x[W(289,"^Gp1")](height,.25)+x[W(404,"d3P*")](a,.9);let h;x[W(244,"x6vT")](n[0],s)?(h=staticSunRays[W(325,"S38h")](e=>{const t=W;if(x[t(220,"(&u!")](x[t(395,"vGFS")],"RxzBD")){const o=.8*width+Math[t(279,"IhJ4")](e[t(338,"^Gp1")])*e[t(387,"x6vT")],W=s+Math[t(231,"3^(K")](e.radian)*e[t(225,"x&s%")],n=x[t(251,"i%$d")](width,.8)+Math[t(333,"8xAv")](e[t(228,d)])*x[t(219,"DDUD")](e[t(225,"x&s%")],e.rayLength),r=x.UaQvP(s,x[t(222,d)](Math[t(339,"J(fA")](e[t(215,"x6vT")]),e[t(362,"IF3d")]+e[t(356,"aZwh")])),i=Skia[t(284,"d3P*")].Make();i.moveTo(o,W),i.lineTo(n,r);const a={};return a.path=i,a[t(223,"EsRn")]=e[t(373,"EsRn")],a[t(217,"0eSz")]=e[t(281,"T2qe")],a}{const e={};e[t(381,"Mwdx")]=_0x205f46,e.children=[_0x1ba6ce,_0x49ffcb],_0x2b114f=_0x152571(_0x94dca2,e),_0x373bbc[47]=_0x280950,_0x10bda6[48]=_0x593c37,_0x5e0634[49]=_0xf2b18a}}),n[0]=s,n[1]=h):h=n[1];const l=h;let C,u,S,k;if(n[2]===Symbol[W(370,"J(fA")]("react.memo_cache_sentinel")?(C=vec(0,0),n[2]=C):C=n[2],n[3]!==f?(u=vec(0,f),n[3]=f,n[4]=u):u=n[4],n[5]!==u){const e={};e[W(336,"7YW8")]=C,e[W(234,"AB^E")]=u,e[W(335,"hfL!")]=skyGradientColors,S=_0x267562(LinearGradient,e),n[5]=u,n[6]=S}else W(210,"AB^E")!==W(290,"Tg*r")?S=n[6]:_0x555534=_0x1edfd6[18];if(n[7]!==f||n[8]!==S){const e={x:0,y:0};e.width=width,e[W(328,"7YW8")]=f,e[W(360,"3^(K")]=S,k=x[W(369,"Tg*r")](_0x267562,Rect,e),n[7]=f,n[8]=S,n[9]=k}else k=n[9];const m=f-80;let R,O,L,p;if(x.uCzlK(n[10],m)){const e={x:0};e.y=m,e[W(341,"36dM")]=width,e[W(287,"LEij")]=80,e.color=HAZE_COLOR,R=x.DAbMc(_0x267562,Rect,e),n[10]=m,n[11]=R}else R=n[11];if(x[W(263,"i%$d")](n[12],Symbol.for(W(405,"gHC5")))){const e=W(240,"x&s%").split("|");let t=0;for(;;){switch(e[t++]){case"0":n[13]=L;continue;case"1":const e={};e[W(347,"(&u!")]=hillFarPath,e[W(382,"AB^E")]=HILL_FAR_COLOR,p=x[W(233,"F$8f")](_0x267562,Path,e);continue;case"2":const t={};t.path=hillNearPath,t[W(351,"F$8f")]=HILL_NEAR_COLOR,L=_0x267562(Path,t);continue;case"3":n[12]=O;continue;case"4":const o={};o[W(250,"JFD4")]=hillMidPath,o.color=HILL_MID_COLOR,O=_0x267562(Path,o);continue;case"5":n[14]=p;continue}break}}else O=n[12],L=n[13],p=n[14];const G=x[W(324,"(&u!")](s,70);let H;if(n[15]!==G)if(x[W(386,"Wr(]")](x[W(262,"v9dt")],W(278,"hfL!"))){const e={x:0,y:0};e[W(364,"4pp!")]=_0x37b381,e[W(237,"JFD4")]=_0x20ed84,e[W(389,"aBcv")]=_0x40b682,_0xa0dff=_0x29af28(_0x2e307b,e),_0x140851[7]=_0x46ac15,_0x450bd4[8]=_0x1bb40d,_0x3f4684[9]=_0x3a3f1c}else H=vec(x[W(298,"DDUD")](width,.8)-70,G),n[15]=G,n[16]=H;else x[W(214,"J(fA")]!==W(403,t)?(_0x4609e6=_0x5200e0(x[W(316,"[9cL")](.8*_0x57ec25,70),_0x50236d),_0xfd838c[15]=_0x3a3d14,_0x383f8a[16]=_0x4a775e):H=n[16];const P=x[W(383,"YGGk")](s,70);let I,y,D;if(x[W(311,"@Xhc")](n[17],P)?x[W(331,"S38h")](x[W(293,"36dM")],W(286,o))?(I=vec(.8*width+70,P),n[17]=P,n[18]=I):_0x51a27a=_0xcf2171[24]:I=n[18],n[19]!==H||n[20]!==I){const e={};e[W(329,"F$8f")]=H,e[W(252,"DGQ#")]=I,e[W(283,"Wr(]")]=outerGlowColors,y=_0x267562(LinearGradient,e),n[19]=H,n[20]=I,n[21]=y}else y=n[21];if(n[22]!==s||n[23]!==y){const e={};e.cx=.8*width,e.cy=s,e.r=70,e[W(315,"vGFS")]=y,D=x.DAbMc(_0x267562,Circle,e),n[22]=s,n[23]=y,n[24]=D}else D=n[24];const w=x.iNjbV(s,40);let v;n[25]!==w?(v=vec(.8*width-40,w),n[25]=w,n[26]=v):x[W(300,"EsRn")]("MIsXs","MIsXs")?(_0x117653=_0x4b6206(.8*_0x5da6ed-40,_0x57e56f),_0x1e89b1[25]=_0x32bffc,_0x4a74be[26]=_0x3e8235):v=n[26];const b=s+40;let F,Q,q,g,M,A,J,K,Z;if(n[27]!==b?(F=x[W(243,o)](vec,.8*width+40,b),n[27]=b,n[28]=F):F=n[28],n[29]!==v||n[30]!==F){const e={};e[W(224,"[9cL")]=v,e.end=F,e[W(392,"4pp!")]=sunCoreColors,Q=_0x267562(LinearGradient,e),n[29]=v,n[30]=F,n[31]=Q}else if("nVzut"!==x[W(203,"4pp!")])Q=n[31];else{const e={};e.start=_0x3ae917,e[W(253,"J(fA")]=_0x560c4b,e[W(255,"DDUD")]=_0x92e044,_0x1a28d3=x.xlCwT(_0x2591fc,_0x91ac1a,e),_0x4f4051[19]=_0x11def2,_0xe7b471[20]=_0x506077,_0x112308[21]=_0x280364}if(n[32]===Symbol[W(297,"8xAv")](W(291,"vGFS"))){const e={dx:0,dy:0};e[W(285,"8xAv")]=32,e[W(398,"V]P)")]=x[W(314,"acH!")],q=_0x267562(Shadow,e),n[32]=q}else q=n[32];if(n[33]!==s||x[W(396,"aBcv")](n[34],Q)){const e={};e.cx=.8*width,e.cy=s,e.r=40,e[W(259,"(&u!")]=[Q,q],g=_0xc7dd46(Circle,e),n[33]=s,n[34]=Q,n[35]=g}else g=n[35];if(n[36]!==l?(M=l[W(377,"usx@")](_temp),n[36]=l,n[37]=M):M=n[37],n[38]!==D||n[39]!==g||n[40]!==M){const e={};e.children=[D,g,M],A=_0xc7dd46(Group,e),n[38]=D,n[39]=g,n[40]=M,n[41]=A}else A=n[41];if(n[42]===Symbol.for(W(357,"9)f]"))?(J=cloudData[W(365,"Mwdx")](_temp2),n[42]=J):J=n[42],n[43]!==A||n[44]!==k||n[45]!==R){const e={};e[W(296,")UhN")]=canvasStyle,e[W(302,"Mwdx")]=[k,R,p,O,L,A,J],K=_0xc7dd46(Canvas,e),n[43]=A,n[44]=k,n[45]=R,n[46]=K}else K=n[46];if(n[47]!==r||x[W(374,"Mwdx")](n[48],K)){const e={};e.style=containerStyle,e[W(201,t)]=[K,r],Z=_0xc7dd46(View,e),n[47]=r,n[48]=K,n[49]=Z}else Z=n[49];return Z});function _temp(e,t){const o=_0x1e81df,d={};d[o(327,"bs3x")]=o(400,"8xAv"),d[o(376,"x&s%")]=o(272,"x&s%");const W=d,x={};return x.path=e.path,x.style=W[o(378,"36dM")],x[o(211,"[9cL")]=e[o(372,"usx@")],x[o(379,"T2qe")]=W[o(275,"ZLZD")],x.opacity=e[o(292,"[9cL")],_0x267562(Path,x,t)}function _temp2(e){const t="T[$s",o=_0x1e81df,d={SvboH:function(e,t,o,d){return e(t,o,d)},OUyHm:function(e,t,o){return e(t,o)}},W={};W.cx=e[o(359,"i4Zs")],W.cy=e.shadowY,W.r=e[o(267,"EsRn")],W[o(321,"[9cL")]=CLOUD_SHADOW;const x={};x.cx=e.shadowCenterX,x.cy=e[o(380,"LEij")],x.r=e[o(313,"LEij")],x[o(334,"vGFS")]=CLOUD_SHADOW;const n={};n.cx=e[o(288,"LEij")],n.cy=e[o(343,t)],n.r=e.rightRadius,n[o(385,"5KFr")]=CLOUD_SHADOW;const r={};r.cx=e[o(271,"3^(K")],r.cy=e[o(221,"DGQ#")],r.r=e.leftRadius,r[o(245,"unHm")]=CLOUD_BODY;const i={};i.cx=e[o(337,"0eSz")],i.cy=e.topY,i.r=e[o(202,"aBcv")],i[o(236,")UhN")]=CLOUD_BODY;const a={};a.cx=e.rightX,a.cy=e[o(350,"5KFr")],a.r=e[o(310,"JFD4")],a[o(299,"7YW8")]=CLOUD_BODY;const _={};_.cx=e[o(304,t)],_.cy=e[o(375,"0eSz")],_.r=e.hlLeftR,_[o(213,"J(fA")]=CLOUD_HIGHLIGHT;const f={};f.cx=e[o(303,"^Gp1")],f.cy=e[o(232,"DGQ#")],f.r=e.hlCenterR,f.color=CLOUD_HIGHLIGHT;const s={};return s.cx=e[o(280,"ZLZD")],s.cy=e.hlCenterY,s.r=e.hlRightR,s[o(363,"hfL!")]=CLOUD_HIGHLIGHT,d[o(282,"8xAv")](_0xc7dd46,Group,{children:[d[o(238,"LEij")](_0x267562,Circle,W),_0x267562(Circle,x),_0x267562(Circle,n),_0x267562(Circle,r),d[o(366,"3^(K")](_0x267562,Circle,i),d.OUyHm(_0x267562,Circle,a),_0x267562(Circle,_),_0x267562(Circle,f),_0x267562(Circle,s)]},e.id)}GameBackground.displayName=_0x1e81df(235,"(&u!");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x3b397e=_0x1b50;!function(){const t=_0x1b50,e=_0x2d87();for(;;)try{if(492895==-parseInt(t(272,"%TC3"))/1+-parseInt(t(353,")k3]"))/2*(-parseInt(t(362,"RdhI"))/3)+-parseInt(t(399,"5MpH"))/4*(parseInt(t(220,"1czL"))/5)+parseInt(t(268,"ArVT"))/6+-parseInt(t(288,"v2sq"))/7+parseInt(t(306,"xG1t"))/8+-parseInt(t(401,"KB82"))/9*(-parseInt(t(267,"2wrk"))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();import{c as _0x7af145}from"react/compiler-runtime";import _0x38ff79,{useEffect,useMemo}from"react";import{View,StyleSheet}from"react-native";import{Canvas,Rect,RoundedRect,LinearGradient,vec,Path,Group}from"@shopify/react-native-skia";import{useSharedValue}from"react-native-reanimated";import{FLAPPY_BIRD_GAME_CONFIG}from"../FlappyBirdConstants.js";import{registerPipeSharedValues,unregisterPipeSharedValues}from"../FlappyBirdStore.js";import{getGameDimensions,isTablet}from"../../../services/UtilsService.js";import{jsx as _0x3e3a4f,Fragment as _0x4010dc,jsxs as _0x2d71e8}from"react/jsx-runtime";const{screenWidth:width}=getGameDimensions(),PS=isTablet?80/60:1,BRICK_WALL_HEIGHT=150,BRICK_WIDTH=isTablet?56:40,BRICK_HEIGHT=isTablet?28:20,SCREEN_HEIGHT=FLAPPY_BIRD_GAME_CONFIG[_0x3b397e(313,"7kFK")],{PIPE_WIDTH:PIPE_WIDTH,GAME_WIDTH:GAME_WIDTH}=FLAPPY_BIRD_GAME_CONFIG,CAP_OVER=Math[_0x3b397e(381,"qzo5")](5*PS),CAP_H=Math[_0x3b397e(337,"7kFK")](26*PS),CAP_INSET=Math[_0x3b397e(339,"p6f$")](22*PS),CAP_R=Math[_0x3b397e(333,"2Ibk")](4*PS),brickGradientColors=[_0x3b397e(238,"KB82"),"#9E5428",_0x3b397e(341,"uC[^")],brickLineColor="rgba(0,0,0,0.35)",brickHighlightColor=_0x3b397e(349,"]k#C"),brickShadowColor=_0x3b397e(304,"8Cf["),BODY_DARK_W=PIPE_WIDTH,BODY_MID_W=Math.round(.78*PIPE_WIDTH),BODY_HL_W=Math[_0x3b397e(344,"s!tY")](.25*PIPE_WIDTH),BODY_DARK_C="#1E4A0E",BODY_MID_C=_0x3b397e(232,"e5Kv"),BODY_HL_C=_0x3b397e(292,"@Y)l"),CAP_FULL_W=PIPE_WIDTH+2*CAP_OVER,CAP_MID_W=Math[_0x3b397e(276,"uC[^")](.65*CAP_FULL_W),CAP_HL_W_VAL=Math.round(.3*CAP_FULL_W),CAP_TOP_H=Math[_0x3b397e(271,"5MpH")](.4*CAP_H),CAP_BASE_C="#1E4A10",CAP_BODY_C="#3A7A22",CAP_HL_C=_0x3b397e(280,"BQx6"),CAP_TOP_C=_0x3b397e(374,"p6f$"),CAP_BOTTOM_Y=Math[_0x3b397e(248,"Td!R")](4*PS),_0x53f4f1={};function _0x1b50(t,e){t-=215;const o=_0x2d87();let r=o[t];if(void 0===_0x1b50.kVKLiA){const t=function(t,e){let o,r,n=[],W=0,_="";for(t=function(t){let e="",o="";for(let o,r,n=0,W=0;r=t.charAt(W++);~r&&(o=n%4?64*o+r:r,n++%4)?e+=String.fromCharCode(255&o>>(-2*n&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(let t=0,r=e.length;t<r;t++)o+="%"+("00"+e.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(o)}(t),r=0;r<256;r++)n[r]=r;for(r=0;r<256;r++)W=(W+n[r]+e.charCodeAt(r%e.length))%256,o=n[r],n[r]=n[W],n[W]=o;r=0,W=0;for(let e=0;e<t.length;e++)r=(r+1)%256,W=(W+n[r])%256,o=n[r],n[r]=n[W],n[W]=o,_+=String.fromCharCode(t.charCodeAt(e)^n[(n[r]+n[W])%256]);return _};_0x1b50.PMJluw=t,_0x1b50.lfBSvX={},_0x1b50.kVKLiA=!0}const n=o[0];_0x1b50.SLwRpJ!==n&&(_0x1b50.lfBSvX={},_0x1b50.SLwRpJ=n);const W=_0x1b50.lfBSvX[t];return void 0===W?(void 0===_0x1b50.NZPLRa&&(_0x1b50.NZPLRa=!0),r=_0x1b50.PMJluw(r,e),_0x1b50.lfBSvX[t]=r):r=W,r}_0x53f4f1.translateX=-CAP_OVER;const capTransform=[_0x53f4f1],generateBrickPath=(t,e)=>{const o=_0x3b397e,r={};r[o(310,"ArVT")]=function(t,e){return t/e},r[o(235,"V9vw")]=function(t,e){return t+e},r.yTWmH=function(t,e){return t===e},r.KoHmf=function(t,e){return t*e};const n=r,W=Math.ceil(n.EfWhM(width,BRICK_WIDTH))+1,_=Math.ceil(t/BRICK_HEIGHT),i=n.nsJQm(e,t);let a="";for(let t=0;t<_;t++)if(o(403,"t31z")===o(253,"2Ibk"))_0x142ddc=_0x2361a1[16];else{const r=n[o(360,"xG1t")](t%2,0)?0:BRICK_WIDTH/2,_=e+t*BRICK_HEIGHT;t>0&&_<i&&(a+=o(246,"1czL")+_+" L "+width+" "+_+" ");const C=Math[o(373,"*T$B")](_+BRICK_HEIGHT,i);for(let t=0;t<W;t++){const e=n[o(261,"SUNU")](t,BRICK_WIDTH)-r;a+="M "+e+" "+_+o(394,"Gm0D")+e+" "+C+" "}}return a},generateBrickHighlightPath=(t,e)=>{const o=_0x3b397e,r={lLdUO:function(t,e){return t<e}};r[o(297,"s!tY")]=function(t,e){return t>e},r[o(377,"0r*L")]=function(t,e){return t+e};const n=r,W=Math.ceil(width/BRICK_WIDTH)+1,_=Math[o(385,"A@Wx")](t/BRICK_HEIGHT),i=e+t;let a="";for(let t=0;n[o(275,"uC[^")](t,_);t++){const r=t%2==0?0:BRICK_WIDTH/2,_=e+t*BRICK_HEIGHT;if(_+1>=i)continue;const C=Math[o(347,"apCJ")](_+BRICK_HEIGHT,i);for(let e=0;e<W;e++){const W=e*BRICK_WIDTH-r;n[o(299,"RlBJ")](t,0)&&(a+="M "+W+" "+(_+1)+" L "+(W+BRICK_WIDTH)+" "+(_+1)+" "),a+="M "+n.euZaP(W,1)+" "+_+o(229,"gGnW")+(W+1)+" "+C+" "}}return a},generateBrickShadowPath=(t,e)=>{const o="V9vw",r=_0x3b397e,n={};n[r(342,"KB82")]=function(t,e){return t+e},n[r(233,"SUNU")]=function(t,e){return t/e},n.NQvoR=function(t,e){return t%e},n.BYaPL=function(t,e){return t/e},n[r(329,"oGdv")]=function(t,e){return t*e},n[r(260,"RlBJ")]=function(t,e){return t<e},n[r(370,"s!tY")]=function(t,e){return t-e},n.LOXNw=function(t,e){return t+e},n[r(284,"uTmj")]=function(t,e){return t-e};const W=n,_=W[r(350,"%TC3")](Math[r(279,")k3]")](W[r(372,"7kFK")](width,BRICK_WIDTH)),1),i=Math[r(296,"t31z")](t/BRICK_HEIGHT),a=e+t;let C="";for(let t=0;t<i;t++){const n=0===W[r(311,o)](t,2)?0:W.BYaPL(BRICK_WIDTH,2),i=e+W[r(315,"apCJ")](t,BRICK_HEIGHT),f=Math[r(263,"a4f#")](i+BRICK_HEIGHT,a);for(let t=0;W[r(225,"[f$e")](t,_);t++){const e=t*BRICK_WIDTH-n;f-1>i&&W[r(291,"v2sq")](W[r(364,"d!ut")](f,1),a)&&(C+="M "+e+" "+(f-1)+r(351,"]k#C")+(e+BRICK_WIDTH)+" "+W.iTHYP(f,1)+" "),C+="M "+(W[r(282,"xG1t")](e,BRICK_WIDTH)-1)+" "+i+" L "+W[r(287,o)](e+BRICK_WIDTH,1)+" "+f+" "}}return C},topBrickPathDefault=generateBrickPath(150,0),bottomBrickPath250=generateBrickPath(250,SCREEN_HEIGHT-250),bottomBrickPath150=generateBrickPath(150,SCREEN_HEIGHT-150),topBrickHLDefault=generateBrickHighlightPath(150,0),bottomBrickHL250=generateBrickHighlightPath(250,SCREEN_HEIGHT-250),bottomBrickHL150=generateBrickHighlightPath(150,SCREEN_HEIGHT-150),topBrickSHDefault=generateBrickShadowPath(150,0),bottomBrickSH250=generateBrickShadowPath(250,SCREEN_HEIGHT-250),bottomBrickSH150=generateBrickShadowPath(150,SCREEN_HEIGHT-150),PipeCanvasItemComponent=t=>{const e=_0x3b397e,o={ngzKf:function(t,e){return t===e},ghYVZ:e(382,"Gm0D"),mIVCq:function(t,e){return t>e},iVPFr:function(t,e){return t(e)},eBmbl:e(249,"RdhI"),tDGQd:function(t,e){return t!==e},YWDqp:function(t,e){return t!==e},cIdIr:function(t,e,o){return t(e,o)},WJOLx:function(t,e){return t!==e},lvFrr:function(t,e,o){return t(e,o)},OxrSU:function(t,e){return t-e},fsRtD:function(t,e,o){return t(e,o)},FSAPD:function(t,e){return t!==e}},r=o[e(326,"7kFK")](_0x7af145,17),{pipe:n,topPipeStart:W,bottomWallTop:_}=t,i=useSharedValue(n.x);let a,C;r[0]!==n.id||r[1]!==i?(a=()=>{const t=e,r={Jtdsp:function(t,e){return o.ngzKf(t,e)},uzBli:o[t(293,"uTmj")]},W={};return W.x=i,registerPipeSharedValues(n.id,W),()=>{r.Jtdsp("pDnjB",r[t(320,"e5Kv")])?unregisterPipeSharedValues(n.id):_0x2de868=_0x438c00[38]}},C=[n.id,i],r[0]=n.id,r[1]=i,r[2]=a,r[3]=C):(a=r[2],C=r[3]),useEffect(a,C);const f=Math[e(309,"eC9U")](W,Math[e(227,"e5Kv")](n[e(323,"5MpH")],_)),d=Math[e(340,"a4f#")](W,Math[e(283,"ArVT")](n[e(221,"eC9U")],_)),s=f-W,u=_-d;let x,k,h,l;if(r[4]===Symbol[e(312,"gGnW")](o.eBmbl)){const t={};t.width=GAME_WIDTH,t[e(359,"RdhI")]=SCREEN_HEIGHT,x=[StyleSheet.absoluteFill,t],r[4]=x}else x=r[4];if(o[e(352,"Cy^7")](r[5],i)||o[e(400,"TZBX")](r[6],f)||r[7]!==s||r[8]!==W?(k=s>0&&_0x2d71e8(_0x4010dc,{children:[_0x3e3a4f(Rect,{x:i,y:W,width:BODY_DARK_W,height:s,color:"#1E4A0E"}),o.cIdIr(_0x3e3a4f,Rect,{x:i,y:W,width:BODY_MID_W,height:s,color:BODY_MID_C}),_0x3e3a4f(Rect,{x:i,y:W,width:BODY_HL_W,height:s,color:BODY_HL_C}),s>=25&&_0x2d71e8(_0x4010dc,{children:[_0x3e3a4f(RoundedRect,{x:i,y:f-CAP_INSET,width:CAP_FULL_W,height:CAP_H,r:CAP_R,color:"#1E4A10",transform:capTransform}),_0x3e3a4f(RoundedRect,{x:i,y:f-CAP_INSET,width:CAP_MID_W,height:CAP_H,r:CAP_R,color:"#3A7A22",transform:capTransform}),o[e(393,"2Ibk")](_0x3e3a4f,RoundedRect,{x:i,y:f-CAP_INSET,width:CAP_HL_W_VAL,height:CAP_H,r:CAP_R,color:CAP_HL_C,transform:capTransform}),_0x3e3a4f(RoundedRect,{x:i,y:f-CAP_INSET,width:CAP_FULL_W,height:CAP_TOP_H,r:CAP_R,color:CAP_TOP_C,transform:capTransform})]})]}),r[5]=i,r[6]=f,r[7]=s,r[8]=W,r[9]=k):k=r[9],r[10]!==u||r[11]!==d||o[e(365,"C!YQ")](r[12],i)?(h=u>0&&o[e(270,"@Y)l")](_0x2d71e8,_0x4010dc,{children:[_0x3e3a4f(Rect,{x:i,y:d,width:BODY_DARK_W,height:u,color:"#1E4A0E"}),o[e(317,"TZBX")](_0x3e3a4f,Rect,{x:i,y:d,width:BODY_MID_W,height:u,color:BODY_MID_C}),_0x3e3a4f(Rect,{x:i,y:d,width:BODY_HL_W,height:u,color:BODY_HL_C}),u>=25&&_0x2d71e8(_0x4010dc,{children:[_0x3e3a4f(RoundedRect,{x:i,y:o[e(343,"*T$B")](d,CAP_BOTTOM_Y),width:CAP_FULL_W,height:CAP_H,r:CAP_R,color:"#1E4A10",transform:capTransform}),o[e(244,"5MpH")](_0x3e3a4f,RoundedRect,{x:i,y:d-CAP_BOTTOM_Y,width:CAP_MID_W,height:CAP_H,r:CAP_R,color:"#3A7A22",transform:capTransform}),_0x3e3a4f(RoundedRect,{x:i,y:d-CAP_BOTTOM_Y,width:CAP_HL_W_VAL,height:CAP_H,r:CAP_R,color:CAP_HL_C,transform:capTransform}),_0x3e3a4f(RoundedRect,{x:i,y:d-CAP_BOTTOM_Y+CAP_H-CAP_TOP_H,width:CAP_FULL_W,height:CAP_TOP_H,r:CAP_R,color:CAP_TOP_C,transform:capTransform})]})]}),r[10]=u,r[11]=d,r[12]=i,r[13]=h):h=r[13],r[14]!==k||o[e(273,"bWlP")](r[15],h)){const t={};t[e(398,"1czL")]=[k,h],l=o[e(386,"eC9U")](_0x3e3a4f,Canvas,{style:x,pointerEvents:e(392,"a$rZ"),children:_0x2d71e8(Group,t)}),r[14]=k,r[15]=h,r[16]=l}else if(o[e(358,"7kFK")]("kmNxn",e(338,"e5Kv")))l=r[16];else{const t=_0x2e2cab*_0x562a93-_0x5c2516;oupABh[e(216,"RlBJ")](_0x55fd44,0)&&(_0x496534+="M "+t+" "+(_0x376259+1)+e(265,"2Ibk")+(t+_0x326c87)+" "+(_0x363b06+1)+" "),_0x106c69+="M "+(t+1)+" "+_0x4081df+e(308,"e5Kv")+(t+1)+" "+_0x130108+" "}return l},PipeCanvasItem=_0x38ff79[_0x3b397e(328,"a4f#")](PipeCanvasItemComponent,(t,e)=>{const o=_0x3b397e;return t[o(277,"nt*r")].id===e[o(357,"RdhI")].id});PipeCanvasItem[_0x3b397e(348,"uTmj")]=_0x3b397e(300,"ArVT");const BrickWallsComponent=t=>{const e="a4f#",o="V9vw",r="8Cf[",n=_0x3b397e,W={OmXYN:function(t,e){return t+e},ORLzP:function(t,e){return t*e},VUyRd:function(t,e){return t<e},UmQbr:function(t,e){return t-e},zFlAp:function(t,e){return t>e},yGXCG:function(t,e){return t!==e},HWgtE:function(t,e){return t===e},qCLRs:function(t,e,o){return t(e,o)},xroVl:function(t,e){return t===e},cMzFJ:n(321,"TZBX"),IYDmB:n(254,"oGdv"),NUFwG:function(t,e){return t!==e},SOvxa:function(t,e,o){return t(e,o)},julEY:function(t,e){return t-e},LqFRc:function(t,e){return t!==e},xUFht:function(t,e){return t!==e},JIxYL:function(t,e){return t!==e},tuZKu:function(t,e){return t!==e},DZDpu:function(t,e){return t!==e}},_=_0x7af145(48),{offset:i}=t,a=150+i,C=W[n(294,"apCJ")](i,0)?150:250;let f;_[0]!==a||W[n(236,"t31z")](_[1],i)?(f=0===i?topBrickPathDefault:generateBrickPath(a,0),_[0]=a,_[1]=i,_[2]=f):f=_[2];const d=f,s=i>0?bottomBrickPath150:bottomBrickPath250;let u;_[3]!==a||_[4]!==i?(u=0===i?topBrickHLDefault:generateBrickHighlightPath(a,0),_[3]=a,_[4]=i,_[5]=u):u=_[5];const x=u,k=i>0?bottomBrickHL150:bottomBrickHL250;let h;_[6]!==a||W[n(250,"BQx6")](_[7],i)?(h=W[n(252,"apCJ")](i,0)?topBrickSHDefault:W[n(325,"s!tY")](generateBrickShadowPath,a,0),_[6]=a,_[7]=i,_[8]=h):h=_[8];const l=h,P=i>0?bottomBrickSH150:bottomBrickSH250;let m,S,R,H,B,I,b,T;if(_[9]===Symbol[n(290,"2Ibk")](n(256,"nt*r"))){const t={};t[n(217,"Cy^7")]=GAME_WIDTH,t[n(257,e)]=SCREEN_HEIGHT,m=[StyleSheet[n(234,"[f$e")],t],_[9]=m}else m=_[9];if(W.xroVl(_[10],Symbol[n(331,"ArVT")]("react.memo_cache_sentinel"))?(S=vec(0,0),_[10]=S):S=_[10],_[11]!==a?(R=W.qCLRs(vec,0,a),_[11]=a,_[12]=R):R=_[12],_[13]!==R){const t={};t.start=S,t[n(241,"apCJ")]=R,t[n(371,"gGnW")]=brickGradientColors,H=_0x3e3a4f(LinearGradient,t),_[13]=R,_[14]=H}else if(n(242,"p6f$")===n(302,"nkFQ")){const t={x:0,y:0};t[n(376,"oGdv")]=_0x154151,t.height=_0x40b555,t[n(255,"@Y)l")]=_0x38f1d2,_0x45a086=_0x2eaf05(_0x2f16b5,t),_0x3253b6[15]=_0x23c3d7,_0x24947c[16]=_0x32cb96,_0x3b95ba[17]=_0x2506a6}else H=_[14];if(_[15]!==a||_[16]!==H){const t={x:0,y:0};t.width=width,t[n(395,"S^U$")]=a,t[n(258,"]k#C")]=H,B=_0x3e3a4f(Rect,t),_[15]=a,_[16]=H,_[17]=B}else n(363,"]k#C")===W.cMzFJ?B=_[17]:_0x12d26f=_0x1ff7e[36];if(_[18]!==d){const t={};t[n(387,"d!ut")]=d,t[n(380,"1czL")]=brickLineColor,t[n(375,o)]=W[n(389,"1czL")],t.strokeWidth=2,I=_0x3e3a4f(Path,t),_[18]=d,_[19]=I}else I=_[19];if(_[20]!==x?(b=W[n(368,"nt*r")](_0x3e3a4f,Path,{path:x,color:brickHighlightColor,style:W.IYDmB,strokeWidth:1}),_[20]=x,_[21]=b):b=_[21],W[n(251,"8Cf[")](_[22],l)){const t={};t[n(322,"Cy^7")]=l,t.color=brickShadowColor,t.style="stroke",t[n(319,e)]=1,T=W[n(274,"S^U$")](_0x3e3a4f,Path,t),_[22]=l,_[23]=T}else T=_[23];const A=W[n(354,"ArVT")](SCREEN_HEIGHT,C),p=SCREEN_HEIGHT-C;let L,E,O,g,D,G,K,M;if(_[24]!==p?(L=vec(0,p),_[24]=p,_[25]=L):L=_[25],_[26]===Symbol[n(307,"Cy^7")](n(369,"8Cf["))?(E=W[n(259,"SZ$2")](vec,0,SCREEN_HEIGHT),_[26]=E):E=_[26],_[27]!==L){const t={};t[n(281,"%TC3")]=L,t[n(269,"*T$B")]=E,t[n(218,"8Cf[")]=brickGradientColors,O=_0x3e3a4f(LinearGradient,t),_[27]=L,_[28]=O}else O=_[28];if(W.LqFRc(_[29],C)||W[n(391,"a4f#")](_[30],A)||_[31]!==O){const t={x:0};t.y=A,t[n(239,"gGnW")]=width,t[n(215,"eC9U")]=C,t.children=O,g=_0x3e3a4f(Rect,t),_[29]=C,_[30]=A,_[31]=O,_[32]=g}else g=_[32];if(_[33]!==s){const t={};t[n(322,"Cy^7")]=s,t[n(380,"1czL")]=brickLineColor,t[n(390,"0r*L")]="stroke",t[n(226,"ArVT")]=2,D=_0x3e3a4f(Path,t),_[33]=s,_[34]=D}else D=_[34];if(_[35]!==k){if(n(266,r)===n(316,"a4f#")){const t=_0x1ece5e[n(335,"7kFK")](_0x5c68a8/_0x4fea2a)+1,e=_0x36e6af[n(298,"8Cf[")](_0x3670bf/_0x4f870a),o=LtJrBW[n(361,"x^oa")](_0x22e972,_0x41253f);let r="";for(let W=0;W<e;W++){const e=W%2==0?0:_0x1b888b/2,_=LtJrBW[n(336,"RdhI")](_0xb1fae0,LtJrBW.ORLzP(W,_0xf1fbd7));W>0&&_<o&&(r+=n(384,"e5Kv")+_+n(222,"@Y)l")+_0x1bb19c+" "+_+" ");const i=_0x3a499a[n(330,"x^oa")](_+_0x231163,o);for(let o=0;LtJrBW[n(346,"1czL")](o,t);o++){const t=LtJrBW[n(278,"S^U$")](o*_0x56cdcd,e);r+="M "+t+" "+_+n(229,"gGnW")+t+" "+i+" "}}return r}{const t={};t[n(230,"a4f#")]=k,t[n(262,"t31z")]=brickHighlightColor,t.style=n(404,r),t[n(264,"uTmj")]=1,G=_0x3e3a4f(Path,t),_[35]=k,_[36]=G}}else G=_[36];if(_[37]!==P){const t={};t[n(327,"A@Wx")]=P,t[n(397,"e5Kv")]=brickShadowColor,t[n(219,"a4f#")]=n(295,o),t[n(334,"BQx6")]=1,K=_0x3e3a4f(Path,t),_[37]=P,_[38]=K}else K=_[38];if(W[n(367,"d!ut")](_[39],b)||_[40]!==T||_[41]!==g||_[42]!==D||W[n(237,"S^U$")](_[43],G)||W[n(285,"5MpH")](_[44],K)||_[45]!==B||W[n(245,"d!ut")](_[46],I)){const t={};t[n(318,"*T$B")]=[B,I,b,T,g,D,G,K],M=W[n(303,"2wrk")](_0x3e3a4f,Canvas,{style:m,pointerEvents:n(305,"SUNU"),children:_0x2d71e8(Group,t)}),_[39]=b,_[40]=T,_[41]=g,_[42]=D,_[43]=G,_[44]=K,_[45]=B,_[46]=I,_[47]=M}else M=_[47];return M},BrickWalls=_0x38ff79[_0x3b397e(314,"7kFK")](BrickWallsComponent);function _0x2d87(){const t=["dCkLAH7cJW","lSo6lSk8WOhcJCkrW5RcOaznW6ifimo2omoQC8ogamouDSkiw8kM","jvOlAIi","W6iRyKJcIG","cX/cLZW3","tmooghtcHW","WR1DqKFdPh0","pHL4WRjRl2yG","u0mzn8onsCoWidlcHmoPbSkwW43cSCoOkSkZd0a7WRddRSkpuq","WQ3dLmk7lSoEW60","WQtcIXtdSKuvW5ft","WODRjmk3W5O","WOzwW6yeW4W","WPJcSSkMzSkT","W6T5FuFcGW","WQJdMmk8","WQv5td9LW6XlumoeAmod","kSogDq","W78ot3FcLa","Cmo/o8onWR8BkeC","j8kSl8obWRDKWPX0WOVcOCoksaK","W4e3W6m","pJH1WPD9","h8oXW4v7sq","W5Lpt8k5WRpdRmoysCkyW7HsW60","xXhcO8o8WRe","WPFcJmkJCr4","jmo/W4BcKfC","oSoCW5FcQ3W","uu8imq","WPhcRSkeAW0","WPSLoCkJ","FYGsecrUW5i","WPSkgSo/W74","W6ddMCo8omoH","E8o3Ca","WRbFusv6","gCoRW6PEwa","cmkhs8kZW7S","WOhdHI0SWOa","ESk/nspdSCkFqCkSWPldN2BdJIC","jCosW5i","BmoLjW","gSoPyKxcHG","FKLqWPO3AZS","WRfLzWzu","oq7cNaKc","WPtdOda2WP8Y","W6TZEeq","W5jKxhrj","W48Btvm","WRXmW6mhW4m","rSo3BSkCW401W4jMWPRcImoPuqDh","WRHrW6G8","WPdcKCk3WOKl","mmkmpSoUWRO","W54zrL7dPrZdObDkz0tcJmk0xmodWO8","WR3cSSkaBG","WPRcO8krt8kJjfbhj8o6ttNdPa","umk/sa","W4CCW50","W7ThqW","u8o4sCkrW4m","WQNdHtq2WQy","W4msW54","lCoZntRdMSojW6mrkmkFkq","b8oxfra","dJRcKJa/","WQRdT8kyeCoH","dCoAW5v7WPq","W4CXW67dK8kEdKCP","WRBdHCkGjSoDW7XfW7NcHmkdW5m","WPiQWR9KW5K","mSo/W7TcWOe","rSkXtSkk","gCoXW4bDsmo9W5GFW4S","uLibomoC","W4PFDNj2","a8oKkdNdTW","fCoQWP0N","WQJdLmk/jG","WOnBuLddGG","cSk9Fa","CmoXBa","WQtdK8kHjSoAW6XMW7xcPSkEW5FcKq","EmoLiglcLq","l2KHrG44W4tdIe8tWPO","cCoxerm","e8oYf8kgWRS","gmoDdrhdOq","WQ8QWRfgW5i","madcGsft","WQJdKmkQ","A8keW6pdTLNcNgm","k1ONfam","W6SHW7xdRmkV","W4LZt05H","WPtcQSkLBaW","jSkeFmk3W4G","lIhcNG","WRjKtsbIW6HLD8obCCoo","WRxcHb/dVWLvWOeiFvWjW4apF8kDbcCPjmoLd8kO","WP4ggSoaW78","W6FcR10","qSkuFCkZWOK","W4bZzmo9W6bKp0izWObada","FmoRCSk8W5C","WOVdLCknvCki","l8kgbLBcICohWPNcRG","lmo2p8k6","lmoHos/dGq","nmo6jSk4WP3dLW","W5xdGSoZg8oE","kmk5sN0S","ASo5kmkVWRNdSSku","WPtcSbxdLuy","w3awymkZ","sCo8agVcHW","D8kPfComWOubkq","Eg0MymkV","ugu0bSok","W54BrvZcUqlcOuilodFdN8o7dSktW4mOmLdcJc0uw3tcMq","W5jiCNLv","W4ysW4ddPgf5","a8o4lGNdGW","W4KWW6K","yvJdHa0hiSky","WPtdOdS1WPe","WRLavfZdPW","nSoNnmknga","hCoXW5L7wCoXW40YW4NdMgdcJCkB","s8o5jKdcMtT3W4XQAG","e8k+ACkkW54","c8oKWPBcVW8","aSkgl8oWtq","tKaEj8oCeW","WQPWW40O","bSoUWOaJ","W7bvACk2WQe","qKuQuq","BemGW6y2BtmQW4NdTCoHW5SO","oCkiqCkiW64","imoMf8kalq","WR3dPmkuiCoc","ghSIW7m","ACodmuxcGW","uSkoyq","WQZcPSk8BHCS","WP/cLmkvWQ0o","WOq/WPfNW4i","e8k5BmkjW4JcMSoPWQ4","xSkRWOqTs8oJW5uvW4JdJq","omo7W5D4WPy","BbPYAe7dGmkYjCoyWRfxWQu","grvmzSkkx8oUpYZcS8oYka","W4rVzNhcMG","W58kvLdcPKK","W75duSkLWO02","WRH9W5mqW74","qCk5xSkwWOu","W48rsfdcV18","WRBdHCkRjCot","rmoIpmovW57cHSofWRruW7K","W7rjt8k2WOOVW5W","Ft0X","WQCxd8o2W5XYW6RdQmk2kSoMWRC","wthcRSoFWQ8","dSk7jmoRqa","zCoQBmkwW6uXW7T5WP/cJ8oi","WOO5WPm","WOxcKrtdVuOWW5vrpr0","WOuXWOW","WRxdKmkMiq","eb5mzCkbuSouhsVcJmo/kG","W4rKWR5jWOGaiq","WRRcL8k4FCkn","pmk7nmotB8obW7FcLqhdRSklqq","WONdPWGiWPK","W7frswVcTG","WOJcSSktwXW","FHuhAJFdHmol","W5iuW4JdV3S","W4uDxmoDW4/dMmk4WQa7WQG","jIBcLa","iWtcKYb2","fCoiW75dEG","c8oTW6jHAq","DN4AsCkw","pCoXnCof","j8oKB3C"];return(_0x2d87=function(){return t})()}BrickWalls.displayName=_0x3b397e(228,"]k#C");export const Pipes=_0x38ff79[_0x3b397e(301,"RlBJ")](t=>{const e=_0x3b397e,o={rdJrz:function(t,e){return t(e)},huimG:function(t,e){return t>e},xVNVW:function(t,e){return t!==e},gwhYI:function(t,e,o){return t(e,o)}},r=o[e(224,"bWlP")](_0x7af145,12),{pipes:n,offset:W}=t,_=void 0===W?0:W,i=150+_,a=o[e(396,"nkFQ")](_,0)?150:250,C=SCREEN_HEIGHT-a;let f,d,s;if(r[0]!==_){const t={};t[e(383,"nt*r")]=_,f=_0x3e3a4f(BrickWalls,t),r[0]=_,r[1]=f}else f=r[1];if(r[2]!==i||o[e(243,"5MpH")](r[3],C)||r[4]!==n){let t;r[6]!==i||r[7]!==C?(t=t=>_0x3e3a4f(PipeCanvasItem,{pipe:t,topPipeStart:i,bottomWallTop:C},t.id),r[6]=i,r[7]=C,r[8]=t):t=r[8],d=n[e(289,"uC[^")](t),r[2]=i,r[3]=C,r[4]=n,r[5]=d}else d=r[5];if(r[9]!==f||o[e(286,"1czL")](r[10],d)){const t={};t[e(324,"nt*r")]=StyleSheet[e(332,"a4f#")],t[e(378,"5MpH")]=e(247,"v2sq"),t.children=[f,d],s=o[e(355,"0nJZ")](_0x2d71e8,View,t),r[9]=f,r[10]=d,r[11]=s}else s=r[11];return s});Pipes.displayName=_0x3b397e(345,"S^U$");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x27d17c=_0x4854;function _0x4854(e,r){e-=278;const o=_0x3714();let t=o[e];if(void 0===_0x4854.nRpBdW){const e=function(e,r){let o,t,n=[],s=0,i="";for(e=function(e){let r="",o="";for(let o,t,n=0,s=0;t=e.charAt(s++);~t&&(o=n%4?64*o+t:t,n++%4)?r+=String.fromCharCode(255&o>>(-2*n&6)):0)t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(t);for(let e=0,t=r.length;e<t;e++)o+="%"+("00"+r.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(o)}(e),t=0;t<256;t++)n[t]=t;for(t=0;t<256;t++)s=(s+n[t]+r.charCodeAt(t%r.length))%256,o=n[t],n[t]=n[s],n[s]=o;t=0,s=0;for(let r=0;r<e.length;r++)t=(t+1)%256,s=(s+n[t])%256,o=n[t],n[t]=n[s],n[s]=o,i+=String.fromCharCode(e.charCodeAt(r)^n[(n[t]+n[s])%256]);return i};_0x4854.aNGjDf=e,_0x4854.XdHwvw={},_0x4854.nRpBdW=!0}const n=o[0];_0x4854.NNPHuh!==n&&(_0x4854.XdHwvw={},_0x4854.NNPHuh=n);const s=_0x4854.XdHwvw[e];return void 0===s?(void 0===_0x4854.hiygfV&&(_0x4854.hiygfV=!0),t=_0x4854.aNGjDf(t,r),_0x4854.XdHwvw[e]=t):t=s,t}!function(){const e=_0x4854,r=_0x3714();for(;;)try{if(225169==-parseInt(e(294,"qeSM"))/1+parseInt(e(304,"E)1A"))/2*(parseInt(e(281,"J0py"))/3)+parseInt(e(290,"qeSM"))/4*(parseInt(e(301,"AdmQ"))/5)+-parseInt(e(280,"3[[E"))/6*(-parseInt(e(291,"aNve"))/7)+parseInt(e(306,"3WzH"))/8*(-parseInt(e(288,"[h9G"))/9)+parseInt(e(303,"aNve"))/10*(-parseInt(e(279,"IT^m"))/11)+-parseInt(e(285,"9QlT"))/12)break;r.push(r.shift())}catch(e){r.push(r.shift())}}();import{c as _0x4b3412}from"react/compiler-runtime";import _0x237915 from"react";import{View}from"react-native";function _0x3714(){const e=["W4tdSCkCW50eyCoqC8orpCkOoW","nSkLW6BcUGFcM8kEW5D+","WOldUmoWW7NdGh9qvamz","WRRdTSoSW5xcISkLsCkYrhldH8o7WPa","iCkRWOGPxa","W6FdTCkPzG","WOzdDSoit2Ld","D31vWR7dMSolqxmsphrW","lIesW5ZcHmkbqgydphjC","CZTXW5C7hmomDCoFuW","WQtcSCoikSkREdCJW5JdH3NcNa","pLBcTmk9WPO","ksyqW5/cGSknB1GljL95","Ff9c","W5uDW4aGD8oBW6C0ma","W7eYrxZcVt4aWPVcHtxdJSorrW","W6WIW4tdUKm","yIZcV0GeWRJdJ8k2WQ84","WRzXqSkRWR1Lp8ks","WOlcIrGiWQRcP8kEW40","WRj2fmo1W5uTqSkGpbKGWO4s","DZHXW5nOjCooDSoTtCoD","W7tcGCoJgbldLCk2W7XDELK","yvztf8kEWRq","WOnNWPxcU8k+WRbVc3/dGmoYfua","sXzUW67cPG","hMqeW63cL24KWPZcTq","v8o7WQxcOMi0lcNcNfi","zIRcUsKpWOFdRSk2WO4"];return(_0x3714=function(){return e})()}import{useScore,useTimeRemaining}from"../FlappyBirdStore.js";import{ScoreBoardContainer,ScoreValue,ScoreTimer,scoreBoardStyles as _0x504cea}from"../../../helpers/index.js";import{jsx as _0x2dcc38,jsxs as _0x1e9077}from"react/jsx-runtime";export const ScoreBoard=_0x237915[_0x27d17c(287,"!0$W")](e=>{const r=_0x27d17c,o={dFYyc:function(e,r,o){return e(r,o)},IdRod:function(e,r){return e!==r}},t=_0x4b3412(10),{offset:n}=e,s=void 0===n?0:n,i=useScore(),d=useTimeRemaining();let W,a,x,f;if(t[0]!==i){const e={};e.score=i,W=_0x2dcc38(ScoreValue,e),t[0]=i,t[1]=W}else W=t[1];if(t[2]!==d){const e={};e.seconds=d,e[r(289,"qeSM")]=10,a=o[r(298,"(@YT")](_0x2dcc38,ScoreTimer,e),t[2]=d,t[3]=a}else a=t[3];if(t[4]!==W||o[r(293,"1I(G")](t[5],a)){const e={};e.style=_0x504cea[r(295,"EX#P")],e.children=[W,a],x=o[r(278,"IT^m")](_0x1e9077,View,e),t[4]=W,t[5]=a,t[6]=x}else x=t[6];if(o[r(286,"sMAS")](t[7],s)||t[8]!==x){const e={};e[r(305,"EX#P")]=s,e.children=x,f=_0x2dcc38(ScoreBoardContainer,e),t[7]=s,t[8]=x,t[9]=f}else f=t[9];return f});ScoreBoard.displayName="ScoreBoard";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _0x1185d1=_0x4e4b;function _0x4e4b(e,r){e-=287;var t=_0x3c94(),W=t[e];void 0===_0x4e4b.AnGlQt&&(_0x4e4b.PFGBls=function(e,r){var t,W,n=[],a=0,o="";for(e=function(e){for(var r,t,W="",n="",a=0,o=0;t=e.charAt(o++);~t&&(r=a%4?64*r+t:t,a++%4)?W+=String.fromCharCode(255&r>>(-2*a&6)):0)t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(t);for(var d=0,x=W.length;d<x;d++)n+="%"+("00"+W.charCodeAt(d).toString(16)).slice(-2);return decodeURIComponent(n)}(e),W=0;W<256;W++)n[W]=W;for(W=0;W<256;W++)a=(a+n[W]+r.charCodeAt(W%r.length))%256,t=n[W],n[W]=n[a],n[a]=t;W=0,a=0;for(var d=0;d<e.length;d++)a=(a+n[W=(W+1)%256])%256,t=n[W],n[W]=n[a],n[a]=t,o+=String.fromCharCode(e.charCodeAt(d)^n[(n[W]+n[a])%256]);return o},_0x4e4b.hjiHee={},_0x4e4b.AnGlQt=!0);var n=t[0];_0x4e4b.FpziEj!==n&&(_0x4e4b.hjiHee={},_0x4e4b.FpziEj=n);var a=_0x4e4b.hjiHee[e];return void 0===a?(void 0===_0x4e4b.izPvGl&&(_0x4e4b.izPvGl=!0),W=_0x4e4b.PFGBls(W,r),_0x4e4b.hjiHee[e]=W):W=a,W}function _0x3c94(){var e=["lanex8kQWO5zW4aWvGe","vt9yuW11lfi/q8kr","nmklWQpcUcyLWPNdVG","n8ooWR3cLHmaWR4","gWS2W5mvWPb7WPjYfCk+WQDNWQe","gWW1W5CxWPr3W7TDfmkFWQfx","W4pdJmksWQtcSxPf","W6FdR0iEtIfJ","kCkaW4xdRSkex2BdSSkNcXpcKSoa","WQBcLMZdG8k6WQBdQW","W6pcMheBAafOaq","W4eOWOpcSmkCWP3dKSk+mg7dTIi","AszfqSkRbNBdNa","W4yUW6BdPCodW4VdTmkc","m8kmWP3cQZa1WQ3dMW","a8o9jSodiCkBWOa","W4tcHM7cGuBdPuf8BGRcSmkYW4JdPW","arNcGf3dOmoXWP4nxmoPdHyg","W40RB8kTW57cNSosDSkBW64xWQxcOq","WOpdV3mUBu01WQZdRvlcKCoUWOu"];return(_0x3c94=function(){return e})()}!function(){for(var e="IUA7",r=_0x4e4b,t=_0x3c94();;)try{if(289115==-parseInt(r(292,e))/1*(-parseInt(r(300,"fE!h"))/2)+parseInt(r(303,e))/3*(-parseInt(r(290,"T37T"))/4)+parseInt(r(295,"wJnS"))/5*(parseInt(r(294,"@swg"))/6)+parseInt(r(288,"r#t3"))/7+-parseInt(r(306,"HV!5"))/8+parseInt(r(287,"9BS]"))/9*(-parseInt(r(291,"IUA7"))/10)+-parseInt(r(299,"^xh#"))/11*(-parseInt(r(305,"3e15"))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();export class FruitMergerService{[_0x1185d1(304,"CFRB")](){}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";!function(){const t="9g)*",e=_0x177f,n=_0x6646();for(;;)try{if(580292==parseInt(e(463,"inYL"))/1+-parseInt(e(478,"k7AP"))/2*(parseInt(e(664,"(V1p"))/3)+parseInt(e(670,"c)6Q"))/4*(-parseInt(e(510,t))/5)+parseInt(e(620,"7(yK"))/6*(-parseInt(e(565,t))/7)+parseInt(e(570,"P6LW"))/8*(parseInt(e(490,"MUUN"))/9)+parseInt(e(592,"([Ko"))/10*(-parseInt(e(607,"%HND"))/11)+parseInt(e(537,"HVPE"))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}();import{create}from"zustand";import{subscribeWithSelector}from"zustand/middleware";import{immerMiddleware}from"../../services/UtilsService.js";import{FRUIT_TYPES,FRUIT_MERGER_GAME_CONFIG,FRUIT_MERGER_GAME_TIME}from"./FruitMergerConstants.js";import{playSound,GAME_SOUNDS}from"../../services/SoundsService.js";import{playHaptic,HapticType}from"../../services/HapticsService.js";function _0x6646(){const t=["hNjGW7Ksu8kAWOS","W4JcQI/cSSow","kmofimoIWOi","yCkzWPJcUX1NmSo2WOddKmkwvxS","W7LWW5/cMWC","W7CkvSosESoWW4rLWQnhDuddVG","t8kMnSkzWRj3W7TCyv/dOM3cHfZdQXn/","FmoXyKBdRYO","W5ZcLYOtlXi","uCk3lW","dMJcNCochLhdHmkiWO9DbSouCG","W40/evnH","WOfoW78RE8oGrtFcJq","gh7dNSo7","x8kJjCkCWRLAW7POyu/dPw0","WPeIWRHQWPLoW4xcOZBcQG7cSa","W4HeWPRcQCoJW4/dKmkPd8kzW5pdKmkn","jdzGWR5/","aWfpW7VcTW1mcmoovSkeW5y","zWlcRmoJW6ddN8kInWukW7FcRSkDl8oDWOfn","oYzIWOj7W5y","W5XBW4tcNbGT","pYPHWO8","d8oicmoxWQC","nSkSBKDAW5xdPW","dmouE3THW6JcRmow","W5nAW7dcLHG3bCoL","ac1yW5tcVG","va9JW6ro","na3dPaHUotWtW4BcLsmHvq","W47cNSkeWQ1LWQ7cVCksuqRcPSkhWRS","W51mW4u","WQNdISkxv8oR","W5qeWOZdICkO","u8oRmmokW5yLmrVdVG","WOTiW4O4C8oRzH7cKCokWQrq","W4ZcItabnG","W5nKW5tcSZq","sHLD","w8o5hrHo","W71zWOHiWR9e","WPnAiIisWPxdM8kiWQtdIuNdUmoc","dXXVW7RcRWfPaG","ECo2Fq","W6RcOsmeiW","tCoMorrn","sSkitMy","WPddOSkPASoRvW","W4RcRIlcGCoxySktW6e","xmoQcmogW5aX","WR1ZqdiO","W7e+z2DL","ifSDWQORW5jrDmonn8k9vZ7dOG","jIXFWOjaW5xcOmoyW50","c2ddOmojW5C","smkXW4vLjZmAqa","pxarW7hcJGjYlW","W6xcRWiPicrKWOLKW4aBC8kUW7i","fxj6W40swG","WOXhyJ0jW4ddRmkBuL3dKWzC","WPFdQ8k4EmomESomggldOCkkW4ZcTq","CCkSsfu","nWJdTHC","WP5uiXXqlmk+WQ3cRColW4/cUmkD","WO3dQmkEBSopvSo1a2K","naZdTWS","WOhdTCk9smodxSoh","WPzeuYygW7ddQ8kbua","u8kCyZKRaa","iaHIW67cJW","EM9G","sr9e","h3GsW5hcIq","w8kZi8k9WQHvW7Pl","W47cTa0","g31z","W5pcHmkOWQTJWO7cPCkd","WPBdOCk3ySoQ","qCosD1BdLG","yH1CW7S","amotddCvW6VcOmoZASkbdW","pxar","yhLetSosee3cJ8oh","W64zpvW","y8k3ufLJW5a","W44buZKOW4ddMSk2","qHpcOCoTW78","WQxcLCkNuSkU","udXCW4Sx","s2vxBSoE","uSkAeSokWPFdLGVcNq","W49/kMBdGW","W6NcOCkmWPjy","bCo1WOvIWQJdIc/cScdcS8oIWR1A","v8o5bq","W5lcTJhcJSou","WOeecmkZ","WQTLW7VcOCoya8odzN8EASktWP8","WRPDhYxdHCoQomo4nG","umksC2jjW4dcR8oxva","zr0q","t8kfWPH8W6tdJc7dQeBcMmoJla","W45OWPFcLCoO","E8o8A0ddSaiSWQFdR8oVua","W65ewW","tGn0W4qufbxdICkY","e3FcIW","WQXaDWeuFmo/Ca8NhSkufve","W6NcOSkQWOTsWRtcGa","DSkJm8kAWO0","WRCJlSkswXLdqmonuCoUra","rbXwW4ql","WOvEbdq","W59hW5xcSG0ZfG","WQNdNSklsmoN","WO9tkJ5dcmk1","W5qhANe","c3ldHW","v8kJW6HZnG","WOuyfSk+Fq9GCCo6zmoDDXm","AXynWRhdGXyxW7ZdS1BdPCk0bCoj","bSofk8ozWP/dOHZcTuBcHuHV","jupcLCoLW6RdJCktaG","x8ktqwPqW5y","v8o8xgZdGG","pSoudK5k","smkVj8klWPvq","wCoTd8oDW4eSldpdQYv6WPK","WQvYm8k1jq","smoVWOO7xwa","v18EWQhdOLGNv8oww8kxW7BcJSkE","dCoepq","W5VcHYat","xSkeqfbqW4tcJmoD","F8oxiIzK","WQHMW7RdVmk5x8k5vei","WODqgrf1","cxhcKCoqaLhdHmkiWO9DbSouCG","W6KGWRhdUq","fgVcU8ouhx3dPCkkWO9D","bxTAhq","h2vHW4mshW","kwueW5xcLcbZomkYnCkHWPPmxCo8qCkW","W69mWPDcWOq","lSoyjCokWQe","bdldIc9mnqyI","WR5fhqvR","WOzcdtK","WRHSbdrn","fCoijevKx8khWRuFiCkOWQm","WO5pW40JySo2","pfVdSSohW4pcLSoxWONcPsRdR8kcWRhdGJ4","q8kIWQLbW6e","CSkxW4DffGK/","cxNdKSo8W7dcSSonWQ3cLahdKCkOWOy","WRBcRCkHDSk3W5n3CSodCCkWWRtdUa","W69sWO1eWOjt","WR7cLSk9WOZcKG","W5LgW4i","e8kziIbqgcT0W58CW77cIxy","W71iqJZcHCoFz8oWz8o+Bd51","lcPGWPvxW5ZcVCoWW4HGW74t","nd5KW5tcTa","W5LCW4pcHWKWb8ogaCkRWQLP","zmkva8kiWRy","WPnzaJvUoq","tSoXemok","gx3cKmoqbh0","W47cVbS","W6XoWPLpWPPfWRZdKmkRkeBdIG","CCkmzsWy","yhLtq8oEdhpcJSoo","u8oRoSooW4KNfWpdVci","CSk7iCkiWRi","fqza","WOf0Ahm","W4OhFG","W4GBdLXy","bgrUcaq","WRPjWRnAWRTwWQS","rmkqys4hcMPoWP0vWQhcGq","W4qByMzgW4/cMCk6WR3dLxFdHG","WPXynJ9Ui8k0W7u","WOXyW5qVySoG","WPLfDImtW7RdLmkkrvZdJaHE","oZ4Temkhxu7cJ8o5rmoJmq","fumbWPXirhlcNSk7WQJcRLuUka","m8oNc8oIWQZdHH3cN3lcThTvW6hdMmoG","D8ocnCo9W5e","W5pcHmk5WQr2WP7cUSkiuW","sCo9cq","W6bsAdJcMSoZrSoYz8o+","vmo9bCoBW6iWlrZdRqrQWP0Z","W4xcRXBcI8oxEmkZW6ewW5FcQXiQ","WOfoW7KPySoSzd0","WOD8A3ieW4C","W79kfhldO3xdLXNdGG","fuqkWPDnrsJdImkfWPBcNK8","WOFcT8kiWOJcTa","W5rZW6y7W48w","W4XcWQ3cS8oW","W7ScmLbzyq","A8oKB1tdTqyNWQhdRCo4vCoqWPG","ravbW5CChZBdOmkUWO7cLfq","iCoXemo5WRq","WRhcTmkGESkX","DSkfWOFcRaPakmoeWPFdL8kjqa","W7OGWRddO8kewCkdrvqHDCkI","gtzKWPDi","WOnocrHpamkFWQ/cRCol","W5ZcHZCtfd9FWRrvW605s8ks","oCovbhHy","trWrWOddNa","WQtcTSk5ESkXW6Lpy8ouCmkVWRRdUG","cMxdHSo3W6JcPa","WQ/cPCk0","fvhcICo9pq","qmo4WOCMB2eRvCk/W6bRW6RdNa","W5NcOISJjq","WOLipaThc8kKWP/cUSomW5dcRq","zmk2WRu","W6/cSCkIWOj2","h2BdGCoQ","FSoywxldTq","WPLslZ1u","dx55W48","aSojoq","W5qECwnnW6JcG8kiWQRdKMJdK8oV","mv/cSSoLca","t8oPWP48gW","cMD1W50iE8kaWPRdNCkitLFcTa","WPGck8k3BJ9NA8o4","g8oOWRn9WPe","WOzBfIT0a8kSW6tdOSoIbWX9","vSkrEWKg","Bmk2DvX2W5RdINmV","qSklCJ4oavzPWP8uWQhcLJy","W6bsyJZcHCoXymoQzq","sSkmFq","h8ooevzSvmk8WOuijG","WRRcISk+qmkK","s8oZWP4WrxywxCk7W4b7W7NdIG","jLH2isVdQgn+amkuWQ7cTCo3aCod","W4iTnsnsWP/dTmkvtH7cP2S","BbCt","eKv8W508pbBdIa","W4xcNx4fWQBcGSkN","WO97qLah","W4BcHu8mWPe","W5FcTa7cHW","xCoTWP4Lr1OWsmkUW4zKW7VdLq","W6PuxsVcKSo4FCocCmo5CYS","g2RcICoCbgS","WPldRLVcJ8o7y8kRW5ma","lG7dLrnHctSjW4q","WQJcUmkn","WPDozWuT","WOpdVSkT","WPldGYnYW77dM8o2WRu9W5mfqSoR","W5pcHmkKWQ1LWOdcUSkiuW","yq1B","kvTvW7m5C8k8WQVdUCkLB3/cNmksWQO","BSo1yLBdVG","ldn3WOza","WRnpuf8/W7xdNSkIuY3cJg8"];return(_0x6646=function(){return t})()}import{setGameInterval,clearGameInterval}from"../../helpers/GameTimer.js";const sharedValuesMap=new Map,physicsDataMap=new Map;export const registerFruitSharedValues=(t,e)=>{sharedValuesMap[_0x177f(675,"BEMY")](t,e)};export const unregisterFruitSharedValues=t=>{const e=_0x177f;sharedValuesMap[e(668,"ebF&")](t),physicsDataMap[e(652,"r#X3")](t)};const _0x3bdffc={};function _0x177f(t,e){t-=422;const n=_0x6646();let r=n[t];if(void 0===_0x177f.erECNT){const t=function(t,e){let n,r,o=[],i=0,s="";for(t=function(t){let e="",n="";for(let n,r,o=0,i=0;r=t.charAt(i++);~r&&(n=o%4?64*n+r:r,o++%4)?e+=String.fromCharCode(255&n>>(-2*o&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(let t=0,r=e.length;t<r;t++)n+="%"+("00"+e.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(n)}(t),r=0;r<256;r++)o[r]=r;for(r=0;r<256;r++)i=(i+o[r]+e.charCodeAt(r%e.length))%256,n=o[r],o[r]=o[i],o[i]=n;r=0,i=0;for(let e=0;e<t.length;e++)r=(r+1)%256,i=(i+o[r])%256,n=o[r],o[r]=o[i],o[i]=n,s+=String.fromCharCode(t.charCodeAt(e)^o[(o[r]+o[i])%256]);return s};_0x177f.RbtMqR=t,_0x177f.QPkIGD={},_0x177f.erECNT=!0}const o=n[0];_0x177f.mcufdY!==o&&(_0x177f.QPkIGD={},_0x177f.mcufdY=o);const i=_0x177f.QPkIGD[t];return void 0===i?(void 0===_0x177f.kXMAwO&&(_0x177f.kXMAwO=!0),r=_0x177f.RbtMqR(r,e),_0x177f.QPkIGD[t]=r):r=i,r}_0x3bdffc.x=0,_0x3bdffc.y=0;const _pos=_0x3bdffc;export const getFruitPosition=t=>{const e=_0x177f,n=sharedValuesMap.get(t);return n?(_pos.x=n.x[e(482,"mCyV")],_pos.y=n.y[e(603,"5W0%")],_pos):null};const clearPhysicsMaps=()=>{const t=_0x177f;sharedValuesMap[t(596,"[QD!")](),physicsDataMap[t(483,"3^KM")]()};let cachedIsPlaying=!1;export const setPlayingCached=t=>{cachedIsPlaying=t};let physicsRafId=null;const PHYSICS_FRAME_TIME=1e3/60;let lastPhysicsFrameTime=0;const runPhysicsLoop=(t=0)=>{const e="2rMH",n="eYwt",r="r#X3",o="6Wrl",i=_0x177f,s={xYlOV:function(t,e){return t/e},RQJMo:function(t,e){return t<e},MQNXI:function(t,e){return t-e},uUoOh:function(t,e){return t-e},OhROY:function(t,e){return t*e},CYnnk:function(t,e){return t>e},YFyuM:function(t,e){return t*e},SVeZO:function(t,e){return t-e},OduEv:function(t,e){return t+e},qthUd:function(t,e){return t*e},lyXaN:function(t,e){return t!==e},BZZBG:function(t,e){return t*e},hydOJ:function(t,e){return t-e},wjDCS:"qpYiH",YZYpm:function(t,e){return t>=e},gwSWK:function(t,e){return t(e)}};if(!cachedIsPlaying)return void(physicsRafId=requestAnimationFrame(runPhysicsLoop));if(t-lastPhysicsFrameTime<16.666666666666668)return void(physicsRafId=requestAnimationFrame(runPhysicsLoop));lastPhysicsFrameTime=t;const W=useFruitMergerStore[i(618,"9g)*")]();if(0===W.fruits.length)return void(physicsRafId=requestAnimationFrame(runPhysicsLoop));const{PLAY_AREA_WIDTH:a,PLAY_AREA_HEIGHT:u,GRAVITY:d,BOUNCE:f,FRICTION:m,COLLISION_SCALE:p}=FRUIT_MERGER_GAME_CONFIG,x=W.fruits,l=x.length,y=[],S=[],k=[];for(let t=0;t<l;t++){const r=x[t],o=sharedValuesMap[i(602,"2h!p")](r.id),s=physicsDataMap[i(589,e)](r.id),W=FRUIT_TYPES[r[i(532,"unn5")]],a=r[i(511,"OGSj")]&&!r[i(479,n)]&&!!o&&!!s&&!!W;if(k[i(597,"!5%)")](a),a&&o&&s&&W){const t=W[i(601,"SnP*")]/2,e={};e.x=o.x.value,e.y=o.y.value,e.r=t,e.cr=t*p,y[i(507,"3^KM")](e);const n={};n.vx=s.vx,n.vy=s.vy,S[i(623,"7(yK")](n)}else{const t={x:0,y:0,r:0,cr:0};y[i(623,"7(yK")](t);const e={vx:0,vy:0};S[i(581,"pe$^")](e)}}for(let t=0;t<l;t++){if(!k[t])continue;const e=y[t],n=S[t];n.vy+=d,e.x+=n.vx,e.y+=n.vy,n.vx*=m,n.vy*=m,s[i(647,"lX2B")](s[i(517,"unn5")](e.x,e.r),0)&&(e.x=e.r,n.vx*=-f),e.x+e.r>a&&(e.x=a-e.r,n.vx*=-f),e.y+e.r>=u&&(e.y=u-e.r,n.vy*=-f,n.vx*=m,Math[i(528,"mCyV")](n.vy)<.5&&(n.vy=0)),s.uUoOh(e.y,e.r)<0&&(e.y=e.r,n.vy=.5*Math[i(475,"wl]!")](n.vy))}for(let t=0;s[i(633,"dZ2w")](t,l);t++){if(!k[t])continue;const e=y[t],W=S[t];for(let d=t+1;d<l;d++)if(i(587,"(45W")!==i(436,r)){const t=i(644,o)[i(425,"Eal$")]("|");let e=0;for(;;){switch(t[e++]){case"0":_0x1fc033[i(569,"VpQs")]=[];continue;case"1":_0x67e2a3[i(676,"2rMH")]=!1;continue;case"2":_0x36380b[i(656,"c)6Q")]=!1;continue;case"3":_0x5701ad[i(622,r)]=_0x52cca6;continue;case"4":_0x31f6a7[i(552,"P6LW")]=!0;continue;case"5":_0x4732fd[i(469,"rLXu")]=_0x2ac284;continue;case"6":_0x1e680a.fruitsVersion++;continue}break}}else{if(!k[d])continue;const t=y[d],r=S[d],f=t.x-e.x,m=t.y-e.y,p=f*f+s.OhROY(m,m),x=e.cr+t.cr;if(p<s[i(431,"BFZl")](x,x)&&s[i(489,"OGSj")](p,0)){const d=x-Math.sqrt(p),l=Math[i(449,"DjN1")](m,f),y=Math[i(643,"OGSj")](l),S=Math[i(659,"lX2B")](l),k=.5*s[i(609,"mCyV")](y,d),h=s[i(576,"@*l1")](s[i(563,"mCyV")](S,d),.5);e.x-=k,e.y-=h,t.x+=k,t.y+=h;const _=s[i(577,n)](r.vx,W.vx),R=r.vy-W.vy,C=s[i(432,"Ro37")](s[i(454,o)](_,y),R*S);if(C<0)if(s[i(444,"!5%)")]("wLonn",i(573,"[QD!"))){if(_0xf3320a[i(439,"dZ2w")]){const t=_0x5c2b6b[_0x1d6b8d[i(427,"7(yK")].typeId];if(t){const e=s.xYlOV(t[i(531,"9g)*")],2);_0x33a75d[i(665,o)].x=_0x211e5c[i(440,"#6^O")](e,_0x16d550[i(523,"[QD!")](_0xe0902f.PLAY_AREA_WIDTH-e,_0x8d8873))}}}else{const t=.8*C;W.vx+=s.qthUd(y,t),W.vy+=S*t,r.vx-=y*t,r.vy-=s[i(424,"zF*i")](S,t)}e.x=Math[i(435,"Eal$")](e.cr,Math[i(560,"ACU%")](a-e.cr,e.x)),e.y=Math.max(e.cr,Math[i(661,"SnP*")](s[i(518,"7(yK")](u,e.cr),e.y)),t.x=Math[i(579,"BEMY")](t.cr,Math.min(a-t.cr,t.x)),t.y=Math.max(t.cr,Math[i(458,"6Wrl")](s[i(476,"P6LW")](u,t.cr),t.y))}}}for(let t=0;t<l;t++){if(s.wjDCS===i(610,"BFZl"))return _0x2f19ad(_0x311948[i(484,"inYL")].COMPLETE,_0x13c5ee[i(503,"lX2B")]),_0x1236c7(_0x50e0a9[i(638,"5W0%")],_0x3ed3a3[i(456,"6Wrl")]),void _0x5a4671()[i(466,"k7AP")](!0);{if(!k[t])continue;const e=x[t],n=sharedValuesMap.get(e.id),r=physicsDataMap[i(585,"Ro37")](e.id),o=y[t],s=S[t];n&&(n.x[i(482,"mCyV")]=o.x,n.y.value=o.y),r&&(r.vx=s.vx,r.vy=s.vy)}}const h={enableSounds:!0};if(h[i(461,"DjN1")]=!0,useFruitMergerStore[i(485,"$Nh[")]()[i(588,"mCyV")](h),pendingSpawn&&s.YZYpm(Date[i(591,r)]()-lastDropTime,SPAWN_DELAY_MS))if(i(621,"dZ2w")===i(452,"Kb#^")){pendingSpawn=!1;const t=useFruitMergerStore[i(541,"DDK0")]();t[i(567,"c)6Q")]&&!t[i(471,e)]&&t[i(504,"%HND")]()}else{const t=.8*_0x2f89ff;_0x58f2ce.vx+=_0x3a9207*t,_0x6c9f3f.vy+=_0x15b426*t,_0x38c429.vx-=_0x43d7e2*t,_0x40a1f9.vy-=_0x10bee4*t}physicsRafId=s[i(539,"2h!p")](requestAnimationFrame,runPhysicsLoop)};export const startPhysicsLoop=()=>{null!==physicsRafId&&cancelAnimationFrame(physicsRafId),cachedIsPlaying=!0,lastPhysicsFrameTime=0,physicsRafId=requestAnimationFrame(runPhysicsLoop)};export const stopPhysicsLoop=()=>{const t=_0x177f,e={VPwsF:function(t,e){return t!==e},rznmH:function(t,e){return t(e)}};cachedIsPlaying=!1,e[t(536,"SnP*")](physicsRafId,null)&&(e[t(562,"unn5")](cancelAnimationFrame,physicsRafId),physicsRafId=null)};const SPAWN_DELAY_MS=300;let lastDropTime=0,pendingSpawn=!1;const OVERFLOW_Y_THRESHOLD=.05*FRUIT_MERGER_GAME_CONFIG.PLAY_AREA_HEIGHT,OVERFLOW_FRAME_THRESHOLD=60;let overflowFrameCount=0;const generateRandomFruitType=()=>{const t=_0x177f;return Math[t(628,"(V1p")](Math.random()*FRUIT_MERGER_GAME_CONFIG[t(542,"p[(r")])};export const useFruitMergerStore=create()(subscribeWithSelector(immerMiddleware((t,e)=>({isPlaying:!1,isGameOver:!1,isGameWon:!1,fruits:[],fruitsVersion:0,currentFruit:null,nextFruitType:0,time:0,timerInterval:null,spawnInterval:null,initializeGame:()=>{const n=_0x177f,r={qkRlw:function(t){return t()},jcOnU:function(t,e){return t(e)}},o=r[n(580,"rLXu")](e);o[n(430,"p[(r")]&&r[n(685,"(45W")](clearGameInterval,o[n(604,"pe$^")]),o[n(470,"DjN1")]&&clearGameInterval(o[n(450,"$Nh[")]),stopPhysicsLoop();const i=generateRandomFruitType(),s=FRUIT_TYPES[i],W=s?s.size/2:40;t(t=>{const e=n;t[e(641,"(V1p")]=[],t.fruitsVersion++,t[e(520,"ebF&")]={id:"fruit-"+Date.now()+"-"+Math.random(),typeId:i,x:FRUIT_MERGER_GAME_CONFIG[e(481,"$Nh[")]/2,y:W+10,vx:0,vy:0,isActive:!1,isMerging:!1},t.nextFruitType=generateRandomFruitType(),t[e(498,"2h!p")]=FRUIT_MERGER_GAME_TIME,t[e(474,"#rc3")]=!1,t[e(459,"BFZl")]=!1,t[e(681,"@*l1")]=!1,t[e(640,"Eal$")]=null,t[e(578,"Kb#^")]=null}),overflowFrameCount=0,pendingSpawn=!1},startGame:()=>{const n=_0x177f,r={eWirD:function(t,e){return t(e)},BoCLm:function(t,e){return t===e},Valyq:function(t){return t()}},o=e();o.timerInterval&&clearGameInterval(o[n(515,"eYwt")]),o.spawnInterval&&clearGameInterval(o[n(422,"mCyV")]),stopPhysicsLoop(),clearPhysicsMaps();const i=setGameInterval(()=>{const t=n;if(r[t(574,"c)6Q")]("OmfVE",t(642,"wl]!")))return o=_0x52a252,i=_0xab8ff1,r.eWirD(o,i);var o,i;r[t(571,"%HND")](e).decrementTime()},1e3);t(t=>{const e=n;t[e(674,"eYwt")]=!0,t[e(624,"r#X3")]=!1,t[e(584,"9g)*")]=!1,t[e(660,"inYL")]=FRUIT_MERGER_GAME_TIME,t[e(534,"BEMY")]=[],t[e(669,"P6LW")]++,t.timerInterval=i}),overflowFrameCount=0,pendingSpawn=!1,startPhysicsLoop(),!r.Valyq(e)[n(426,"&Ac*")]&&e()[n(627,"DDK0")]()},stopGame:()=>{const t=_0x177f,n={zEWnm:function(t){return t()},BOyrE:function(t,e){return t(e)}},r=n.zEWnm(e);r.timerInterval&&clearGameInterval(r.timerInterval),r[t(514,"#rc3")]&&n[t(529,"p[(r")](clearGameInterval,r.spawnInterval),stopPhysicsLoop(),clearPhysicsMaps(),r[t(605,"Ro37")]()},resetGame:()=>{const n=_0x177f,r={xkovB:function(t){return t()}}[n(530,"Eh1g")](e);r[n(548,"dZ2w")]&&clearGameInterval(r[n(645,"2rMH")]),r[n(545,"unn5")]&&clearGameInterval(r[n(544,"P6LW")]),stopPhysicsLoop(),clearPhysicsMaps(),t(t=>{const e=n;e(428,"3^KM")===e(655,"6Wrl")?(t[e(451,"pe$^")]=!1,t[e(657,"BEMY")]=!1,t[e(549,"unn5")]=!1,t.fruits=[],t.fruitsVersion++,t[e(646,"3^KM")]=null,t.time=FRUIT_MERGER_GAME_TIME,t[e(488,"&Ac*")]=null,t[e(495,"r#X3")]=null):_0x1bd2e7=_0x20e7c6(_0x1f726a)}),overflowFrameCount=0,pendingSpawn=!1},endGame:n=>{const r=_0x177f,o={JtSMw:function(t){return t()},MsoqR:function(t){return t()}},i=o.JtSMw(e);i.timerInterval&&clearGameInterval(i[r(640,"Eal$")]),i[r(453,"!5%)")]&&clearGameInterval(i.spawnInterval),o[r(629,"zF*i")](stopPhysicsLoop),clearPhysicsMaps(),t(t=>{const e=r,o=e(583,"2rMH").split("|");let i=0;for(;;){switch(o[i++]){case"0":t.isGameOver=!0;continue;case"1":t.timerInterval=null;continue;case"2":t[e(497,"ebF&")]=n;continue;case"3":t[e(455,"VpQs")]=!1;continue;case"4":t[e(447,"SnP*")]=null;continue}break}}),overflowFrameCount=0,pendingSpawn=!1},spawnCurrentFruit:()=>{const n=_0x177f,r={};r[n(486,"rLXu")]=function(t,e){return t/e};const o=r,i=e()[n(677,"BEMY")],s=FRUIT_TYPES[i],W=s?s.size/2:40,a={id:n(686,"([Ko")+Date[n(556,"[QD!")]()+"-"+Math[n(680,"inYL")](),typeId:i,x:o.kwLPu(FRUIT_MERGER_GAME_CONFIG[n(636,"2h!p")],2),y:W+10,vx:0,vy:0,isActive:!1,isMerging:!1};t(t=>{t[n(423,"[QD!")]=a})},dropCurrentFruit:()=>{const n=_0x177f,r={iMeFX:function(t,e){return t!==e},rpYpp:n(524,"Eh1g"),qLqUC:function(t){return t()}};e().currentFruit&&(t(t=>{const e=n;if(r[e(522,"OGSj")]("ntKzA",r[e(663,"ACU%")])){_0x5d0304=!1;const t=_0x23fd74[e(558,"m9A3")]();t.isPlaying&&!t[e(666,"SnP*")]&&t[e(491,"m9A3")]()}else if(t[e(648,"OGSj")]){t.currentFruit[e(540,"5W0%")]=!0;const n={vx:0,vy:0};physicsDataMap[e(555,"c)6Q")](t.currentFruit.id,n),t.fruits[e(547,"#rc3")](t[e(634,"BFZl")]),t.fruitsVersion++,t[e(499,"m9A3")]=null,t[e(437,"DjN1")]=r[e(438,"p[(r")](generateRandomFruitType)}}),lastDropTime=Date[n(616,"zF*i")](),pendingSpawn=!0)},updateCurrentFruitPosition:e=>{const n=_0x177f,r={};r[n(512,"lX2B")]=function(t,e){return t-e};const o=r;t(t=>{const r=n;if(t.currentFruit){const n=FRUIT_TYPES[t[r(439,"dZ2w")][r(493,"p[(r")]];if(n){const i=n.size/2;t.currentFruit.x=Math[r(653,"rLXu")](i,Math.min(o.fBvMe(FRUIT_MERGER_GAME_CONFIG[r(462,"ACU%")],i),e))}}})},checkMerges:t=>{const n="$Nh[",r="3^KM",o="m9A3",i="!5%)",s=_0x177f,W={POVjL:function(t,e){return t/e},LGNPx:function(t){return t()},fLWQn:function(t,e){return t(e)},vfzYG:function(t,e){return t<e},wSZyT:function(t,e){return t<e},kirYM:function(t,e){return t===e},wmeeP:function(t,e){return t-e},nnizL:function(t,e){return t*e},Nmvfn:function(t,e){return t+e},KnjYq:function(t,e){return t*e},paOhr:function(t,e){return t<e},FgLwT:function(t){return t()},zfGFl:s(662,"([Ko"),UFKJa:function(t,e){return t<e},orVfy:function(t,e){return t===e},YiAtT:s(535,"P6LW"),fvUNV:s(557,"DDK0")},a=W[s(448,"r#X3")](e),{MERGE_DISTANCE:u,COLLISION_SCALE:d}=FRUIT_MERGER_GAME_CONFIG;for(let f=0;f<a[s(472,"r#X3")][s(543,n)];f++){const m=a[s(614,"DjN1")][f];if(!m||!m[s(561,"eYwt")]||m[s(457,"2rMH")])continue;const p=W[s(443,"mCyV")](getFruitPosition,m.id);if(!p||W.vfzYG(p.y,0))continue;const x=p.x,l=p.y;for(let p=f+1;p<a[s(641,"(V1p")][s(543,n)];p++){const n=a[s(434,"2h!p")][p];if(!n||!n[s(667,"!5%)")]||n[s(457,"2rMH")])continue;const f=W[s(613,"MUUN")](getFruitPosition,n.id);if(!f||W.wSZyT(f.y,0))continue;const y=f.x,S=f.y;if(W[s(502,r)](m[s(525,"(V1p")],n[s(611,o)])){const r=W.wmeeP(y,x),o=S-l,a=Math[s(550,"#rc3")](r*r+o*o),f=FRUIT_TYPES[m.typeId],p=FRUIT_TYPES[n.typeId];if(!f||!p)continue;const k=W.nnizL(f[s(617,"p[(r")]/2,d),h=W.nnizL(p[s(632,i)]/2,d),_=W[s(658,"m9A3")](k,h);if(a<=W[s(683,"wl]!")](_,u)){const r=physicsDataMap[s(477,"unn5")](m.id),o=physicsDataMap[s(566,"DDK0")](n.id),a=r?Math.sqrt(W[s(631,i)](r.vx,r.vx)+r.vy*r.vy):0,u=o?Math[s(442,"2h!p")](W[s(487,"zF*i")](o.vx,o.vx)+o.vy*o.vy):0;if(a<5||W.paOhr(u,5))return void W[s(554,"lX2B")](e).mergeFruits(m,n,t)}}}}if(a[s(635,"ebF&")][s(625,"ACU%")](t=>t[s(505,"3^KM")]===FRUIT_TYPES[s(543,"$Nh[")]-1&&t[s(679,"ebF&")])){if(W[s(467,"inYL")]!==s(572,"Eal$"))return playSound(GAME_SOUNDS[s(586,"#6^O")][s(630,"#rc3")],t[s(654,"(V1p")]),playHaptic(HapticType[s(593,"eYwt")],t.enableHaptics),void e()[s(600,"dZ2w")](!0);{const t=_0x5a7bc2[_0x4d94f8[s(520,"ebF&")].typeId];if(t){const e=gWLeOI[s(496,"([Ko")](t[s(568,"([Ko")],2);_0xd9fd[s(499,o)].x=_0x410f99[s(494,"m9A3")](e,_0x87ff65[s(559,"rLXu")](_0x4bc58d[s(672,"zF*i")]-e,_0x5d8401))}}}let f=!1;for(let t=0;t<a[s(506,"OGSj")].length;t++){const e=a[s(569,"VpQs")][t];if(!e||!e[s(533,"rLXu")]||e[s(538,r)])continue;const n=getFruitPosition(e.id);if(!n)continue;const o=FRUIT_TYPES[e.typeId];if(!o)continue;const i=o.size/2;if(W[s(441,"eYwt")](n.y-i,OVERFLOW_Y_THRESHOLD)){if(W.orVfy(s(508,"zF*i"),W.YiAtT))return _0x5822dd(_0xd28af6);{const t=physicsDataMap[s(516,"OGSj")](e.id);if(t&&Math[s(446,"zF*i")](t.vy)<1.5){f=!0;break}}}}f?(overflowFrameCount++,overflowFrameCount>=60&&W[s(513,"HVPE")](e)[s(551,"unn5")](!1)):"nQFRb"===W[s(468,"k7AP")]?_0x538ecb[s(612,"BEMY")]=_0x5395de:overflowFrameCount=0},mergeFruits:(e,n,r)=>{const o=_0x177f,i={JZtDk:function(t,e){return t+e},dgjwP:function(t,e){return t(e)},JudtQ:function(t,e){return t/e},KXXmO:function(t,e,n){return t(e,n)}},s=i[o(619,"Eh1g")](e[o(553,"6Wrl")],1);if(s>=FRUIT_TYPES.length)return;const W=getFruitPosition(e.id),a=W?W.x:e.x,u=W?W.y:e.y,d=i[o(521,"p[(r")](getFruitPosition,n.id),f=d?d.x:n.x,m=d?d.y:n.y,p=i[o(637,"#6^O")](a+f,2),x=i[o(594,"m9A3")](u+m,2);physicsDataMap[o(492,"mCyV")](e.id),physicsDataMap.delete(n.id);const l=o(626,"$Nh[")+Date[o(464,"Ro37")]()+"-"+Math[o(684,"K3JS")]();t(t=>{const r=o;t.fruits=t.fruits.filter(t=>t.id!==e.id&&t.id!==n.id),t.fruitsVersion++;const i={};i.id=l,i[r(611,"m9A3")]=s,i.x=p,i.y=x,i.vx=0,i.vy=-2,i[r(527,"lX2B")]=!0,i[r(519,"BEMY")]=!1;const W=i;t[r(650,"!5%)")][r(564,"HVPE")](W),t[r(678,"rLXu")]++});physicsDataMap[o(480,"HVPE")](l,{vx:0,vy:-2}),i.KXXmO(playSound,GAME_SOUNDS[o(595,"pe$^")][o(599,"unn5")],r[o(606,"zF*i")]),playHaptic(HapticType.MEDIUM,r[o(639,"2h!p")])},decrementTime:()=>{const n=_0x177f;e()[n(651,"BEMY")]<=1?e()[n(598,"OGSj")](!1):t(t=>{t[n(445,"$Nh[")]-=1})},clearAllFruits:()=>{const e=_0x177f;clearPhysicsMaps(),{xNrSa:function(t,e){return t(e)}}[e(460,"Eal$")](t,t=>{const n=e;t[n(608,"9g)*")]=[],t[n(433,"Eal$")]++})}}))));export const useIsPlaying=()=>({XCTfj:function(t,e){return t(e)}}[_0x177f(649,"m9A3")](useFruitMergerStore,_temp));export const useIsGameOver=()=>useFruitMergerStore(_temp2);export const useIsGameWon=()=>({MZHRu:function(t,e){return t(e)}}[_0x177f(673,"BEMY")](useFruitMergerStore,_temp3));export const useFruitsVersion=()=>useFruitMergerStore(_temp4);export const useCurrentFruit=()=>useFruitMergerStore(_temp5);export const useNextFruitType=()=>useFruitMergerStore(_temp6);export const useTime=()=>useFruitMergerStore(_temp7);function _temp(t){return t.isPlaying}function _temp2(t){return t[_0x177f(429,"dZ2w")]}function _temp3(t){return t[_0x177f(590,"[QD!")]}function _temp4(t){return t.fruitsVersion}function _temp5(t){return t.currentFruit}function _temp6(t){return t[_0x177f(501,"(45W")]}function _temp7(t){return t[_0x177f(546,"VpQs")]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x5206f0=_0x2aa6;function _0x2aa6(t,e){t-=151;const r=_0x5e86();let o=r[t];if(void 0===_0x2aa6.pZNMgC){const t=function(t,e){let r,o,a=[],W=0,n="";for(t=function(t){let e="",r="";for(let r,o,a=0,W=0;o=t.charAt(W++);~o&&(r=a%4?64*r+o:o,a++%4)?e+=String.fromCharCode(255&r>>(-2*a&6)):0)o="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(o);for(let t=0,o=e.length;t<o;t++)r+="%"+("00"+e.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(r)}(t),o=0;o<256;o++)a[o]=o;for(o=0;o<256;o++)W=(W+a[o]+e.charCodeAt(o%e.length))%256,r=a[o],a[o]=a[W],a[W]=r;o=0,W=0;for(let e=0;e<t.length;e++)o=(o+1)%256,W=(W+a[o])%256,r=a[o],a[o]=a[W],a[W]=r,n+=String.fromCharCode(t.charCodeAt(e)^a[(a[o]+a[W])%256]);return n};_0x2aa6.cORbVw=t,_0x2aa6.wprzby={},_0x2aa6.pZNMgC=!0}const a=r[0];_0x2aa6.ahayCK!==a&&(_0x2aa6.wprzby={},_0x2aa6.ahayCK=a);const W=_0x2aa6.wprzby[t];return void 0===W?(void 0===_0x2aa6.PGIQsu&&(_0x2aa6.PGIQsu=!0),o=_0x2aa6.cORbVw(o,e),_0x2aa6.wprzby[t]=o):o=W,o}!function(){const t=_0x2aa6,e=_0x5e86();for(;;)try{if(572620==-parseInt(t(198,"*^cU"))/1+parseInt(t(184,"@pL0"))/2*(-parseInt(t(154,"QE[h"))/3)+-parseInt(t(195,"hq0]"))/4*(-parseInt(t(175,"BUhq"))/5)+parseInt(t(153,"MrQZ"))/6+-parseInt(t(197,"ilPh"))/7*(parseInt(t(173,")q1o"))/8)+-parseInt(t(185,"Qy0k"))/9*(-parseInt(t(167,"mbmk"))/10)+-parseInt(t(176,"DU5L"))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();import _0x122102,{useLayoutEffect,useMemo}from"react";function _0x5e86(){const t=["W7NcKZZcTq1qW75bW6VdRCoZ","WQJdJ3VdSfmgWRjUW7ldUSoyWRq/","WOrWgfZdUSoiemkgefpdSfa","WQBdSv7dLa","W7hdSmorW6Hh","j8oNWO7dQuG","W7ZcLIBcOG94W7nQW6FdSW","dSk+W4hcSCkY","zcddICkqW7G","l1hdV8ktWRq","amobDCk0WPGJW5VcR1VdMmor","W6CDDSokWQO6A8oJ","sWPXvSkYra","W7tdUmohW7G","aCocC8k8WP5EWQxcMxRdTCovWPmp","W6C+W4CMW6W7WPZcJmkE","qSkomSoGW6ml","WQjxE8oRWRC4CSooWQmf","W4xcMSovtabB","ESorW57dQ0XF","WReppmokWPy","W7/dL1FdI8okW6WX","WRm0WQqHj8kVya","W60+W5z5WRJcTSoElmkPW5WWwSkd","BaVcQSoxW63dUmkeW5TyW5ThmW","o8ksW53cI8kU","W6KYW5bYWR3cTmoAcCkqW5KQtCkE","E1FcPCobWRnExYe","W4e7qCkF","AWa3vmk+W4PnFq/dMCoaWRHjW5C","camluCowWP81W77cGdObW6ddVq","W4ZcHmoEW5O","dHBcMNtdGSkcWOBdQmo1lW","tK5oa8kOW4m","WOJdVqtdNxKKyeHei1vJWQC","WOZdQmoMW5/dVmoHA8o8","xafKuSkprq","qdDAW5S4qq","zwnGkW","uSkLkmoYCW","gCoDWO/dSvu","W4tcL8ogW5zj","WPJcU8oPDq","aJZcSCkCWPK","a2dcOrNcJb5cpq","WOhcVSowrc0","d8krl8kO","ntyGumk+W79x","WQrRe8oAW6BcSxNdM8kwWQyIW5FcMa","mK1YfmoVWPLhusRdGSoAWPa","WQPKWPqPW7JdRSkfnG","fWdcK1hdHa","W7VcIdRcRbu","WOn7h1JdS8oejSkDd1ddNvq","ebDNxmkHtSow"];return(_0x5e86=function(){return t})()}import{StyleSheet}from"react-native";import _0x11e4b7,{useAnimatedStyle,useSharedValue}from"react-native-reanimated";import{registerFruitSharedValues,unregisterFruitSharedValues}from"../FruitMergerStore.js";import{FRUIT_TYPES}from"../FruitMergerConstants.js";import{SkiaFruit}from"../../../helpers/assets/index.js";import{jsx as _0x4ce37e}from"react/jsx-runtime";const FruitItemComponent=({fruit:t})=>{const e="Osd1",r=_0x2aa6,o={Whbzn:function(t,e){return t!==e}};o[r(199,"wRvU")]="GutEV",o[r(181,"wRvU")]=function(t,e){return t/e};const a=o,W=FRUIT_TYPES[t[r(190,"@pL0")]];if(!W)return null;const n=a[r(170,"KR34")](W[r(187,e)],2),s=useSharedValue(t.x),d=useSharedValue(t.y);useLayoutEffect(()=>{const e=r;if(!a.Whbzn(a[e(159,"YT%g")],"GutEV")){const e={};return e.x=s,e.y=d,registerFruitSharedValues(t.id,e),()=>{unregisterFruitSharedValues(t.id)}}_0x18d4fc(_0x5dbbe1.id)},[t.id]);const u={};u[r(191,"Qy0k")]=s[r(178,"Osd1")]-n;const i={};i[r(151,"KR34")]=d[r(182,"sb[V")]-n;const x=useAnimatedStyle(()=>({transform:[u,i]})),m={};m[r(183,"*^cU")]=W[r(161,"bdB)")],m[r(192,"gpiM")]=W[r(157,"hUA4")];const f=useMemo(()=>[styles.fruit,x,m],[x,W.size]),S={};return S[r(205,"uNNN")]=W.name,S[r(165,"DT!f")]=W[r(187,e)],_0x4ce37e(_0x11e4b7[r(202,"mbmk")],{style:f,children:_0x4ce37e(SkiaFruit,S)})};export const FruitItem=_0x122102[_0x5206f0(177,"hq0]")](FruitItemComponent,(t,e)=>{const r=_0x5206f0,o={};return o[r(164,"bdB)")]=function(t,e){return t===e},o[r(194,"#YM6")](t[r(158,"t6V%")].id,e[r(179,"YT%g")].id)&&t[r(162,"lxKi")][r(155,")q1o")]===e[r(171,"BUhq")][r(152,"n^]3")]});const _0x4217c4={};_0x4217c4[_0x5206f0(169,"ilPh")]="absolute",_0x4217c4[_0x5206f0(203,"[jqS")]=_0x5206f0(193,"V^*Y"),_0x4217c4[_0x5206f0(180,"BUhq")]=_0x5206f0(156,"@ikm");const _0x31bc1f={};_0x31bc1f[_0x5206f0(160,"uNNN")]=_0x4217c4;const styles=StyleSheet[_0x5206f0(186,")q1o")](_0x31bc1f);FruitItem[_0x5206f0(174,"BUhq")]=_0x5206f0(189,"WgI6");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x2d947b=_0x1d2c;!function(){const e=_0x1d2c,t=_0x4184();for(;;)try{if(721843==-parseInt(e(409,"KWxX"))/1+-parseInt(e(319,"8o[n"))/2+-parseInt(e(456,"@Eho"))/3+parseInt(e(372,"2nk$"))/4*(-parseInt(e(491,"8o[n"))/5)+parseInt(e(465,"S7nf"))/6+-parseInt(e(414,"OrM["))/7*(parseInt(e(429,"VU9k"))/8)+parseInt(e(425,"EF9B"))/9*(parseInt(e(373,"3vjg"))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();import{c as _0x11fe6d}from"react/compiler-runtime";import _0x1c92f2,{useCallback,useMemo,useRef}from"react";import{View,StyleSheet}from"react-native";import _0x1b893a,{useSharedValue,useAnimatedStyle,runOnJS}from"react-native-reanimated";import{Gesture,GestureDetector,GestureHandlerRootView}from"react-native-gesture-handler";import{Canvas,Circle}from"@shopify/react-native-skia";import{useFruitMergerStore}from"../FruitMergerStore.js";import{FruitItem}from"./FruitItem.js";import{FRUIT_MERGER_GAME_CONFIG,FRUIT_TYPES,FRUIT_MERGER_COLORS}from"../FruitMergerConstants.js";import{SkiaFruit}from"../../../helpers/assets/index.js";import{playSound,GAME_SOUNDS}from"../../../services/SoundsService.js";import{playHaptic,HapticType}from"../../../services/HapticsService.js";import{jsx as _0x342c39,jsxs as _0x1a8108}from"react/jsx-runtime";const TRAJECTORY_DOT_COUNT=12,TRAJECTORY_END_Y=FRUIT_MERGER_GAME_CONFIG[_0x2d947b(441,"SR5@")]-10,_0x225cb2={};_0x225cb2[_0x2d947b(404,"8o[n")]=12;const trajectoryDotMeta=Array.from(_0x225cb2,(e,t)=>({opacity:Math.max(.6-.04*t,.15),radius:Math.max(4-.2*t,1.5),fraction:t/12})),TrajectoryDotsComponent=e=>{const t="OrM[",o=_0x2d947b,r={heXrp:function(e,t,o,r){return e(t,o,r)},TMabD:function(e,t){return e/t},TZucS:o(325,"yn$s"),ECsqH:function(e,t){return e!==t}},W=_0x11fe6d(6),{fruitX:d,startY:n}=e,x=r.TMabD(TRAJECTORY_END_Y-n,12);let _,a;if(W[0]!==d||W[1]!==x||W[2]!==n?(_=trajectoryDotMeta[o(444,t)]((e,t)=>{const W=o,_=n+t*x,a={};return a.cx=d,a.cy=_,a.r=e[W(350,"#u3r")],a.color=W(443,"ckZO")+e.opacity+")",r[W(480,"zw1b")](_0x342c39,Circle,a,t)}),W[0]=d,W[1]=x,W[2]=n,W[3]=_):r[o(477,t)]===o(439,t)?_=W[3]:_0x143497[o(331,"EbHJ")]=null,r[o(438,"EF9B")](W[4],_)){const e={};e.style=styles[o(401,"&FMM")],e[o(374,"$PA%")]=o(369,"ckZO"),e[o(416,"iu9N")]=_,a=_0x342c39(Canvas,e),W[4]=_,W[5]=a}else a=W[5];return a},TrajectoryDots=_0x1c92f2[_0x2d947b(471,"l[%^")](TrajectoryDotsComponent);TrajectoryDots.displayName="TrajectoryDots";const CurrentFruitDisplayComponent=({fruit:e,fruitX:t})=>{const o=_0x2d947b,r=FRUIT_TYPES[e[o(490,"8o[n")]];if(!r)return null;const W=r[o(346,"zw1b")]/2,d=e.y,n=useAnimatedStyle(()=>({position:o(340,"21Yv"),left:t[o(402,"EF9B")]-W,top:d-W,width:r[o(449,"jyh#")],height:r[o(365,"GsE!")],zIndex:10})),x={};return x[o(488,"YuR$")]=r[o(329,"6)mm")],x[o(462,"P886")]=r.size,_0x342c39(_0x1b893a[o(357,"wW6H")],{style:n,children:(_=_0x342c39,a=SkiaFruit,s=x,_(a,s))});var _,a,s},CurrentFruitDisplay=_0x1c92f2[_0x2d947b(317,"b@dV")](CurrentFruitDisplayComponent,(e,t)=>{const o=_0x2d947b;return e[o(484,"lzae")].id===t[o(327,"#u3r")].id&&e[o(380,"zw1b")][o(397,"e[H3")]===t[o(371,"Jwxo")].typeId});CurrentFruitDisplay[_0x2d947b(342,"3vjg")]=_0x2d947b(494,"jyh#");const GameAreaComponent=({settings:e,offset:t=0})=>{const o=_0x2d947b,r={OfRJL:function(e,t){return e/t},qzgTr:function(e,t,o){return e(t,o)},rkbZy:function(e,t){return e!==t},vzQzw:o(403,"wW6H"),MAljl:function(e,t){return e(t)},VHeeN:o(395,"6)mm"),SwgtA:function(e,t){return e+t},HtTDq:function(e,t){return e/t},hgLjr:function(e,t){return e(t)},bsKht:function(e,t){return e!==t},WOSmD:function(e,t){return e(t)},tShDh:function(e,t,o){return e(t,o)},aAAzz:function(e,t,o){return e(t,o)},SVYSe:function(e,t,o){return e(t,o)}},W=r[o(467,"$5ha")](useFruitMergerStore,e=>e[o(418,"3vjg")]),d=useMemo(()=>useFruitMergerStore[o(424,"EF9B")]().fruits,[W]),n=r.MAljl(useFruitMergerStore,e=>e.currentFruit),x=useSharedValue(FRUIT_MERGER_GAME_CONFIG.PLAY_AREA_WIDTH/2),_=r[o(336,"KWxX")](useSharedValue,20),a=useRef(null);if(n&&r[o(341,"ab!i")](n.id,a[o(349,"b@dV")])){x.value=n.x;const e=FRUIT_TYPES[n[o(338,"z@cY")]];_[o(483,"l[%^")]=e?r[o(442,"ab!i")](e[o(450,"egFZ")],2):20,a[o(355,"yn$s")]=n.id}!n&&a[o(351,"#u3r")]&&(a[o(355,"yn$s")]=null);const s=useSharedValue(0),u=r[o(417,"l[%^")](useRef,e);u.current=e;const i=r[o(440,"EbHJ")](useRef,()=>{});i[o(349,"b@dV")]=()=>{const e=o,t=useFruitMergerStore.getState();t[e(422,"$7$h")]&&t[e(368,"S7nf")]&&(t[e(470,"iu9N")](x.value),t.dropCurrentFruit(),x[e(333,"HZe]")]=r[e(393,"zw1b")](FRUIT_MERGER_GAME_CONFIG.PLAY_AREA_WIDTH,2),playSound(GAME_SOUNDS[e(481,"21Yv")][e(448,"dW60")],u[e(378,"&FMM")].enableSounds),r.qzgTr(playHaptic,HapticType[e(388,"2nk$")],u.current[e(396,"VrbZ")]))};const k=useCallback(()=>{i[o(411,"VrbZ")]()},[]),b=r[o(436,"2nk$")](useMemo,()=>{const e=o,t={};t[e(452,"VrbZ")]=function(e,t){return e+t},t[e(353,"Jwxo")]=function(e,t){return e+t};const W=t;if(r[e(459,"SR5@")]!==e(383,"VrbZ"))return _0x13c72e[e(337,"$PA%")].id===_0xc602eb.fruit.id&&_0x35aa7f[e(445,"VrbZ")][e(320,"Jwxo")]===_0x46ec70[e(348,"egFZ")][e(359,"OrM[")];{const t=Gesture[e(466,"z@cY")]()[e(458,"bh2o")](()=>{const t=e;"GBoTI"!==t(326,"b@dV")?{SuJvj:function(e,t){return e(t)}}[t(489,"vU13")](_0x26183a,_0x17bb36)():s.value=x.value})[e(419,"21Yv")](t=>{const o=e;if(r[o(412,"Re7T")](o(389,"qE&$"),"aXVBD")){const e=s.value+t.translationX,r=_[o(482,"$PA%")];x[o(339,"@Eho")]=Math.max(r,Math[o(379,"yn$s")](FRUIT_MERGER_GAME_CONFIG[o(367,"8o[n")]-r,e))}else{const e={fYcFc:function(e,t){return zQEgLD[o(464,"qE&$")](e,t)}};_0x5c2a19=_0x168fb7[o(426,"S7nf")]((t,r)=>{const W=o,d=e[W(405,"OrM[")](_0x3bc8cd,r*_0x38ace9),n={};return n.cx=_0x280b70,n.cy=d,n.r=t[W(386,"qE&$")],n[W(479,"W)wt")]=W(391,"21Yv")+t[W(323,"YuR$")]+")",_0x502112(_0x24fe1b,n,r)}),_0x1fc460[0]=_0x34054a,_0x1051cb[1]=_0xc55d3f,_0x48af6f[2]=_0x377035,_0x5127cc[3]=_0x3a409b}})[e(362,"Re7T")](()=>{const t=e;if(t(478,"b@dV")===r[t(382,"&FMM")]){if(!_0x2d1d9a)return 0;const e=_0x27fd8d[_0x7af72b[t(343,"lzae")]]?.[t(474,"z@cY")]||40;return W[t(400,"3vjg")](_0x497e6a.y+e/2,15)}runOnJS(k)()}),o=Gesture[e(446,"Re7T")]()[e(453,"EF9B")](()=>{r[e(475,"@Eho")](runOnJS,k)()});return Gesture.Race(t,o)}},[k,s,x]),C=r[o(390,"8o[n")](useMemo,()=>{const e=o;if(!n)return 0;const t=FRUIT_TYPES[n[e(463,"21Yv")]]?.[e(335,"&FMM")]||40;return r[e(455,"67pW")](n.y,r[e(381,"3vjg")](t,2))+15},[n?.id,n?.[o(320,"Jwxo")]]),R={};R.paddingTop=t;const m=useMemo(()=>[styles[o(472,"8o[n")],R],[t]),f={};return f[o(410,"O#0I")]=x,f[o(415,"$7$h")]=C,_0x342c39(View,{style:m,children:_0x342c39(GestureHandlerRootView,{style:styles.container,children:_0x342c39(GestureDetector,{gesture:b,children:_0x342c39(View,{style:styles.glassContainer,children:_0x1a8108(View,{style:styles.gameContent,children:[d.map(e=>_0x342c39(FruitItem,{fruit:e,isDraggable:!1},e.id)),n&&r[o(454,"SR5@")](_0x342c39,TrajectoryDots,f),n&&_0x342c39(CurrentFruitDisplay,{fruit:n,fruitX:x},n.id)]})})})})})};export const GameArea=_0x1c92f2[_0x2d947b(434,"yn$s")](GameAreaComponent);GameArea[_0x2d947b(318,"EbHJ")]="GameArea";const _0x5b4508={};_0x5b4508[_0x2d947b(486,"vU13")]=1,_0x5b4508[_0x2d947b(469,"YuR$")]=_0x2d947b(347,"VrbZ"),_0x5b4508[_0x2d947b(363,"2nk$")]=_0x2d947b(437,"KWxX");const _0x206ee7={};_0x206ee7[_0x2d947b(430,"qE&$")]=FRUIT_MERGER_GAME_CONFIG[_0x2d947b(328,"yn$s")],_0x206ee7[_0x2d947b(394,"67pW")]=FRUIT_MERGER_GAME_CONFIG[_0x2d947b(360,"5nHh")],_0x206ee7[_0x2d947b(485,"5C8v")]="rgba(255, 255, 255, 0.30)",_0x206ee7[_0x2d947b(431,"lzae")]=4,_0x206ee7[_0x2d947b(322,"21Yv")]=4,_0x206ee7[_0x2d947b(476,"5nHh")]=4,_0x206ee7[_0x2d947b(421,"&FMM")]=0,_0x206ee7.borderColor=_0x2d947b(376,"21Yv"),_0x206ee7.borderBottomLeftRadius=20,_0x206ee7[_0x2d947b(344,"O#0I")]=20,_0x206ee7[_0x2d947b(460,"e[H3")]=_0x2d947b(493,"VrbZ"),_0x206ee7[_0x2d947b(334,"egFZ")]=_0x2d947b(496,"ab!i");const _0x1f5f6d={};_0x1f5f6d[_0x2d947b(428,"GsE!")]=1,_0x1f5f6d[_0x2d947b(324,"yn$s")]=_0x2d947b(492,"8o[n");const _0x442985={};function _0x4184(){const e=["hCo7W5C","WPa2jCoqD1CcWO7cOCoVW7pcRmo1EG","fmojeSoH","WOqZpSog","lCoRySks","WPBdR8kdAvdcIqdcLq","W5HTW4ldHCk7","m0j3vay","WQVcOH0hfW","WPuQW73cRCoa","f8kBBXRdKWhcLCkbuSkTW47dMSow","WPy4n8omAgezWOu","W7jxhwmSWOFcHa","WQ7cVceXpa","j8oDm1RdGghdLmob","W5TvWROEaqW8lq","dNddL8kE","bGaOW7JcIrO","wxqXy8ks","ACk8BG5ozeLNW4tdOCoSW7tdRG","jCk9la","W6FcOvVdOIG","h3BdN8kFou3cP8oMWONcM3K","x8oVWOjxWPJdL8kfW4pcJbVcPJPztq","WP8xWP82dYGfoYFdLJzvwSoQBCkpWQldM8oJW6iodSoOrY3dLa","WP5SC0i","v8oLWOpcLwdcICkupmop","WRJdR2JdQ8o0taBcIW","bSk1omk7","ACoVnKlcHW","DmkOrCk/WQytuCoylW3cI00aWQ5SWQ3dLa","WObHW6NcMCoM","eHddHSkSga","vmoZDJBcIG","FSknW5mqW50","ncSnW5tcLchcHfGbj1yb","D8kuWOOfFa","WOvOCLHq","b8kjf8kXlq","WRJdICkIW67cO8opWOVcISo3W6iVWQ7cJIxdGG","rCkgaNO","WRRdQhxdSmo9sW","w8o7WPXg","CmkFlxq7","qmoZWP3cHeJcHa","bCkYW5RdLdxdLCokdmo+WPiQW6BdOG","rSoVWOhcGhxcICkmpa","W6PNW4tdHSkeWRG","WRqVnSoryxOzWQBcP8o7W7pcTSouyCojWR3dPCkiWR0","W5hcUmojmbBdKvNcO3NdJCknFYW","qYVdRCk9cCk8rJi","W61TWPW5WRHtmmkPWOWfW7mz","js3dP8ks","WQmyWQCZW7hdPmkCW4HKyZy","bCkYW5NdLZpdKComd8oTWQ8oW43dVq","W4eyrSkGuSk3","W45zsCo1WOldIJ4MWRxdRmkRFLhdHX/dKW","ebyQW7NcPqZcM3q0cgCeou7cRvO","wSoQWPbaWPJdHCkf","WQNdOMJdRCoSub3cGa","WRRdGvZdNmol","dWRdPCkPmW","W4dcMqpcRCog","WPRdGLxdKmozCdZcQ8kPBCowWPdcK3G4","W49sWPRdSq","uCoNWOlcI2G","WQqeWQyXW7JdQ8kr","W5tcUCocmr3dLv/cLv3dQCkXAXi","W5zDxCo0WQe","lSoTA8kEsmklWRCX","WRhcSsxdTG","W61TW6ddJ2e","z8khWPmzBq","aCkLmSk7vmkd","uSopnL3cJG","eXSRW7lcRaVcVxG","uZ3dISk0cq","WR1fW6Lxfga4W5NdVmkaW70","fCkceSk9emkm","WQTbuu4GaKxcKWTtW5tcOxxdPZJcRgZcVcVcRCoZqJi","bHyO","zCkbW7eh","W6fRW47dLSkeWQq","omoWBCkEsa","kZ3dUmkph8kRwa","W5tcIHlcRCohW48","W4xcNGtcTSoxW5lcGW","WQ3dGCkLW7hcRa","W48pyCk3sa","WQSuWRi3","WRRdUgNdTSo9vWy","WOJcMZC9bSkuBmkz","W4NcNunc","WP4vWPO9hI4YisFdNrbAqmoAFSkj","WQbcW6ZcN8o8AG","vCkiECkpWOiOxCoYcsBcRguEWObaWO0","aCo+WQ5NbJxdUCoV","jSo0W6igWQO","BSkmFrq9sfHUdKm","W4VdGxfMsSolnmk2W5FcImkSzCkk","fmo4WRP2","ExdcVSolsmo0gJ0+WQa+imkR","zmogWQZcUf7cOCkOhmo8WOyqW4NdKCk2W5G","pCoXjuWzoWT5W6tdSCo/W5i","WRKdbSo5","h2n8BImxW4jQWP1CfgNcUmkuWR8W","W5mtq8kSBW","pSosvtOPqfzO","W6SvWQGwqtrXW7NdQ8kSW57cJmkj","CCkAWO8EBCkjb2/dT3tdU8kbW7u","qq12WQf+W4FcHG","ab46W7ZdQeZdVcH/qcfMzqBdUqddKMDIW61HW6NdN8keBW","sKebW5BcGHRcQgC","WQhcRs3dOCoEA8kQ","WRtdPhu","CmkAW74lW5K","WPfyW45Jcq","WRtcOG7dQCom","W5jJW4RdImkx","WPiiaCk1W7lcGqGjWOtdISkGxG","uSo7WPXgWRldNSksW7tcHHVcPG","Cxy3BCk9W7S","cWFdHmkPo8kmyI48WOKGjmkhWPhdIG","q8kPuZSh","rMa1FSkj","vColWQZcM3S","ab46W7ZdQeZdVcH/qcfMzqBdUqddKMDIW60","W5GarmkICSk9W4LfWRVdOdldMa","wCkoW5KOW6e","WQ44W7pcVSoPjG","W7fEWP3dVSo0","W6DGW4hdGmknWRnvWQNdHSkWbmo0wG","pmosjK3dR2K","dwVdImknnvRcH8ojWP/cMNJdHa","qCo1WOe","WQncW41vkW","WRBcQJ7dUCoEzSkQW6dcKL9OW55ytmkfWPu","kK1EtWC","W6VcKeTsdq","wmoVWOpcHNxcIa","WRjIW7/cVmow","nmoXjeOvmWz8W7NdQSoIW4pdMmoC","W4iXkrGbqb/cOSkTWQDCtKe","ySkAWOGeEmkfg0/dSW","WRC+WPZcKsxcKCotCCo6cmkJW4C","WQ9CvKmXka","W6f7W5ldKmkeWRHP","o8oXW4uYWRC","WQqVWQXPA8kCWQaZWRi","W6ykWQ7dJmkcoLvtWQxcSd3cRW","WQBcK8kldgBdRa","WOKpWPi7hZ8Jia","WR5iCKDz","WR9EW69odhixW7ldR8kEW7hcPCkb","hrCnW63cPb/cVxG","WRBcGSkecNFdHW","WQdcTY3dT8oED8kkW6dcKhfcW5TcuG","WRZcLmk6eNpdJcpdK8kl","vSoLWP/cHwtcKSk5nSorWRy1","o0LgAry/W7Hk","zrvhBaa4W4L3","m8oLjW","WPjRBujzafVcKG","aCo9WQvR","W6HYWO1wAmkuWQGU","Dh43CmkG","a8kuemk8pmkAl8o3f8opsComdCkdwW","W4VcJf7dRYRdTCo8sNBcMa","x8kYxt4su3u","WRtdQhBdQW","WQRcVtBdTmotCq","E8kZFdC7","W6zVW4ldKxBdMG","gw9bsYO","WRD3W5VcOSoM","WPa+WOCUW5K","WQJcUaunlCk8uCkYW5ZcMCkmwmkofSkkWRe","FIJdK8kwmq","WQulcSo9daekq8kRWQH2e2ysxmk/xZtcG0G","WRLAW6W","W6r8W5xdI8kv"];return(_0x4184=function(){return e})()}_0x442985.position=_0x2d947b(473,"yn$s"),_0x442985.zIndex=10;const _0x59476c={};function _0x1d2c(e,t){e-=317;const o=_0x4184();let r=o[e];if(void 0===_0x1d2c.CSPtJh){const e=function(e,t){let o,r,W=[],d=0,n="";for(e=function(e){let t="",o="";for(let o,r,W=0,d=0;r=e.charAt(d++);~r&&(o=W%4?64*o+r:r,W++%4)?t+=String.fromCharCode(255&o>>(-2*W&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(let e=0,r=t.length;e<r;e++)o+="%"+("00"+t.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(o)}(e),r=0;r<256;r++)W[r]=r;for(r=0;r<256;r++)d=(d+W[r]+t.charCodeAt(r%t.length))%256,o=W[r],W[r]=W[d],W[d]=o;r=0,d=0;for(let t=0;t<e.length;t++)r=(r+1)%256,d=(d+W[r])%256,o=W[r],W[r]=W[d],W[d]=o,n+=String.fromCharCode(e.charCodeAt(t)^W[(W[r]+W[d])%256]);return n};_0x1d2c.afghAp=e,_0x1d2c.tHrAzZ={},_0x1d2c.CSPtJh=!0}const W=o[0];_0x1d2c.pFOdSy!==W&&(_0x1d2c.tHrAzZ={},_0x1d2c.pFOdSy=W);const d=_0x1d2c.tHrAzZ[e];return void 0===d?(void 0===_0x1d2c.sYqfUO&&(_0x1d2c.sYqfUO=!0),r=_0x1d2c.afghAp(r,t),_0x1d2c.tHrAzZ[e]=r):r=d,r}_0x59476c[_0x2d947b(451,"MFa2")]=_0x2d947b(427,"l[%^"),_0x59476c[_0x2d947b(399,"YuR$")]=0,_0x59476c[_0x2d947b(354,"EbHJ")]=0,_0x59476c[_0x2d947b(352,"5C8v")]=FRUIT_MERGER_GAME_CONFIG[_0x2d947b(387,"b@dV")],_0x59476c[_0x2d947b(435,"&FMM")]=FRUIT_MERGER_GAME_CONFIG[_0x2d947b(370,"EF9B")],_0x59476c.zIndex=0;const _0x24da25={};_0x24da25[_0x2d947b(356,"SR5@")]=_0x2d947b(457,"jyh#"),_0x24da25[_0x2d947b(345,"21Yv")]=-80,_0x24da25.alignItems=_0x2d947b(420,"$7$h");const _0x3908c1={};_0x3908c1[_0x2d947b(361,"GsE!")]=12,_0x3908c1.fontWeight="700",_0x3908c1.color=FRUIT_MERGER_COLORS[_0x2d947b(433,"2nk$")],_0x3908c1[_0x2d947b(392,"Jwxo")]=6;const _0x528547={};_0x528547[_0x2d947b(497,"(4U0")]=1e3,_0x528547[_0x2d947b(406,"S7nf")]=_0x2d947b(487,"yn$s"),_0x528547[_0x2d947b(432,"$5ha")]="center",_0x528547[_0x2d947b(468,"P886")]=2,_0x528547[_0x2d947b(423,"8o[n")]=FRUIT_MERGER_COLORS[_0x2d947b(375,"x(T9")];const _0x549f27={};_0x549f27[_0x2d947b(413,"VU9k")]="center";const _0x384205={};_0x384205[_0x2d947b(408,"$PA%")]=_0x5b4508,_0x384205[_0x2d947b(447,"jyh#")]=_0x206ee7,_0x384205[_0x2d947b(385,"YuR$")]=_0x1f5f6d,_0x384205.currentFruit=_0x442985,_0x384205[_0x2d947b(358,"iu9N")]=_0x59476c,_0x384205[_0x2d947b(321,"HZe]")]=_0x24da25,_0x384205.previewLabel=_0x3908c1,_0x384205[_0x2d947b(398,"P886")]=_0x528547,_0x384205[_0x2d947b(330,"8o[n")]=_0x549f27;const styles=StyleSheet.create(_0x384205);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x3e6cf6=_0x5366;!function(){const r=_0x5366,t=_0x5a84();for(;;)try{if(351694==parseInt(r(238,"ya&L"))/1*(parseInt(r(257,"CAlh"))/2)+-parseInt(r(249,"DBwP"))/3*(parseInt(r(244,"2T(M"))/4)+-parseInt(r(263,"!s3R"))/5+parseInt(r(243,"AAlJ"))/6+-parseInt(r(256,"js(0"))/7*(parseInt(r(254,"MXsr"))/8)+-parseInt(r(250,"CAlh"))/9*(-parseInt(r(262,"P]Ni"))/10)+parseInt(r(252,"u]8Z"))/11*(-parseInt(r(258,"Y!Fh"))/12))break;t.push(t.shift())}catch(r){t.push(t.shift())}}();import{c as _0x24787d}from"react/compiler-runtime";function _0x5366(r,t){r-=238;const e=_0x5a84();let o=e[r];if(void 0===_0x5366.LXBCLQ){const r=function(r,t){let e,o,n=[],W=0,s="";for(r=function(r){let t="",e="";for(let e,o,n=0,W=0;o=r.charAt(W++);~o&&(e=n%4?64*e+o:o,n++%4)?t+=String.fromCharCode(255&e>>(-2*n&6)):0)o="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(o);for(let r=0,o=t.length;r<o;r++)e+="%"+("00"+t.charCodeAt(r).toString(16)).slice(-2);return decodeURIComponent(e)}(r),o=0;o<256;o++)n[o]=o;for(o=0;o<256;o++)W=(W+n[o]+t.charCodeAt(o%t.length))%256,e=n[o],n[o]=n[W],n[W]=e;o=0,W=0;for(let t=0;t<r.length;t++)o=(o+1)%256,W=(W+n[o])%256,e=n[o],n[o]=n[W],n[W]=e,s+=String.fromCharCode(r.charCodeAt(t)^n[(n[o]+n[W])%256]);return s};_0x5366.mMyiqD=r,_0x5366.IIbsnu={},_0x5366.LXBCLQ=!0}const n=e[0];_0x5366.XfeszI!==n&&(_0x5366.IIbsnu={},_0x5366.XfeszI=n);const W=_0x5366.IIbsnu[r];return void 0===W?(void 0===_0x5366.WXLLos&&(_0x5366.WXLLos=!0),o=_0x5366.mMyiqD(o,t),_0x5366.IIbsnu[r]=o):o=W,o}import _0x4bdaf0 from"react";import{useTime}from"../FruitMergerStore.js";import{ScoreBoardContainer,ScoreTimer}from"../../../helpers/index.js";import{jsx as _0xb4367a}from"react/jsx-runtime";function _0x5a84(){const r=["omo6qCkPWRCQW5Lg","umkbBb8","m2hcKCkgWQa5WOrGemkDWP/dVW","W6lcT0hcMCkSD3FcVmkEea","WOxdUmk+A3BcUSolC8kAAhe","W6dcHcZcVCoQg8kbW6ldH3JcJxBdGW","zmogW67dHZ0ZWOTMxvBcQSkf","lSkJWPVcU8oXW64BWPJdMSksaYni","W5nLW55IkSkVWPBdPmoanWK","CCkhW4mLWQeNWPBdMX92W4G","l24oWPldJYLrWOdcGuxdSq","W4lcSu3cHmkNuwS","zCo6W6tdOSkI","WQ/cOXa0WQZcGa","la7dUXlcNv9GWOlcKCotWQZdHJC","AmoPySk/h0tcGW","zcyFWRLHWR8SW47dNmoKA2tdOW","W5rIWOS1CmkEWR7dMa","W6ZcGSoCsCkRu8oJ","WQy5DJZcV8kyxX0","kCkQWP7cVmo1W65MWR7dHmkIhr4","edBcM8kjWPZdVSkTW63cJG","WPFcRtuDWQi","wWjIWQtdSCkJWQuuW4fjkmkufa","yCodWRpcTKfGWOfE","WO3dKCk4W43cUCosW63dSZLMrG","lGtcHfBdOIGMWPi","W7XRWQWohSkqWR/cOa","ftVdICkNWRhdHSkYW7m"];return(_0x5a84=function(){return r})()}export const ScoreBoard=_0x4bdaf0[_0x3e6cf6(259,"29h]")](r=>{const t=_0x3e6cf6,e={xaKjb:function(r,t){return r===t},WhCZk:function(r,t,e){return r(t,e)}},o=_0x24787d(5),{offset:n}=r,W=e[t(241,"DBwP")](n,void 0)?0:n,s=useTime();let a,d;if(o[0]!==s){const r={};r[t(240,"yDZj")]=s,r[t(260,"DJjP")]=0,a=e[t(251,"ww^L")](_0xb4367a,ScoreTimer,r),o[0]=s,o[1]=a}else a=o[1];if(o[2]!==W||o[3]!==a){const r={};r[t(242,"ww^L")]=W,r[t(248,"b((w")]=a,d=_0xb4367a(ScoreBoardContainer,r),o[2]=W,o[3]=a,o[4]=d}else d=o[4];return d});ScoreBoard.displayName=_0x3e6cf6(261,"yDZj");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x5fdee6=_0x15b6;!function(){const t=_0x15b6,e=_0x4d7e();for(;;)try{if(514280==-parseInt(t(516,"qvv*"))/1*(parseInt(t(435,"Fz)U"))/2)+-parseInt(t(549,"KkEc"))/3+-parseInt(t(497,"i^o("))/4+-parseInt(t(538,"q*TU"))/5+-parseInt(t(427,"i^o("))/6+parseInt(t(498,"j1YG"))/7+parseInt(t(472,"z1ql"))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();import{FRUIT_NINJA_GAME_CONFIG as _0x514c56,FRUIT_TYPES,FRUIT_SPECIAL_ITEMS as _0x316acc}from"./FruitNinjaConstants.js";function _0x4d7e(){const t=["WQO3W6yZALXYqL7cIqlcRG","WOvUDSovD3zaWOaSFHFdMMm","WR3cImktWOzUW4C8mgtcL1i7zG","ECoOW7eEhIddL8olW4jmWOqee2ddLrS","W6LLzW3cSCkKjWldRG","WRGSoe0eFW","W4q6gSkgW6ldKa","hulcPmoGW40S","W5hdGLCDrW","WQBcTCkyBCoT","W7ajiCkRW5NdOKjYmWS","qaJdVSk9fMGJyCkBn8k0WOldL1inChBcUcWAE8o7nmov","fdVcNIapW7NdLhn3WRqUWR8","A8oxqSoUWPFcNdNcHSoQrvtdOcS","WQlcJmkuWQjeW5qKng/cPa","WRzNemobW4NcUbzLW63cH8o6W4S","W7VcTCo+gfvSmSk8DmogFmkuWQm","W7LzW5q","qhNdN35mWPJdNwH5WR8vWOTh","W5CYjSkama","W6mZlSkwW4u","W5xdGLumtre","W7bQWPnQirejsfJcSqhcHCoU","q2mdqY/dS8kxu8o8gIG5xIFcIG","AXVdJMrV","WPLfW6yDWRK2","W4VdLZ0r","W4WzWQDPt8kPWOxdP2yaE8kbW58cba","W4yzlCkPW4e","WRVdLmk0efW","W7yQo8k5dW","A0/dU8obW7HHW5CaWOxcRd7dLG","WOFcP17cQ04IgZFcGN8uW4ZcSG","W7dcRSoL","yCoAxSo1WQm","WQlcHmoAkfvo","W7ajiCkRW5NdOKjRkbNcRmkGjCoEW4ldNCkJeuhdVW","BvldPmoyW6PIW7ObWORcPrJdKmkzcSoyxW","rN0tsYNdPCknx8oMbXG6","W5C/imkjjYu5WRa9rWFdH2HDWRW","W6PgiComACk9u8kqsCoGffu","W5u3eCkdW78","DKtdKmobW7HHW7eAWRFcQJJdGCkib8o4w0PRC3C","W7ZcPCo+mmkQWPX/","W5e6gCkhW5NdLhXEgXZcH8kz","tCkIWOyOyG","dK3cO8oPW4m1reyGymkhuG","WOzxW4GhWRe","WROrWOLWfq","W70qcSk1cWa8WPW7BIRdSuj6WO8dWPJdO8o9W4zyraqG","WRO7cCkDoq","W57dUSoSWR/cNxGstqxcJmkIWOq+W5CWWQxcPmoe","W5ZdUXa","W47dR8oUWRdcN3KPwZhcS8kZWPWGW5Cf","ogSSyK8fW5q","C38sqXC","WRpcICorluHKWOtcVe5RW57dVSkRFW","ACozrG","W4JdTSk2CmktW4BcRNOBWRDCW5n3","W7RdIcu","WPZcP8kwumomjq","DSozktddRmowmCkwW6ddL1Dppb0TW4uvwmobW5i","WQZdL8kR","W7tcTmojhK9kmq","W4hdR8o+WQZcVg8brqtcI8k7WOGS","x8kOWQlcOYe","r24lrXNdGmkxr8oHbXqN","W50zWQPLrCkG","WOFcTCk6w8ookG","W5dcOCkdWOtcNa","vSkqWOhcNs4","v3pdVmonW4G","sCkgWPSNDsCYW4RdTsmmWR4","WP4KqmkYcSoqECkJASoa","W6/cPSoLfu5s","W6HQFHncfmospf/cGGzotG","W7JdPSoxWQZcSG","fZZcKY4lW7RcMZLcWQSMWPLrva","DSoPW5ChcWtdICodW5TfWPCcaq","W4a6gmkxW6G","s8kjWPeICtCsW5BdIX0iWQhdKfyo","rmkjWOe+uIe6W4JdVIuaWRxdNa","WRqtE8kCkSoN","W7JcT8oe","W4ZdRmo+","DCorW5ymcq","yKJdMCom","W7tcN8kNWRpcP3mU","fN7cUSoPlMC","vx/dI3bFWQ7dN2XQWOi3WO9wsJhdOSkemq","WQWXoxCarCkodG","AWhdH8knW7hdOmk4W5qdj8oeFWBcSgm","W5G/mmkvbdmrWQ4iFW/dK2q","WQpcImkoWPzhW5G","W7JcOCoMeCki","W5b9W5BdL2G","kcNcVSootG","WRKyFmkwp8o7q8kfxSoxggi","W77cQ8oUee9kmG","WPtcUSk9uSoamZNdOSo1W4n/W4y","W6BdGcGuW5q","zCopWOVdOu9wi8kRWOVcUCkqCsVdUG","WOhcOL/cRKmSfspcK2miW7tcRG","jSkVWPfztwpcGmo0W4zjWOqela","DCozrCo7WQxcHZFcHq","W5iXmCkKiYiy","WP7cUmk1W63dJYPwxHFcLCkQWPmh","W4VdVmo4WRhcJK0iurlcTSkXWPy","BIFdMSkmc0acw8k/imkDWQS","WRqcnmkjkW","W47dOSoOWRNcIfWoqqZcVSkMWOWMW5CUWQ/cRCoh","W5u3eCkdW7/dUNbwdbRcI8kscCoI","nMvsWRz+W6m","WPvkW7xcONaCWObGW50NlwXeW4Kl","W7RcNSoXytZdUd9SaLjtW7e","W6JcMmo5FJJdQabIahvtW6rZwZu","W4CQiSktnGyrWQ4iFW/dK2rb","W7SKamo3W7a","W5WDWRa","W4ZdOmoKWRxcM2KjrW/cJCk3WOm","WOfhW6a","WP7dMsRdHmovtCog","WR4FfmkslSovumkCW6KzWQZcPW","WP83wmk+aColF8k4CCorneVcPW","ACoDnG","WQKAWPLpl1GB","WRxcJmkmWPDCW5a","W7ZcPCoVl8kLWP5IW4VcJ8kudcDMe3/dUW","WPxdIZ3cT8kBW6XWW6xcJqWeWPlcGcbfzG","mJBdQCobbSknaftcJMuiW4xdLW","u2xdMhjFWQldNN1RWQmuWOzavGBdO8k0iYGMAxO","tSkAWOCJyaW","n8kzW5hcSbKdxmoOWPFcR8kqFZldPgG","wSkhWOyRydO0W4S","CCoxxCoVWRq","W6KRg8kr","WQ8hWPDjmLKRy8k/WOdcPCkW","g3rtWQe","j8k7W6JcNdC","WR7cRCkfEmon","WRBcImknWPD8W5WWohpcKv4W","W7RdJCkrWRFcGSkkWQ3dMa","D8o+W5y","WRNcKSoqW5ddH8oyW7JdV8o8W4tdRCk2eG","W6ldHJ4xW74","q8kBWRS8Ca","WOrOnCo+W6q","W4/dUctdJmow","WQRcNCoMhg4","yCoermoZWQxcVJdcKSo8Ef7dVG","W4RdUmkY","W67dKmkqWO3cHSk/WQddHCooW7JdV8kH","pW7cKW","W5FdKSkkWPC","W7VcGCoQuqJcIZa1uGhdM2K","W6D+DGhcG8kgoHldQqHwW40","WOtdU8krmxddUY4iAcBdP2G+AbuXESko","WRyclSktjSocxmkx","rSknWRKswq","qhNdN35mWORdG2bJWRaZWODosHa","W6RdHSktz8kg"];return(_0x4d7e=function(){return t})()}import{getGameDimensions}from"../../services/UtilsService.js";import{setGameInterval,clearGameInterval}from"../../helpers/GameTimer.js";const{width:width,height:height}=getGameDimensions();export{_0x514c56 as GAME_CONFIG};const BOMB_TYPE=_0x316acc[_0x5fdee6(481,"Dl9d")](t=>t[_0x5fdee6(455,"e%d0")])||_0x316acc[0],STAR_TYPE=_0x316acc.find(t=>t[_0x5fdee6(520,"cr#Q")])||_0x316acc[1],RIGHT_WALL=width-_0x514c56[_0x5fdee6(405,"yR@d")],_0x163139={};function _0x15b6(t,e){t-=389;const W=_0x4d7e();let o=W[t];if(void 0===_0x15b6.kuSXhB){const t=function(t,e){let W,o,d=[],i=0,n="";for(t=function(t){let e="",W="";for(let W,o,d=0,i=0;o=t.charAt(i++);~o&&(W=d%4?64*W+o:o,d++%4)?e+=String.fromCharCode(255&W>>(-2*d&6)):0)o="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(o);for(let t=0,o=e.length;t<o;t++)W+="%"+("00"+e.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(W)}(t),o=0;o<256;o++)d[o]=o;for(o=0;o<256;o++)i=(i+d[o]+e.charCodeAt(o%e.length))%256,W=d[o],d[o]=d[i],d[i]=W;o=0,i=0;for(let e=0;e<t.length;e++)o=(o+1)%256,i=(i+d[o])%256,W=d[o],d[o]=d[i],d[i]=W,n+=String.fromCharCode(t.charCodeAt(e)^d[(d[o]+d[i])%256]);return n};_0x15b6.gjVvOc=t,_0x15b6.mcQcSE={},_0x15b6.kuSXhB=!0}const d=W[0];_0x15b6.qhUtXV!==d&&(_0x15b6.mcQcSE={},_0x15b6.qhUtXV=d);const i=_0x15b6.mcQcSE[t];return void 0===i?(void 0===_0x15b6.UeJKKa&&(_0x15b6.UeJKKa=!0),o=_0x15b6.gjVvOc(o,e),_0x15b6.mcQcSE[t]=o):o=i,o}_0x163139[_0x5fdee6(461,"7]rj")]=_0x514c56.GAME_DURATION,_0x163139.soundEnabled=!0,_0x163139.hapticEnabled=!0;export const DEFAULT_FRUIT_NINJA_SETTINGS=_0x163139;export const getSpawnInterval=()=>1800;export const getFruitsPerSpawn=()=>2;export const getGameDuration=()=>_0x514c56[_0x5fdee6(518,"Fz)U")];const _0x3aad07={x:0,y:0};export class FruitNinjaService{[_0x5fdee6(503,"$c]T")]=null;fruitSpawnRef=null;[_0x5fdee6(446,"C5R1")]=[];[_0x5fdee6(410,"umY3")]=null;[_0x5fdee6(398,"j1YG")]=!1;[_0x5fdee6(434,"SyIF")]=!1;[_0x5fdee6(510,"^s8F")]=new Map;[_0x5fdee6(531,"cr#Q")]=null;constructor(t){this.fruitAnimations=t}[_0x5fdee6(409,"YhPD")](t){this[_0x5fdee6(527,"WmOV")]=t}[_0x5fdee6(437,"Dl9d")](t,e){const W=_0x5fdee6;this.sharedValuesMap[W(412,"wAh6")](t,e)}[_0x5fdee6(399,"VaUa")](t){const e=_0x5fdee6,W=this[e(508,"*RB2")][e(515,"*RB2")](t);W&&(W.scale.value=0,W.opacity.value=0)}[_0x5fdee6(525,"z1ql")](t){this.sharedValuesMap.delete(t)}setOnListChange(t){this[_0x5fdee6(395,"0DIy")]=t}[_0x5fdee6(511,"SyIF")](t){const e=_0x5fdee6;this[e(506,"yR@d")](),this[e(439,"yR@d")]=setGameInterval(t,1e3)}startFruitSpawning(t,e,W=1){const o=_0x5fdee6,d={mwZNL:function(t,e){return t*e}};d[o(394,"(1yr")]=function(t,e){return t+e},d[o(541,"umY3")]=function(t,e){return t*e},d[o(543,"$#*m")]=function(t,e){return t-e};const i=d;this.clearFruitSpawn(),this[o(523,"EdS6")]=!0;const n=e||_0x514c56[o(431,"yR@d")],s=()=>{const e=o;if(!this.isSpawningActive)return;for(let o=0;o<W;o++){const W=setTimeout(()=>{const e=_0x15b6;if("dbVaG"!==e(533,"WmOV")){if(!this[e(432,"Dl9d")])return;const W=this.createRandomFruit();t(W)}else this[e(476,"q]Eo")]=_0x30bbec},i[e(489,"EomQ")](o,700));this[e(446,"C5R1")].push(W)}const d=i.NQVcS(n,i[e(404,"e%d0")](i[e(443,"cr#Q")](Math[e(488,"YhPD")](),.5),400));this[e(411,"(jlv")]=setTimeout(s,Math[e(519,"jIJP")](500,d))};this[o(473,"j1YG")]=setTimeout(s,1e3)}[_0x5fdee6(389,"VaUa")]=new Map;[_0x5fdee6(456,"jIJP")](t,e,W,o){const d=_0x5fdee6,i={};i.vx=e,i.vy=W,i[d(536,"q*TU")]=o,this[d(544,"ddmN")][d(513,"tigc")](t,i)}[_0x5fdee6(487,"SyIF")]=0;[_0x5fdee6(548,"q*TU")]=_0x3aad07;getFruitPosition(t){const e=_0x5fdee6,W=this.sharedValuesMap[e(547,"w9u^")](t);return W?(this[e(530,"yR@d")].x=W.x.value,this[e(532,"of6a")].y=W.y.value,this[e(421,"uVDZ")]):null}startPhysicsLoop(t,e){const W="Dl9d",o="ddmN",d="P[*[",i="q]Eo",n="9IeV",s=_0x5fdee6,a={SRKeC:function(t,e){return t!==e},ebAOy:s(392,"q]Eo"),lZbqv:function(t,e){return t(e)},BtxXM:function(t,e){return t===e},rgzvO:function(t,e){return t<=e},ksIvd:function(t,e){return t+e},KyQGl:function(t,e){return t+e},RliRk:"uGFFW",SptaJ:function(t,e){return t*e}};this[s(422,"tigc")]=!0,this[s(524,"Yi48")]=0;const r=m=>{const h=s;if(a[h(466,W)]("neKXM",a[h(465,"g[8l")]))this[h(441,"FL%X")]&&(_0xd2f34c(this[h(492,"Fz)U")]),this[h(509,"^s8F")]=null);else{if(!this.cachedIsPlaying)return void(this.animationRef=a[h(460,"g[8l")](requestAnimationFrame,r));a.BtxXM(this[h(459,"C5R1")],0)&&(this[h(408,o)]=m);const s=m-this[h(453,"(1yr")];this.lastFrameTime=m;const x=Math[h(428,"(jlv")](s,33.33)/16.67;if(a[h(495,"uVDZ")](x,0))return void(this[h(517,"P[*[")]=requestAnimationFrame(r));const u=e();let k=!1;for(let e=0;e<u.length;e++){const W=u[e];if(W[h(391,d)])continue;const s=this[h(508,"*RB2")][h(537,"j1YG")](W.id),r=this[h(546,"q*TU")].get(W.id);if(!s||!r)continue;r.vy+=_0x514c56[h(482,"39dY")]*x;let m=a[h(504,d)](s.x[h(403,"Fy&G")],r.vx*x);const f=a.ksIvd(s.y[h(419,"C@$K")],r.vy*x),R=a[h(540,i)](s[h(499,"ddmN")].value,r[h(485,"Ce@G")]*x);if(f>a[h(534,"e%d0")](height,100))t(W.id),this[h(502,"C5R1")][h(521,"YhPD")](W.id),k=!0;else if(f<-50)r.vy=Math[h(478,"EomQ")](r.vy,.5),s.x[h(474,"yR@d")]=m,s.y[h(442,n)]=-50,s.rotation[h(442,n)]=R;else{if(m<=0&&(m=0,r.vx=.8*Math[h(457,"KkEc")](r.vx)),m>=RIGHT_WALL){if(!a[h(425,"SyIF")]("uGFFW",a[h(512,"aAcd")]))return new _0x736c9a(_0x1f2d72);m=RIGHT_WALL,r.vx=a[h(450,"7]rj")](-Math[h(479,"C5R1")](r.vx),.8)}s.x[h(529,o)]=m,s.y[h(539,"uVDZ")]=f,s[h(528,i)][h(424,"KkEc")]=R}}k&&this[h(426,W)]&&this.onListChange(),this[h(514,"C5R1")]=requestAnimationFrame(r)}};this[s(467,"q]Eo")]=requestAnimationFrame(r)}createRandomFruit(){const t=_0x5fdee6,e={};e[t(423,"yR@d")]=function(t,e){return t<e},e[t(440,"q]Eo")]=function(t,e){return t*e},e.UhZtH=function(t,e){return t-e};const W=e,o=Math[t(469,"(jlv")]();let d;if(d=W[t(491,"w9u^")](o,.18)?BOMB_TYPE:o<.25?STAR_TYPE:FRUIT_TYPES[Math[t(429,"ddmN")](W[t(542,"qvv*")](Math[t(507,"of6a")](),FRUIT_TYPES[t(477,"Fz)U")]))],!d){const e=FRUIT_TYPES[0],o=Math[t(462,"tigc")]()*(width-_0x514c56.FRUIT_SIZE),d=height-50,i=(Math[t(416,"Fy&G")]()-.5)*_0x514c56[t(406,"$c]T")],n=_0x514c56.INITIAL_VELOCITY_Y+1*(Math[t(402,"FL%X")]()-.5),s={};s.x=o,s.y=d;const a={};return a.x=i,a.y=n,{id:t(400,"Ce@G")+Date[t(447,"i^o(")]()+"_"+Math[t(430,"$#*m")](),type:e,position:s,velocity:a,rotation:0,rotationSpeed:W[t(445,"P[*[")](Math[t(483,"z)vK")]()-.5,.2),isSliced:!1,spawnTime:Date[t(545,"(1yr")](),isBomb:Boolean(e[t(420,"9IeV")]),isBonus:Boolean(e[t(438,"EomQ")])}}const i=Math.random()*W[t(415,"yR@d")](width,_0x514c56[t(468,"Fz)U")]),n=W[t(471,"C5R1")](height,50),s=W[t(480,"j1YG")](Math.random()-.5,_0x514c56[t(444,"SyIF")]),a=_0x514c56[t(390,"KkEc")]+1*(Math[t(463,"e%d0")]()-.5),r={};r.x=i,r.y=n;const m={};return m.x=s,m.y=a,{id:t(526,"q]Eo")+Date[t(452,"ddmN")]()+"_"+Math.random(),type:d,position:r,velocity:m,rotation:0,rotationSpeed:.2*(Math[t(401,"yR@d")]()-.5),isSliced:!1,spawnTime:Date[t(454,"uVDZ")](),isBomb:Boolean(d.isBomb),isBonus:Boolean(d[t(458,"(jlv")])}}[_0x5fdee6(486,"EvVl")](){const t=_0x5fdee6;this[t(393,"z1ql")][t(464,"39dY")](),this[t(510,"^s8F")][t(414,"SyIF")](),this[t(433,"7]rj")][t(436,"yR@d")](),this[t(475,"q]Eo")]=!1,this[t(397,"YhPD")]=0}[_0x5fdee6(493,"(jlv")](){const t="C5R1",e=_0x5fdee6;this.clearGameTimer(),this[e(418,"7]rj")](),this[e(505,t)](),this[e(448,t)]=!1}[_0x5fdee6(451,"$#*m")](){const t=_0x5fdee6;this.gameTimerRef&&(clearGameInterval(this[t(535,"YhPD")]),this.gameTimerRef=null)}clearFruitSpawn(){const t=_0x5fdee6;this[t(522,"EomQ")]=!1,this.fruitSpawnRef&&({ZAvdN:function(t,e){return t(e)}}[t(490,"wAh6")](clearTimeout,this[t(411,"(jlv")]),this[t(413,"z1ql")]=null),this.staggeredSpawnRefs[t(500,"SyIF")](t=>clearTimeout(t)),this[t(484,"z1ql")]=[]}clearAnimationLoop(){this[_0x5fdee6(494,"e%d0")]&&(cancelAnimationFrame(this.animationRef),this.animationRef=null)}}export const createFruitNinjaService=t=>new FruitNinjaService(t);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x3963c0=_0x30f2;function _0x30f2(t,e){t-=401;const o=_0x281c();let W=o[t];if(void 0===_0x30f2.zpCtSV){const t=function(t,e){let o,W,r=[],d=0,n="";for(t=function(t){let e="",o="";for(let o,W,r=0,d=0;W=t.charAt(d++);~W&&(o=r%4?64*o+W:W,r++%4)?e+=String.fromCharCode(255&o>>(-2*r&6)):0)W="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(W);for(let t=0,W=e.length;t<W;t++)o+="%"+("00"+e.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(o)}(t),W=0;W<256;W++)r[W]=W;for(W=0;W<256;W++)d=(d+r[W]+e.charCodeAt(W%e.length))%256,o=r[W],r[W]=r[d],r[d]=o;W=0,d=0;for(let e=0;e<t.length;e++)W=(W+1)%256,d=(d+r[W])%256,o=r[W],r[W]=r[d],r[d]=o,n+=String.fromCharCode(t.charCodeAt(e)^r[(r[W]+r[d])%256]);return n};_0x30f2.uriyzD=t,_0x30f2.mBNehj={},_0x30f2.zpCtSV=!0}const r=o[0];_0x30f2.NlCJXM!==r&&(_0x30f2.mBNehj={},_0x30f2.NlCJXM=r);const d=_0x30f2.mBNehj[t];return void 0===d?(void 0===_0x30f2.cYglFc&&(_0x30f2.cYglFc=!0),W=_0x30f2.uriyzD(W,e),_0x30f2.mBNehj[t]=W):W=d,W}!function(){const t=_0x30f2,e=_0x281c();for(;;)try{if(459416==-parseInt(t(405,"OSWV"))/1+parseInt(t(410,"B$IY"))/2*(-parseInt(t(448,"#u@Q"))/3)+-parseInt(t(476,"d)DQ"))/4+parseInt(t(425,"AqLt"))/5*(parseInt(t(481,"jCKw"))/6)+parseInt(t(432,"$hVd"))/7+parseInt(t(463,"d)DQ"))/8+parseInt(t(462,"B$IY"))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();import{create}from"zustand";function _0x281c(){const t=["W5hcVCo8udmiW6ufoqT1fCor","tCkporNdTadcHSkRFrboW5hdGa","WROnWRuqbqGUW7O2WOO3WO1d","WRbaavezjNTpWPq+W5zAyq","AaBdTf5dWPK","W7tcIrDCW5C","u8klDf1S","ghapW7FdRmo+FZjSW4vCvSkh","WOZcVCoaewH6W7dcRHrh","nahcIW/cNCkuWPxdSq","WORdHSo7h0jO","WO7dT8o/kxxdGmkwW5yxWR01AJC5","WR4avWtdNq","WPpcGNhdUmkruI8iW5ldHHhcGWK","WQddMSocf0VdImkSW78c","yCkciIRcVCoD","od4fgtX2WOaQ","WOVdUSkybg9FWRGX","W5lcTb5zWRC","W65sWRC","WQXOfsxcMSkyqsucWOlcTMa","os0DfqDZWRm9dqtdOSoxyW","W4myWO/cM8o5W6pcIh/dLLBcNSkSW6e","W7myWOnEqhtcSuxcTmkim1dcTG","W4xdPau9E1SMra","WQHiW58","WPzDW4pdI8k5WQG","W6riW7jniHupW50lWQa","W7KSvNVdNSozCYedWONcLNC/","WO3dGgm6tSoI","WOrdW5ZdKCk6","qrhdJbpcMM8FW6e","je8ZW7RdKG","FmooumkTW7TU","W47dJWtcP8oC","W5hdPGCQuq","W7yvWOzsq3lcVwdcMmkWde7cIG","FItdKetcLq","cfxcQf9f","wmkEiWldPq","WQddQCo+egm","W68grWTAyvrZWOK1W7jc","sXRdIuhcIG","mmodW4jnWRJdQW","feddP8oxemomW4FdPa","WRawWRyCaG","amoWW73dRSkI","W6XnoSoUW4HG","WRVcR8omgSkpWRNdNSo9vq","F1W2svO","WQZdICodCMK","W7boetTaWPPE","WOxdQmkMduLkWRGN","Dr1vWOqKpKfwAq","WOtdU8k+axjp","B0K5CvLD","WR/cRSo7BCo+Bq","WR5skSoYW5Huoa","WOtdQmokjgBdUmktW5q2","A8o4WP7cMmkD","p8kfWRxcJSkduYlcG8kTkK1kW48","WQ/cI0Ohlca","FSkeiZ/cRa","W75dda","W51OztJdVJ8","WPZcNmowmmk1","pWNcKa/cOq","W5pdR8kgDK91W7pcIq","WQ5RWRaKW7C","BrVdRfvy","WQToW4y","W4fnb8oGW70","us9DWRCjdN59xq","W75vdKhcIfJcTIVdOvaQnq","WOfzW7S8ma","W4utANBdOa","WR8qWQ0BhG","nIW7ebPJWOa8","W4rcW5pdL8kPWPZdTW","ELGJAKG","WOuOtIBcHmkc","qqBdT0/cJmk8WOldNq","sSoqWRdcOSkIWRlcRhem","os0DfqDZ","ACkQoWFdMG","W5GFBLFdTCoUCbyWWQ7cTLCF","FrFdRKvs","W4tdTX0Xqf4vu8oWW73cP8ktlq","WPlcUwLptG","W7KSvNVdNSoz","WPdcNmoHlmk3WOpdNSoDDmkrW67dI8oJ","BSovsmkHW4n4mNy","bgpdV2D/gHBdTN8","DmoBW5hdRmkVze0","W7xcQGzmW5q","WPVcGX0h","Bmk8atxdNZFcHCkCtJDUW7hdOa","x8kuirxdJbBcTSk6","jSoYr0aEjmosnq","tGFdKuRcKCkS","WQ5PgItcM8ktfIy9WR3cINeR","vHFdJbtcUq","WORdHSo7h0jOW73cVN/cOCoWWQ01","W75wiSoIW7b2ffO","CLWyWO3dJhNdNSkvqG","uWRdLb/cONKVW7ddO2LHA28","r8kuoHxdSW","h0tdPmovk8os"];return(_0x281c=function(){return t})()}import{subscribeWithSelector}from"zustand/middleware";import{GAME_CONFIG}from"./FruitNinjaService.js";import{immerMiddleware}from"../../services/UtilsService.js";export const useFruitNinjaStore=create()(subscribeWithSelector(immerMiddleware((t,e)=>({score:0,timeLeft:GAME_CONFIG[_0x3963c0(417,"$hVd")],isPlaying:!1,gameOver:!1,combo:0,lives:GAME_CONFIG[_0x3963c0(493,"&AL&")],fruits:[],fruitsVersion:0,startGame:e=>{const o=_0x3963c0,W=e||GAME_CONFIG[o(500,"wu9(")];t(t=>{const e=o;t[e(475,"1Y#M")]=0,t[e(429,"3lgL")]=W,t[e(498,"Sebo")]=!0,t[e(456,"&owV")]=!1,t[e(433,"*e2a")]=0,t.lives=GAME_CONFIG.MAX_LIVES,t.fruits=[],t[e(441,"3lgL")]=t[e(468,"$hVd")]+1})},stopGame:()=>{const e={VAhtz:function(t,e){return t+e}};t(t=>{const o=_0x30f2;t[o(458,"4Al)")]=0,t[o(430,"58GK")]=GAME_CONFIG.GAME_DURATION,t[o(404,"&AL&")]=!1,t[o(484,"bpT3")]=!1,t[o(401,"!J#F")]=0,t.lives=GAME_CONFIG[o(454,"Sebo")],t[o(473,"wZ&G")]=[],t[o(434,"2hKw")]=e[o(490,"kcx)")](t.fruitsVersion,1)})},resetGame:()=>{t(t=>{const e=_0x30f2;t.score=0,t[e(471,"*e2a")]=GAME_CONFIG[e(428,"3lgL")],t[e(436,"Q3k^")]=!1,t[e(492,"Q[%p")]=!1,t.combo=0,t[e(485,"kOjO")]=GAME_CONFIG[e(414,"T*re")],t[e(483,"p3NU")]=[],t.fruitsVersion=t[e(422,"MD6i")]+1})},sliceFruit:o=>{const W=_0x3963c0,r={};r[W(420,"Ar(O")]=function(t,e){return t+e},r[W(477,"obft")]=function(t,e){return t<e};const d=r,{fruits:n,isPlaying:i}=e();if(!i)return;let s=-1;for(let t=0;d[W(478,"c%1d")](t,n.length);t++)if(n[t].id===o){s=t;break}-1===s||n[s][W(409,"&owV")]||t(t=>{const e=W;t[e(411,"1ldd")]=d[e(489,"1ldd")](t[e(502,"Axt1")],100),t[e(494,"Q[%p")][s]&&("tzBKh"!==e(416,"3lgL")?(t[e(450,"2hKw")][s][e(457,"Q[%p")]=!0,t.fruits[s].sliceTime=Date[e(402,"d)DQ")]()):_0x3e542b.score=_0x15f079.score+_0x4e3f37)})},updateScore:e=>{const o=_0x3963c0,W={};W[o(480,"Sebo")]=function(t,e){return t+e};const r=W;t(t=>{const W=o;t[W(411,"1ldd")]=r.MrdXd(t[W(479,"3lgL")],e)})},decrementTime:()=>{t(t=>{const e=_0x30f2,o=t[e(435,"P[OY")]-1;o<=0?(t.timeLeft=0,t[e(404,"&AL&")]=!1,t[e(449,"XGzZ")]=!0):t[e(423,"wZ&G")]=o})},addFruit:e=>{const o=_0x3963c0,W={};W[o(407,"$hVd")]=function(t,e){return t+e};const r=W;t(t=>{const W=o;t[W(469,"cL7x")][W(427,"$F&G")](e),t[W(442,"kOjO")]=r[W(472,"U*mq")](t[W(419,"1Y#M")],1)})},removeFruit:e=>{t(t=>{const o=_0x30f2;t[o(412,"%sfR")]=t[o(415,"&owV")].filter(t=>t.id!==e),t[o(437,"*e2a")]=t[o(443,"jCKw")]+1})},clearAllFruits:()=>{t(t=>{const e=_0x30f2;t[e(466,"B$IY")]=[],t[e(447,"U*mq")]=t[e(461,"&owV")]+1})},updateFruit:(e,o)=>{t(t=>{const W=_0x30f2;for(let r=0;r<t[W(421,"$hVd")][W(439,"bpT3")];r++)if(t[W(504,"Kwcg")][r].id===e){Object.assign(t[W(496,"4dCz")][r],o);break}})},resetCombo:()=>{const e=_0x3963c0;({AnbLk:function(t,e){return t(e)}})[e(486,"AqLt")](t,t=>{t[e(482,"obft")]=0})},loseLife:()=>{const e=_0x3963c0,o={DxJVF:function(t,e){return t<=e},tljsw:function(t,e){return t(e)}};o[e(470,"B$IY")](t,t=>{const W=e,r=Math[W(459,")FR5")](0,t[W(499,"T*re")]-1);t[W(446,"Mj6p")]=r,o[W(406,"d)DQ")](r,0)&&(t[W(424,"%p&V")]=!1,t[W(464,"1Y#M")]=!0)})},addLife:()=>{t(t=>{const e=_0x30f2;t[e(506,"XGzZ")]=Math.min(t[e(445,"z4Pm")]+1,GAME_CONFIG.MAX_LIVES)})},batchBombSlice:e=>{const o="obft",W=_0x3963c0,r={};r[W(403,"P[OY")]=function(t,e){return t<e};const d=r;t(t=>{const r=W,n=Math[r(503,"48UU")](0,t[r(438,"3lgL")]-1);t.lives=n,t[r(408,"kOjO")]=0;for(let W=0;d[r(508,"$s9[")](W,t.fruits[r(455,"Axt1")]);W++)if(t[r(431,o)][W].id===e){t[r(501,"syUH")][W][r(413,o)]=!0;break}n<=0&&(t.isPlaying=!1,t.gameOver=!0)})},batchBonusSlice:(e,o)=>{const W=_0x3963c0,r={nzLfy:function(t,e){return t+e},jrBuv:function(t,e){return t(e)}};r[W(505,"MD6i")](t,t=>{const d=W;t.lives=Math[d(465,"d)DQ")](t.lives+1,GAME_CONFIG[d(488,"MD6i")]),t[d(418,"!J#F")]=r[d(474,"!Vl(")](t[d(452,"OSWV")],o);for(let o=0;o<t[d(495,"1ldd")].length;o++)if(t[d(444,"!J#F")][o].id===e){t[d(487,"P[OY")][o].isSliced=!0;break}})}}))));let gameServiceInstance=null;export const registerGameService=t=>{gameServiceInstance=t};useFruitNinjaStore.subscribe(t=>t.gameOver,(t,e)=>{const o=_0x3963c0,W={};W[o(426,"z4Pm")]=function(t,e){return t&&e},W.mJgup(t,!e)&&setTimeout(()=>{const t=o;gameServiceInstance&&gameServiceInstance[t(491,"48UU")](),useFruitNinjaStore[t(507,"#u@Q")]()[t(451,"Sebo")]()},50)});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x53da2f=_0xf137;!function(){const o=_0xf137,e=_0x2fba();for(;;)try{if(787041==parseInt(o(318,"v#S0"))/1*(-parseInt(o(359,"TA1x"))/2)+-parseInt(o(286,"IhL%"))/3+parseInt(o(343,"gSN3"))/4*(parseInt(o(282,"))FW"))/5)+-parseInt(o(271,"Ol1("))/6*(-parseInt(o(292,"l&UD"))/7)+parseInt(o(304,"8HB["))/8*(parseInt(o(347,"EZn4"))/9)+-parseInt(o(326,"v#S0"))/10+-parseInt(o(368,"kcYj"))/11)break;e.push(e.shift())}catch(o){e.push(e.shift())}}();import{c as _0x5ebf4f}from"react/compiler-runtime";import _0x46459f,{useEffect,useMemo}from"react";import{Platform,StyleSheet}from"react-native";import _0x409655,{useSharedValue,useAnimatedStyle}from"react-native-reanimated";import{GAME_CONFIG}from"../FruitNinjaService.js";import{SkiaFruit}from"../../../helpers/assets/index.js";import{jsx as _0x2f9238,jsxs as _0x234151}from"react/jsx-runtime";const IS_ANDROID=Platform.OS===_0x53da2f(344,"ZDMG"),FruitComponentInner=o=>{const e="EZn4",W=_0x53da2f,t={bxTSJ:function(o,e){return o(e)},IgMCY:function(o,e){return o!==e},zyUNO:W(268,"NwVe"),ExLGH:function(o,e){return o!==e},JPciX:function(o,e){return o!==e},wWZYs:function(o,e,W){return o(e,W)},mpvUl:"4|2|3|1|0"},d=_0x5ebf4f(27),{fruit:f,gameService:a}=o,n=useSharedValue(f[W(366,"gY$$")].x),x=useSharedValue(f[W(369,"EZn4")].y),r=t[W(328,"hYo[")](useSharedValue,f[W(310,"l&UD")]),s=useSharedValue(1),_=useSharedValue(1);let k,i;d[0]!==f.id||t[W(309,"lwC^")](d[1],f[W(301,e)])||d[2]!==f[W(340,"O&ex")].x||t[W(357,"IhL%")](d[3],f.velocity.y)||d[4]!==a||d[5]!==_||d[6]!==r||d[7]!==s||d[8]!==n||d[9]!==x?W(353,"!$pb")===t[W(349,"RPRY")]?(k=()=>{const o=W,e={};return e.x=n,e.y=x,e.rotation=r,e[o(334,"fyqv")]=s,e[o(324,"B05j")]=_,a[o(352,"8HB[")](f.id,e),a[o(272,"*Vh(")](f.id,f[o(316,"B05j")].x,f[o(374,"l&UD")].y,f[o(289,"n8gZ")]),()=>{a.unregisterSharedValues(f.id)}},d[0]=f.id,d[1]=f[W(295,"J!Mh")],d[2]=f.velocity.x,d[3]=f[W(313,"MJ)2")].y,d[4]=a,d[5]=_,d[6]=r,d[7]=s,d[8]=n,d[9]=x,d[10]=k):(_0x3633dd=[_0x9d1031.id],_0x5601ec[11]=_0x5c1067.id,_0x55e3e2[12]=_0x4ad199):k=d[10],d[11]!==f.id?(i=[f.id],d[11]=f.id,d[12]=i):i=d[12],useEffect(k,i);const m={};m[W(358,"l&UD")]=n[W(281,"&X]m")];const S={};S[W(296,"8HB[")]=x.value;const u={};u.rotate=r.value+W(351,"O&ex");const l={};l[W(325,"hYo[")]=s[W(330,"r*]b")];const h=useAnimatedStyle(()=>({transform:[m,S,u,l],opacity:_[W(332,"PkwO")]})),C=f[W(315,"n8gZ")]?10:5;let O,R;if(t[W(279,"&x&A")](d[13],C)){const o={};o[W(371,"&X]m")]=C,O=o,d[13]=C,d[14]=O}else O=d[14];d[15]!==h||t[W(331,"fyqv")](d[16],O)?(R=[styles[W(276,"d)UB")],O,h],d[15]=h,d[16]=O,d[17]=R):R=d[17];const b=R;let p,y,I;if(d[18]!==f[W(300,"IhL%")][W(341,"hbr)")]){const o={};o[W(365,"r*]b")]=f[W(342,"N73A")].name,o.size=GAME_CONFIG[W(360,"*Vh(")],p=_0x2f9238(SkiaFruit,o),d[18]=f[W(342,"N73A")][W(355,"%!TE")],d[19]=p}else p=d[19];if(t[W(335,e)](d[20],f[W(350,"&x&A")])||t[W(278,"lwC^")](d[21],f[W(322,"61T6")])?(y=(f[W(363,"%!TE")]||f[W(367,"RPRY")])&&t[W(274,"kVsC")](_0x2f9238,_0x409655[W(285,"TA1x")],{style:[styles[W(373,"n8gZ")],f.isBomb?styles[W(288,"DnVF")]:styles[W(308,"r*]b")]]}),d[20]=f[W(311,"IhL%")],d[21]=f[W(284,"4m&%")],d[22]=y):y=d[22],t[W(356,"NwVe")](d[23],b)||t[W(331,"fyqv")](d[24],p)||d[25]!==y){const o=t[W(291,"PkwO")][W(267,"!$pb")]("|");let e=0;for(;;){switch(o[e++]){case"0":d[26]=I;continue;case"1":d[25]=y;continue;case"2":d[23]=b;continue;case"3":d[24]=p;continue;case"4":const o={};o[W(345,"v#S0")]=b,o[W(270,"kVsC")]=[p,y],I=_0x234151(_0x409655[W(320,"gY$$")],o);continue}break}}else I=d[26];return I};export const FruitComponent=_0x46459f[_0x53da2f(339,"fUNY")](FruitComponentInner,(o,e)=>{const W=_0x53da2f,t={};t[W(299,"N73A")]=function(o,e){return o===e};const d=t;return o[W(319,"n8gZ")].id===e.fruit.id&&d[W(283,"%!TE")](o[W(375,"2SSj")][W(336,"@d%d")],e[W(305,"Ol1(")][W(336,"@d%d")])});FruitComponent.displayName=_0x53da2f(307,"MJ)2");const _0x2848c8={};_0x2848c8[_0x53da2f(303,"^4]3")]=_0x53da2f(370,"fyqv"),_0x2848c8.width=GAME_CONFIG.FRUIT_SIZE,_0x2848c8[_0x53da2f(348,"twOR")]=GAME_CONFIG.FRUIT_SIZE,_0x2848c8.justifyContent="center",_0x2848c8[_0x53da2f(346,"kVsC")]="center";const _0x1f5645={};_0x1f5645.position=_0x53da2f(277,"kVsC"),_0x1f5645[_0x53da2f(362,"EZn4")]=0,_0x1f5645[_0x53da2f(269,"MlqR")]=0,_0x1f5645[_0x53da2f(376,"@d%d")]=0,_0x1f5645[_0x53da2f(293,"DnVF")]=0,_0x1f5645.borderRadius=50,_0x1f5645.opacity=.3;const _0x481138={};_0x481138[_0x53da2f(280,"kVsC")]=15;const _0x46cf30={};_0x46cf30[_0x53da2f(275,"MlqR")]=0,_0x46cf30[_0x53da2f(338,"IhL%")]=0;const _0x1db3fa={};_0x1db3fa.shadowColor=_0x53da2f(312,"O&ex"),_0x1db3fa.shadowOffset=_0x46cf30,_0x1db3fa[_0x53da2f(302,"DnVF")]=.8,_0x1db3fa[_0x53da2f(273,"kcYj")]=15;const _0x382221={...IS_ANDROID?_0x481138:_0x1db3fa},_0x5a2fef={};function _0xf137(o,e){o-=267;const W=_0x2fba();let t=W[o];if(void 0===_0xf137.NVoifl){const o=function(o,e){let W,t,d=[],f=0,a="";for(o=function(o){let e="",W="";for(let W,t,d=0,f=0;t=o.charAt(f++);~t&&(W=d%4?64*W+t:t,d++%4)?e+=String.fromCharCode(255&W>>(-2*d&6)):0)t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(t);for(let o=0,t=e.length;o<t;o++)W+="%"+("00"+e.charCodeAt(o).toString(16)).slice(-2);return decodeURIComponent(W)}(o),t=0;t<256;t++)d[t]=t;for(t=0;t<256;t++)f=(f+d[t]+e.charCodeAt(t%e.length))%256,W=d[t],d[t]=d[f],d[f]=W;t=0,f=0;for(let e=0;e<o.length;e++)t=(t+1)%256,f=(f+d[t])%256,W=d[t],d[t]=d[f],d[f]=W,a+=String.fromCharCode(o.charCodeAt(e)^d[(d[t]+d[f])%256]);return a};_0xf137.YQYglS=o,_0xf137.sXoOQy={},_0xf137.NVoifl=!0}const d=W[0];_0xf137.hXhwEM!==d&&(_0xf137.sXoOQy={},_0xf137.hXhwEM=d);const f=_0xf137.sXoOQy[o];return void 0===f?(void 0===_0xf137.DMiGmU&&(_0xf137.DMiGmU=!0),t=_0xf137.YQYglS(t,e),_0xf137.sXoOQy[o]=t):t=f,t}_0x5a2fef[_0x53da2f(323,"Ol1(")]=15;const _0x1b203a={};_0x1b203a[_0x53da2f(354,"DnVF")]=0,_0x1b203a[_0x53da2f(287,"kVsC")]=0;const _0x3a4893={};_0x3a4893[_0x53da2f(361,"MJ)2")]=_0x53da2f(327,"^4]3"),_0x3a4893.shadowOffset=_0x1b203a,_0x3a4893.shadowOpacity=.8,_0x3a4893.shadowRadius=15;const _0x1efc72={...IS_ANDROID?_0x5a2fef:_0x3a4893},_0x1fe13e={};function _0x2fba(){const o=["W57dJt8HrW","W7DzW4BdQNy","amoPjSk3","prqrW4ddUq","W4SqhCkAW5q","WRCJuCoSlX/dS1xcQXK","omo3vCktW6NcUmkqWOLAwq","W480W6dcO3bhW57dU1Oo","W50wkuewAmksWPnBohW","WPjWxa","b8o7cCk9kSof","W6hdPCoHEaD/W5ywW6uXWQZcPfG","W6lcRCkmWQ8","bdhdH8kGd8oPWRZdPG","b8kOfWGEDda","W4pcIJ44mmofWO9gW7/cPLygW7O","WPzWxWFcT8o4W4ae","CmkzW5ZcHmodW7pcLSoo","B8o1W7VdL8kkcq","WRqhWPhcQMSFlSoxWPrW","rmkeW4dcQSkizIaOlue","WRu0xmoTpXRdPLG","W41vWQ3dIZO","W44XW7BdOW8","W5/dVYaNya","cI4UW6JdOG","W77dVCktrW","qCofmSkBW6FdJWlcTq","FmoPW6XKbhFdIIWFmSkGzmon","W7SdW5lcG1DSW6JdGey5W4/cRSkChM/cNa9HWPqj","WOBdL2PPBSkkW6TsW77cMvus","vCo6aCkUW7a","W6xdSCkrr8o5","WPpcHsxcS8k5vSo0Ad10n8ogx2u","q8opkmkyW6/dIbpcVG","W7FcHJtcJCkw","BrndyqG","r8obpSkbW6ldIq7cTmkQ","y8oDW7NdHSkk","W5ldKCobW7NcL03cT8omqa","j8oejSkXkq","kXvhW6fbtru","xmkNbSos","WRnfyCoQWRRdGCkOWOD1v8klWRqc","sSoimSkqW6VdIq","W6DCW43dQvWNo8o/","uCkhW5VcVmk5AsKJhuugbSko","qCoFpSkwW7FdMa","mGmwW6hcLa","W7jLwSoBjtldHMm","W6jFW5BdQNeL","rCoBt27dVCkwW7jDlSkwW4hcJ8kj","W48QmSocW7y2BCk9W7PCW5JcT8km","W6FcUCkaA8oQW6hcT8o4dmoT","WRZdOWHfWRTJBwZdHMW","WRrhzmk7W7RcPSo3WRL+","W40AA8kiWPW","W7yoimk8","WPrWwa/cT8o4W4aeW79kumo/W5q","W7nyW4pdUNe/gCoTWObYW5ldJM0","WP0rgwtdVNNdKrG","WQldS8oym8kHW77cJ8olemofkW","kCkJWQK+rG","qXHHvrpcKSoMjW","W6GmpuWnxmk+WPfhogbGDSoc","W6VcOmkoWR3cTxOcW6ny","W7tcSrRcP8kx","WRe+rmoJkbRdVu8","W6SeeSk2W6dcKq","FSkKW71qWQdcUeO","W5GBjeOADSkLWOu","WQtdHHC5bf7dLJRdNCk2ie0","sSkBW63cSSkGyG","DwvkwCk9gd4m","W5ddMSoeWQNdRX7dLmofEZRcOmkZfW","WQpdGrDRqJNdLrNdIW","rCkAW5RcTmk5","iJFdKCk+","WOZdPMFdKSo9WOq+a8kBgcddRSozWQS","zSofW79BW75NWO0","kSk9WRKHuZlcKW4+","BhbhvCk3btm","b8kkhZhcRW","WQtdGrm/bL7cJeldGmkom1SvrG","W44ydgZcVYdcJa","fSkrkG7cGa","C1uWW61HwJuSW68","W7RcRCknWR/cKG","vmkdW6pcRmoN","krimW4hcNq","WRhdP8oRzuxdL1Xbc8o4vvRcU0C","ySkyW47cH8ok","WQnNycNcIW","W5uRW4ldPXjSWQii","FCoOW6PHqWhcIdGiiG","W6OsoCk+W6xcHW","DIuoWQe","k8kNW7ClW7tdPaKU","WO0jWR3cIq","W7aVDSko","W6BdP8oGFqD1WOKRW5aUWP7cKW","mbVdTLKExmoF","W6BcHvPLua","q8obmSkqW63dTbpcVSkPWPa","W5iOh1RcTSogW5CGW5LB","se1aoa3dGG","fmkIacK/","tqDmttZcNW","l8kJW78","W6hcRSkgBmoQW7NcS8o+oSoCmevdW78KzSoXocFcOW"];return(_0x2fba=function(){return o})()}_0x1fe13e[_0x53da2f(333,"91qo")]=_0x2848c8,_0x1fe13e[_0x53da2f(297,"unw8")]=_0x1f5645,_0x1fe13e[_0x53da2f(306,"&x&A")]=_0x382221,_0x1fe13e.glowBonus=_0x1efc72;const styles=StyleSheet[_0x53da2f(290,"kVsC")](_0x1fe13e);
|