@nayan-ui/games 1.19.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 -40
- 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 _0x24e704=_0x3465;!function(){const e="sfy8",t=_0x3465,W=_0x451d();for(;;)try{if(846508==-parseInt(t(514,"YflP"))/1+parseInt(t(574,"Jyym"))/2*(parseInt(t(492,"eTp*"))/3)+parseInt(t(580,"v]WV"))/4*(-parseInt(t(525,"CqoP"))/5)+-parseInt(t(522,"(rv!"))/6*(-parseInt(t(587,e))/7)+parseInt(t(511,"(gA["))/8*(parseInt(t(599,"(rv!"))/9)+-parseInt(t(544,"Z1ix"))/10+parseInt(t(490,"vGfs"))/11*(parseInt(t(517,e))/12))break;W.push(W.shift())}catch(e){W.push(W.shift())}}();import{create}from"zustand";function _0x451d(){const e=["WPjCWPldRJW","W4RcIueiWRC","WRVcQSkm","WR84W714W6XjWR7cMCkjWRu","b03dIG","W67dMHyAWOtcU1VcNCkQW7nHW4fL","m8ozWOtcO8oBW7iCf0/dOSkFEa","WQpcVIerW6CqW5SBwq","W6NcOCorqHC","WQVcRuWQqCoEWRTqdCkub3K","n8oGlCkYa8kghSoVWRhcPSos","FCkZWPW","W45Va8kUE8kcCvjy","W6/dVXfOfW","o8kqWPpdSCkJlCkRg8ov","W4ddQbGWWRBcJ2lcQSkFW4jm","WR3cVNxcHdBdHCo/WRddQX8PW5Ko","WOVdN8oglq","B8kMxSoKnSk5jmo+WOtcIW","e8o8bJTFW5qswW","WRvlWRFdMXy","W7NdPYVdIwq","puldP8kDBmohAmoXl04vjmk9","W5LyW7D8x8ohu8oMWROv","mmoiWO0","DSoMWRNdHCo3","W7KSW5y","WRf8F8kpDfZcN1a","WQygWPpdIJ/dKL/cIZy","tWjpo8knWO3cSMG","CGDSh8k5","DComWQfgr3JcMvfO","xwJcI8oaW7u","BIv+WQlcSsnlW4lcOcBcGa","WPORgx4QW7Gwx2FcL8k8W7VcNG","W7pdOJCDWRm","oCoRoqbE","f8kVW6KyW5xdOvlcQuW","W6LbW5qiW5S","W7VdSSojw3milCofsa","WRddRCoUWPyVeSkIWOtdI8kWvGyI","FJ3cOmoGgW","jeZdSa","W485W4ddJCoUW7VcJau","k8ouWRK8aSkDuCkFq1pcQa","W7Dgd8kiWPBdKq","W7XlW5uE","W4VdICoubCky","WQJcQe8PqmkOWQn0h8k+na","W6T0WQXeW5VdH2mA","vmoaWOVdMCoRxqddRhv3WOK","WO/dMHDiW6fIjmk1bszeW6q","ESoYWOxdS8ozAtNdM0bgWQtdU3i","ytPsWQlcRG","AHRcUmoi","W7xcTCkYW4jxt8o9WQq","WOmVWOlcH8oo","W4VcSXVcPCk7W5xcPdS","WP4HhNHTWOHaywlcTa","W4VdR8owCumNWQtcP8kLWRlcPa","zmotyYzB","imkgWQFdTCk6d8kfamovWQm","W6GSW40","WOJdM8oypCkrW7BcVmo6","urTkWQJcQq","yJTnWRNcPqfiW5a","W4VdTSocm8kC","WPGPw1z9W69hW5BdKJyojW","l1VdKCkqwG","o8oJorbi","FSohW5FcO8oJuSo6h8o5WRdcRNtcQq","B8opWP1duG","DCkdW5JdSCkKWQuxjq","W5BdTCo4E2iYWQ7cTG","W6RdVrjVfW","W5bOW605W5a","d3P/WR4Z","WPhcO8k5B2G","W77cH8oKzZ8","W6XujSknWPtdMxy7WQzj","W4DYW6ddQs4","W7fodCkjWORdQLW/WRbswZG","WOHcWPC","WQJcRdnBmCkFWRbz","yJTnWRNcPrbiW4S","ySozWPyBW6VdGv3cTfPpW48Tsq","W6XumCkaWPJdHvaJWQq","hfhdRCk+uXnQBMi","AmkzW7ldTCkfWQu+j3/dQq","WO5eWOZdKWa","EHlcUSozpq","WOVdMSohjSkA","ySkfW5K","ExZcOCoEW6m","WQuOW5vRW6q","W73dQta","W4rimwqHW65/WP0XW48","xH1hlmk4","WQSvWP8","W59uaq","WQJdTSkpFGSlAGddMW","WRz2FCkyxq","xGzskSk4WRRcU2S","W7tcPWFcK8kQ","W53dSJC6WQG","E8kXWOamhCoqW6NcMG","W6D5W7rFW4jFWPFcOa","auhdI8onW48","WRXJW6m","WRPmW5tdRColW4RcKd/dPmksESk4W58","WOKTr0D3W7PnW4G","WRxcOmoTW5SQvSkRWQZcTG","rmo8vIH2","W441WQNcMCoNW4BcOZRdQCke","AmowWPXpAMtcLKS","W7zUWPfnW7BdM2WagW"];return(_0x451d=function(){return e})()}import{subscribeWithSelector}from"zustand/middleware";import{immerMiddleware}from"../../services/UtilsService.js";import{GRID_SIZE,TOTAL_TILES,SLIDING_NUMBERS_GAME_CONFIG}from"./SlidingNumbersConstants.js";import{calculateTimeBasedScore}from"../../services/ScoringService.js";export const useSlidingNumbersStore=create()(subscribeWithSelector(immerMiddleware((e,t)=>({isPlaying:!1,isCompleted:!1,isGameOver:!1,tiles:[],emptyRow:GRID_SIZE-1,emptyCol:GRID_SIZE-1,tilesVersion:0,score:0,timeLeft:SLIDING_NUMBERS_GAME_CONFIG[_0x24e704(595,"114N")],initializePuzzle:()=>{const t="((B4",W=_0x24e704,o={};o[W(567,"^l3i")]=function(e,t){return e===t},o[W(551,"oKfs")]=function(e,t){return e-t},o.hqrXO=function(e,t){return e-t},o[W(550,"NjhK")]=function(e,t){return e+t},o[W(586,"L2*U")]=function(e,t){return e&&t};const n=o;e(e=>{const o=W,r=[];for(let e=0;e<TOTAL_TILES;e++)r.push({id:e,value:n.BxEqd(e,n.XfBrz(TOTAL_TILES,1))?0:e+1,row:Math[o(565,t)](e/GRID_SIZE),col:e%GRID_SIZE});let s=n[o(590,"!dMm")](GRID_SIZE,1),i=GRID_SIZE-1;const d=[[-1,0],[1,0],[0,-1],[0,1]];for(let e=0;e<200;e++){const e=[];for(const t of d){const W=s+t[0],r=n[o(504,"wP*4")](i,t[1]);W>=0&&W<GRID_SIZE&&r>=0&&r<GRID_SIZE&&e.push(t)}const W=e[Math[o(506,"^l3i")](Math[o(519,")G^r")]()*e.length)],u=s+W[0],m=i+W[1],S=r[o(491,t)](e=>e[o(569,"vGfs")]===u&&e[o(572,"ECne")]===m),a=r[o(520,"c*CD")](e=>0===e.value);n[o(554,"kiGz")](S,a)&&(a[o(556,"!dMm")]=u,a[o(485,"eydI")]=m,S[o(573,"QYrT")]=s,S[o(566,"cRJP")]=i,s=u,i=m)}e.tiles=r,e[o(579,"eydI")]=s,e[o(558,"1Pww")]=i,e[o(591,"CqoP")]=0,e[o(588,"lhvd")]=SLIDING_NUMBERS_GAME_CONFIG[o(559,"(gA[")],e[o(524,"M$%E")]=!1,e[o(553,")G^r")]=!1,e[o(505,"lhvd")]=!1,e[o(541,"y3MT")]+=1})},moveTile:t=>{const W="1Pww",o=_0x24e704,n={};n[o(499,"M$%E")]=o(581,"3XH1"),n.VMweu=function(e,t){return e-t},n[o(540,"Qv0D")]=function(e,t){return e===t},n[o(509,"114N")]=function(e,t){return e===t};const r=n;let s=!1;return e(e=>{const n=o;if(!e[n(486,"ZFwJ")]||e[n(533,"Q!j4")])return;const i=e[n(543,"kQqf")][n(528,"E6u2")](e=>e.id===t);if(!i||r[n(577,"5Lhw")](i[n(598,"Jyym")],0))return;const d=Math.abs(i[n(536,")4RN")]-e[n(539,"1Pww")]),u=Math.abs(i.col-e[n(493,"bPxu")]);if(!(1===d&&0===u||0===d&&r[n(542,"bc07")](u,1)))return;const m=e[n(563,"!dMm")].find(e=>0===e[n(510,"kQqf")]);if(!m)return;const S=i[n(592,"oKfs")],a=i.col;if(i[n(516,"3XH1")]=e[n(531,"5Lhw")],i.col=e[n(537,"((B4")],m[n(594,"bc07")]=S,m.col=a,e[n(576,"wP*4")]=S,e[n(584,"y3MT")]=a,e.tilesVersion+=1,s=!0,e[n(578,"114N")][n(571,"wP*4")](e=>{const t=n;if("gddRv"!==r[t(530,"ECne")]){if(0===e[t(487,"(rv!")])return e[t(498,"8ah7")]===r[t(538,W)](GRID_SIZE,1)&&e[t(582,"S*XM")]===GRID_SIZE-1;const o=Math[t(527,W)]((e[t(564,"E6u2")]-1)/GRID_SIZE),n=(e[t(495,"vGfs")]-1)%GRID_SIZE;return r.ZFztl(e.row,o)&&r[t(521,"Qv0D")](e[t(500,")4RN")],n)}_0xe835c8[t(523,"LY6Q")]=0,_0xef263b[t(562,"cRJP")]=!0,_0x28667c[t(486,"ZFwJ")]=!1,_0x80de8[t(568,"v]WV")]=0})){const t=SLIDING_NUMBERS_GAME_CONFIG[n(526,"M$%E")]-e[n(501,"YKZW")];e[n(575,"YKZW")]=calculateTimeBasedScore(t,SLIDING_NUMBERS_GAME_CONFIG.GAME_DURATION,e.score),e[n(484,"eTp*")]=!0,e[n(561,"bc07")]=!1}}),s},startGame:()=>{e(e=>{const t=_0x3465;e.isPlaying=!0,e[t(518,"8ah7")]=!1,e[t(497,"l&]k")]=!1})},stopGame:()=>{const e=_0x24e704;t()[e(488,"Z1ix")]()},resetGame:()=>{const t=_0x24e704;({rNvLC:function(e,t){return e(t)}})[t(515,"E6u2")](e,e=>{const W=t,o=W(585,"YflP")[W(545,"lhvd")]("|");let n=0;for(;;){switch(o[n++]){case"0":e.score=0;continue;case"1":e.isGameOver=!1;continue;case"2":e.isCompleted=!1;continue;case"3":e[W(523,"LY6Q")]=SLIDING_NUMBERS_GAME_CONFIG[W(583,"sfy8")];continue;case"4":e.isPlaying=!1;continue}break}})},decrementTime:()=>{e(e=>{const t=_0x3465;!e[t(589,"LY6Q")]||e[t(507,"1Pww")]||e[t(593,"v]WV")]||(e[t(546,"cRJP")]-=1,e[t(547,"Q!j4")]<=0&&(e[t(529,"YflP")]=0,e[t(570,"QYrT")]=!0,e[t(597,"ADBs")]=!1,e[t(548,"(rv!")]=0))})}}))));function _0x3465(e,t){e-=484;const W=_0x451d();let o=W[e];if(void 0===_0x3465.ACRGTj){const e=function(e,t){let W,o,n=[],r=0,s="";for(e=function(e){let t="",W="";for(let W,o,n=0,r=0;o=e.charAt(r++);~o&&(W=n%4?64*W+o:o,n++%4)?t+=String.fromCharCode(255&W>>(-2*n&6)):0)o="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(o);for(let e=0,o=t.length;e<o;e++)W+="%"+("00"+t.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(W)}(e),o=0;o<256;o++)n[o]=o;for(o=0;o<256;o++)r=(r+n[o]+t.charCodeAt(o%t.length))%256,W=n[o],n[o]=n[r],n[r]=W;o=0,r=0;for(let t=0;t<e.length;t++)o=(o+1)%256,r=(r+n[o])%256,W=n[o],n[o]=n[r],n[r]=W,s+=String.fromCharCode(e.charCodeAt(t)^n[(n[o]+n[r])%256]);return s};_0x3465.AUDlFv=e,_0x3465.QtDwIo={},_0x3465.ACRGTj=!0}const n=W[0];_0x3465.WmTnQX!==n&&(_0x3465.QtDwIo={},_0x3465.WmTnQX=n);const r=_0x3465.QtDwIo[e];return void 0===r?(void 0===_0x3465.YUJpLd&&(_0x3465.YUJpLd=!0),o=_0x3465.AUDlFv(o,t),_0x3465.QtDwIo[e]=o):o=r,o}export const useIsPlaying=()=>({OfWme:function(e,t){return e(t)}}[_0x24e704(494,"!dMm")](useSlidingNumbersStore,_temp));export const useIsCompleted=()=>({JJVCn:function(e,t){return e(t)}}[_0x24e704(549,"c*CD")](useSlidingNumbersStore,_temp2));export const useIsGameOver=()=>useSlidingNumbersStore(_temp3);export const useScore=()=>({vmtdE:function(e,t){return e(t)}}[_0x24e704(534,"L2*U")](useSlidingNumbersStore,_temp4));export const useTimeLeft=()=>useSlidingNumbersStore(_temp5);export const useTilesVersion=()=>({aGYPM:function(e,t){return e(t)}}[_0x24e704(552,"Jyym")](useSlidingNumbersStore,_temp6));function _temp(e){return e[_0x24e704(560,")G^r")]}function _temp2(e){return e[_0x24e704(489,"114N")]}function _temp3(e){return e[_0x24e704(535,"Z1ix")]}function _temp4(e){return e[_0x24e704(512,"c*CD")]}function _temp5(e){return e[_0x24e704(503,"wP*4")]}function _temp6(e){return e[_0x24e704(555,")G^r")]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x160ecd=_0x4584;!function(){const e=_0x4584,t=_0x1058();for(;;)try{if(840540==-parseInt(e(233,"t*m)"))/1*(-parseInt(e(163,"#2jD"))/2)+parseInt(e(234,"197c"))/3+parseInt(e(271,"JJ*K"))/4*(parseInt(e(323,"1(9o"))/5)+parseInt(e(205,"t*m)"))/6*(-parseInt(e(228,"l9eD"))/7)+-parseInt(e(328,"dtY("))/8+parseInt(e(189,"sUb("))/9+-parseInt(e(266,"nX@4"))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();import{c as _0x25f1f6}from"react/compiler-runtime";import _0x137028,{useMemo,useRef,useEffect}from"react";import{StyleSheet,Platform}from"react-native";import{Canvas,RoundedRect,Rect,Text as _0x11b69b,matchFont,Group}from"@shopify/react-native-skia";import{isTablet}from"../../../services/UtilsService.js";import _0x436afc,{useSharedValue,useAnimatedStyle,withTiming,withSequence,Easing,runOnJS}from"react-native-reanimated";import{Gesture,GestureDetector}from"react-native-gesture-handler";import{useTilesVersion,useSlidingNumbersStore}from"../SlidingNumbersStore.js";import{GRID_SIZE,SLIDING_NUMBERS_GAME_CONFIG as _0x2efb18,SLIDING_NUMBERS_COLORS as _0x4911ea,SLIDING_NUMBERS_ANIMATION_CONFIG as _0x43a7ca,getTile3DColors,NUMBER_WORDS}from"../SlidingNumbersConstants.js";import{playSound,GAME_SOUNDS}from"../../../services/SoundsService.js";import{playHaptic,HapticType}from"../../../services/HapticsService.js";import{jsx as _0x24233,jsxs as _0x1446e6}from"react/jsx-runtime";const TILE_SIZE=_0x2efb18[_0x160ecd(213,"(y)!")],TILE_GAP=_0x2efb18.TILE_GAP,TILE_DEPTH=_0x2efb18[_0x160ecd(224,"UGc^")],TILE_R=_0x2efb18.TILE_RADIUS,BOARD_PAD=_0x2efb18.BOARD_PADDING,BOARD_DEPTH=_0x2efb18[_0x160ecd(334,"uA&3")],BOARD_W=_0x2efb18[_0x160ecd(252,"ifZ6")],BOARD_H=BOARD_W+BOARD_DEPTH,CANVAS_W=BOARD_W,CANVAS_H=BOARD_H,CELL_STRIDE=TILE_SIZE+TILE_GAP,WELL_X=BOARD_PAD,WELL_Y=BOARD_PAD,NUMBER_FONT_SIZE=Math[_0x160ecd(217,"ZVGR")](.42*TILE_SIZE),WORD_FONT_SIZE=Math[_0x160ecd(190,"hlH(")](.14*TILE_SIZE),_0x13b1a9={};_0x13b1a9[_0x160ecd(221,"8)RK")]=_0x160ecd(318,"(y)!"),_0x13b1a9.default=_0x160ecd(165,"%Dhy");const FONT_FAMILY=Platform.select(_0x13b1a9),HIT_MARGIN=TILE_GAP/2;function _0x1058(){const e=["WRZcM8kKW7iS","W5pdGSo5","bmkQWRu","W6hdVSkvvrRdTW","o0VdKc7cOG","eGecEmk2","WRafDmk7W5LJ","W6amohddSq","WR8Sx8kyW6u","WO3cTSoPevDxW6pdVSkIymowW4b3la","W5CQlmk3","WQ3dSavqzq","WR5BdeC5WR3dGG","t8oQfbukW6as","W7nTF8kuW6hcMtFcL8k8yZnhW54","W5GGimkQWOtcVtnpkSkQjW","krJcVf41","W7a4dmkEcq","l03dMdxcUa","WP94W6mwwJZdVGzC","W4yWevxdMa","W5y4WPdcKCkAWQm","WRqYjmkFda","W43cStqhW43dKq0E","WOCucCo1WPhdTeBcTSkbqaa","WR/cHwBcOvvr","napcT18XW7q","WRngfMZcPW","nCkiW4ndidhcSW","fSk9W4bIWO/cMSk7","WRDHW55BW7W","pKJdKY7cOG","WOurqX9m","W4eYBCo+hG","W6yzv8oRimo7tmokWQFcQSokW7qFa0/cOW","oqtcRf40W6OlWPq","WQyUoSovWRddHxS","jCkiW5ncjI3cRHKr","l8kMW7JdOx0","WRlcQbTTpHS","WQVdIbtdOW","gWj5CSkPw8objrqC","FrSJWQ3cLxW","bmk4W6jHhq","k1ddHs3cTq","vYZcT8kTWR7cUSkrWPJdOmkAWOddLSoIW5i","i8k2uhhcRILm","W73cLmomwW","W53dKCoh","fmkHW4LIlq","W6RcHmowrSkx","WOLKW5FdJmodW79vWOBdNSk3cCoxW78K","W7NcHmohrW","yre6WOlcLg/cKerMlCk1W78","W51aWQ7cGCk2WOdcVGW","WQ/cLwRcPLnrW5dcLmoq","W7pdGCkiBa","WRFcKCkHW7O2W4a","WOPYn0asWP7dSCoU","W73dTmkm","W5NdI8kxDXO","mCkOW413WOpcMSkRW4yv","WQxdISkramoX","WPhcM8k+WQRcNSohW7VdTLn0WRyfxG","WRlcKCkPW64RW4BcTmo9wrn/","WQRdGSkBg8oe","uSk9WQftC1ldMa","W4jkWRxcGSkyWPS","m8osW4jVj8o7qSkUWRlcK1mN","WOCMsX8","W7dcM8o3sSkA","W6JdKZddPWyrWO3cOCogdmoSbSkm","WRRdQWXuySkN","le3dKctcOW","WQJcR3hcSua","k8kHWPbtqW","W4O6mSkW","ctBdPmkGWQHSWOu/WPVdM8kY","W6jZiJJcLSoAf8kpFulcHKxcHq","e8kIW6NdHG","W5vckmoGWP0","WQ/dNJRdO0nso8obW5yTWQq","W4XaWRlcKq","W73cMmoysSkhWOXlW7O7wSk1","fCo4W6f3fG","WQxdU2T1WOBcPrNcH3u","umklW4zggmktgq","WQxdGHxdO1W","vmkYp0HSru3dKSoYW7G","W5uzWRVcQmo4W4y","o8kcW692WQ4","cGrZCSkh","WPfVhKa","W40MjCkSWOG","W73cG8ovqCkhWQnlW6aOyW","WRZcOGa","W7bZkItcHSo8bmkKFuBcMW","WOdcIt9plW","fqH+yCkhtG","WQNdNrJdR0DwlG","fCkOW4D1","imkCW51eia","gHLnuSk8","AM/dNXdcGdddNa","WOebFWTx","WORcRvdcLfy","W4uZWOjpdxFcPbPyELD5ja","W5tdQmkVsGa","W6xdUJZdM3C","o0ZdLs3cTbJdVYS","o8oXbG4fW74jW49vW4reWPxdMNyS","WOfIW5CouW","W67dH8o9WQ1MWOtdOCkyFGbtvttcVG","nCosW4DjkG","WPyMvW9RDGlcPe/cKq","W4y5DSouhG","WQCYo8kzcSkyyJy","rmk7ofCLre3dJG","cColndq","WR3cQmoeaetcSCkUkSkHW5FcTKmO","W5qyWQtcNSkv","ndS9tCkV","h8omkdi1","W7ddTdZdGwa","W5fimmoCWPVdVXKg","W5HaWQS","bmkQWRvZqa","WPBdGSkDg8oWWORcRxaiga","W4bFW6aZCatdHa","jSkSthFcMc5cW5q","jSkiW4jz","W63dLJVdPWKsWO/cVSoBjSogcCkM","hmosiIOGW5uOW6L8","WPpdKvjt","W7eWbmkFba","m8kRq2FcPdb3W4hdOg3dGL/dPW","lCkeW61eWRNcVCklW78X","W6RdRSkoqbFdRCoU","omkfqv7cLq","W4xdJCoxWPyA","W4ddI8ogWOWw","fNVdTW","W7ddU8kZsWiuWQdcICkLzCo3","W54jWQdcVCo1W5Xj","WR4YoW","W5aYWOVcM8ktWRS","eCoBlJSPW5u","WO7cHd5pcsVcNSorWPpcHq","W6RcNSoAw8kvWQzeW7e/","b3VdRmo6W7W","uSklk18X","W4q4qqhdMamShSkRxSozW73dJa","W6dcGSoKq8kvWRzdW7OQ","WRlcLwxcT1vr","WQNcHeRcOvK","W4NdP8k6xq8","W4C9WObiaNtcOsbvBxHzpq","jK54W73dHdNdJuv3p8kZW7ldTq","i8kStMZcUq","W7n+odNcJSokeCkV","WRlcS1JcLfu","WRKOjCkJcSkd","W5vFiCoUWPVdUW","bCkLW5fepmkOk8k9","WR4pC8kOW6zYWQXuWOpcJG","WRRcIwBcSq","WOL+mgmkWP7dVmofkeH+","mmouW5ztjG","WQnHaa","aCkQWRDOywRdGmkIBq","WP/dTqNdRKe","W5n5cuS","WQGpBSk1W4v+WQPD","WPRcVmkXW60t","eCkYW7VdJwSIWPWWWOiql8oJEJZdSKJcHeNdKJC7W5tcTmkucG","jYeXtSkQqM/cGCoDW4Tz","csdcJhyzW5yPWQuYhuiwW7r+WRa","WQtdHmkFcSofWQJcOxCsade","W6v1lYlcIG","WRJdOCk1gCoq"];return(_0x1058=function(){return e})()}let _k=0;const buildBoardElements=()=>{const e=_0x160ecd,t={uXzdp:function(e,t,W,o){return e(t,W,o)},qHFpk:function(e,t){return e-t},PPkEh:function(e,t){return e*t},gLBDT:function(e,t){return e<t},UgboG:function(e,t){return e+t},BONwH:function(e,t){return e*t}},W=[],o={x:0};o.y=BOARD_DEPTH,o.width=BOARD_W,o[e(314,"sUb(")]=BOARD_W,o.r=isTablet?20:16,o[e(164,"VV^d")]=_0x4911ea.BOARD_FRONT,W.push(_0x24233(RoundedRect,o,_k++));const n={x:0,y:0};n[e(188,"t*m)")]=BOARD_W,n[e(296,"UGc^")]=BOARD_W,n.r=isTablet?20:16,n[e(279,"8)RK")]=_0x4911ea[e(162,"#0[Y")],W[e(207,"75Ut")](t[e(289,"F%nd")](_0x24233,RoundedRect,n,_k++));const d={x:4,y:2};d[e(216,"ZVGR")]=BOARD_W-8,d[e(222,"2v7^")]=3,d[e(226,"UgAJ")]=_0x4911ea[e(187,"C3#w")],d.opacity=.5,W[e(195,"C3#w")](_0x24233(Rect,d,_k++));const _=t[e(181,"F%nd")](BOARD_PAD,4);W[e(336,"lkC[")](_0x24233(RoundedRect,{x:_,y:_,width:BOARD_W-t[e(317,"b1ox")](_,2),height:BOARD_W-2*_,r:isTablet?14:10,color:_0x4911ea[e(281,"JJ*K")]},_k++));for(let o=0;t[e(265,"er3O")](o,GRID_SIZE);o++)for(let n=0;t.gLBDT(n,GRID_SIZE);n++){const d=t[e(319,"vaw5")](WELL_X,n*CELL_STRIDE),_=WELL_Y+t[e(167,"(y)!")](o,CELL_STRIDE),r={};r.x=d,r.y=_,r[e(255,"Xvi]")]=TILE_SIZE,r[e(263,"er3O")]=TILE_SIZE,r.r=TILE_R,r[e(192,"y7T(")]=_0x4911ea[e(269,"bC&W")],W.push(t[e(227,"%Dhy")](_0x24233,RoundedRect,r,_k++))}return W},BOARD_ELEMENTS=buildBoardElements(),TILE_TEMPLATES={};for(let e=1;e<=8;e++){const t=getTile3DColors(e),W={x:0};W.y=TILE_DEPTH,W.width=TILE_SIZE,W[_0x160ecd(324,"V@^l")]=TILE_SIZE,W.r=TILE_R,W[_0x160ecd(185,"im$F")]=t.frontBottom;const o={};o.x=TILE_SIZE-3,o.y=TILE_DEPTH+2,o.width=3,o[_0x160ecd(166,"6]Wp")]=TILE_SIZE-4,o[_0x160ecd(185,"im$F")]=t.side,o.opacity=.6;const n={x:0,y:0};n[_0x160ecd(274,"iz[k")]=TILE_SIZE,n.height=TILE_SIZE,n.r=TILE_R,n[_0x160ecd(261,"Oo8N")]=t[_0x160ecd(199,"C3#w")];const d={x:6,y:2};d[_0x160ecd(275,"Oo8N")]=TILE_SIZE-12,d[_0x160ecd(223,"C3#w")]=2,d[_0x160ecd(235,"JZVA")]=t[_0x160ecd(325,"hlH(")],d.opacity=.7;const _={x:2,y:6,width:2};_[_0x160ecd(299,"197c")]=TILE_SIZE-12,_[_0x160ecd(164,"VV^d")]=t[_0x160ecd(310,"197c")],_[_0x160ecd(286,"(y)!")]=.4,TILE_TEMPLATES[e]={children:[_0x24233(RoundedRect,W,_k++),_0x24233(Rect,o,_k++),_0x24233(RoundedRect,n,_k++),_0x24233(Rect,d,_k++),_0x24233(Rect,_,_k++)]}}const TILE_KEYS=[];for(let e=0;e<9;e++)TILE_KEYS.push(_k++);const StaticBoardCanvas=_0x137028[_0x160ecd(297,"VV^d")](()=>{const e=_0x160ecd,t=_0x25f1f6(1);let W;if(t[0]===Symbol[e(172,"UGc^")](e(251,"lkC["))){const o={};o[e(301,"Oo8N")]=canvasStyles[e(272,"wE(J")],o[e(292,"@C2)")]=BOARD_ELEMENTS,W=_0x24233(Canvas,o),t[0]=W}else W=t[0];return W});function _0x4584(e,t){e-=158;const W=_0x1058();let o=W[e];if(void 0===_0x4584.qLYgZK){const e=function(e,t){let W,o,n=[],d=0,_="";for(e=function(e){let t="",W="";for(let W,o,n=0,d=0;o=e.charAt(d++);~o&&(W=n%4?64*W+o:o,n++%4)?t+=String.fromCharCode(255&W>>(-2*n&6)):0)o="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(o);for(let e=0,o=t.length;e<o;e++)W+="%"+("00"+t.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(W)}(e),o=0;o<256;o++)n[o]=o;for(o=0;o<256;o++)d=(d+n[o]+t.charCodeAt(o%t.length))%256,W=n[o],n[o]=n[d],n[d]=W;o=0,d=0;for(let t=0;t<e.length;t++)o=(o+1)%256,d=(d+n[o])%256,W=n[o],n[o]=n[d],n[d]=W,_+=String.fromCharCode(e.charCodeAt(t)^n[(n[o]+n[d])%256]);return _};_0x4584.lCdDjD=e,_0x4584.FFcCEX={},_0x4584.qLYgZK=!0}const n=W[0];_0x4584.OtBAcU!==n&&(_0x4584.FFcCEX={},_0x4584.OtBAcU=n);const d=_0x4584.FFcCEX[e];return void 0===d?(void 0===_0x4584.pgSIJN&&(_0x4584.pgSIJN=!0),o=_0x4584.lCdDjD(o,t),_0x4584.FFcCEX[e]=o):o=d,o}StaticBoardCanvas.displayName="StaticBoardCanvas";const TilesCanvas=_0x137028.memo(()=>{const e=_0x160ecd,t={gtZTS:function(e,t){return e+t},TIDJa:function(e,t){return e*t},EHypM:function(e,t){return e===t},tOydp:function(e,t){return e*t},QUMQA:function(e,t){return e(t)},DFfXI:function(e,t,W,o){return e(t,W,o)},oXyAb:function(e,t,W){return e(t,W)},YXpbo:"bold",udBti:e(283,"@C2)"),LdIOq:function(e,t){return e<=t},lOFbn:function(e,t){return e/t},LqbOb:function(e,t){return e-t},ZDMEy:"none"},W=useTilesVersion(),o=useRef(null);if(null===o[e(303,"JZVA")])if("pAavP"===e(322,"vaw5"))for(let t=0;t<_0x243ce6;t++){const W=HHbMyZ[e(179,"9Pmt")](_0x133ccc,HHbMyZ.TIDJa(t,_0x1d9119)),o=_0x227842+_0x1e87c6*_0x273d1a,n={};n.x=W,n.y=o,n[e(232,"nX@4")]=_0x58f30f,n[e(260,"b1ox")]=_0x268037,n.r=_0x12038c,n[e(337,"G$P(")]=_0x1401d1.SLOT_BG,_0x243285[e(309,"A1UG")](_0x441849(_0x23fa3c,n,_0x6e5189++))}else{const W={};W[e(298,"9Pmt")]=FONT_FAMILY,W.fontSize=NUMBER_FONT_SIZE,W[e(241,"er3O")]=t[e(247,"VV^d")],W.fontStyle=t[e(231,"dtY(")];const n=matchFont(W),d={};d[e(204,"vaw5")]=FONT_FAMILY,d[e(206,"JZVA")]=WORD_FONT_SIZE,d[e(191,"F%nd")]="normal",d[e(246,"1(9o")]=e(278,"2v7^");const _=t[e(198,"ifZ6")](matchFont,d),r={};for(let W=1;t[e(332,"1(9o")](W,8);W++){const o=W.toString(),d=NUMBER_WORDS[W]||"",a=n[e(321,"sUb(")](o)[e(170,"wE(J")],s=_.measureText(d)[e(244,"hlH(")];r[W]={numStr:o,word:d,numWidth:a,wordWidth:s,numX:t[e(197,"2v7^")](TILE_SIZE-a,2),wordX:t[e(295,"lkC[")](TILE_SIZE,s)/2}}const a={};a.numberFont=n,a[e(311,"V@^l")]=_,a.tileData=r,o[e(220,"6]Wp")]=a}const n=useMemo(()=>{const W=e,n=useSlidingNumbersStore[W(315,"bC&W")]()[W(330,"Oo8N")],{numberFont:d,wordFont:_,tileData:r}=o[W(303,"JZVA")],a=[];for(let e=0;e<n.length;e++){const o=n[e];if(t[W(250,"sUb(")](o[W(306,"#2jD")],0))continue;const s=WELL_X+t.TIDJa(o.col,CELL_STRIDE),i=WELL_Y+t[W(331,"dtY(")](o[W(218,"UgAJ")],CELL_STRIDE),x=TILE_TEMPLATES[o[W(306,"#2jD")]],S=t[W(264,"q[g$")](getTile3DColors,o[W(178,"75Ut")]),u=r[o[W(211,"iz[k")]],R={};R[W(171,"A1UG")]=s;const f={};f.translateY=i;const l={};l.x=u.numX,l.y=.52*TILE_SIZE,l[W(210,"#0[Y")]=u[W(238,"8)RK")],l[W(169,"l9eD")]=d,l[W(203,"1(9o")]=S[W(230,"dtY(")];const m={};m.x=u[W(262,"ifZ6")],m.y=.74*TILE_SIZE,m[W(304,"A1UG")]=u[W(326,"F%nd")],m[W(159,"V@^l")]=_,m[W(257,"sUb(")]=S.number,m[W(176,"VV^d")]=.8,a[W(333,"wE(J")](t[W(284,"l9eD")](_0x1446e6,Group,{transform:[R,f],children:[x[W(194,"%Dhy")],t.oXyAb(_0x24233,_0x11b69b,l),_0x24233(_0x11b69b,m)]},TILE_KEYS[o.id]))}return a},[W]),d={};return d[e(273,"@C2)")]=canvasStyles[e(160,"A1UG")],d[e(335,"Xvi]")]=t[e(174,"UGc^")],d[e(186,"Oo8N")]=n,_0x24233(Canvas,d)});TilesCanvas.displayName=_0x160ecd(254,"vaw5");export const NumbersGrid=_0x137028[_0x160ecd(267,"wE(J")](({soundEnabledRef:e,hapticEnabledRef:t})=>{const W=_0x160ecd,o={RYpCR:function(e){return e()},VMXAf:function(e){return e()},ucHit:function(e,t,W){return e(t,W)},ddwEr:function(e,t){return e-t},yjCen:function(e,t){return e-t},jfqcg:function(e,t){return e<t},RESPX:function(e,t){return e/t},HLFvf:function(e,t){return e(t)}},n=useRef(!1),d=o[W(256,"vaw5")](useSharedValue,1);useEffect(()=>{const e=W,t={pHvaG:function(e,t,W){return e(t,W)},nSPAe:function(e,t,W){return o.ucHit(e,t,W)}};n.current=useSlidingNumbersStore[e(201,"G$P(")]()[e(276,"t*m)")];const _=useSlidingNumbersStore[e(294,"75Ut")](t=>t[e(229,"A1UG")],e=>{n.current=e}),r=useSlidingNumbersStore[e(312,"dtY(")](t=>t[e(158,"VV^d")],W=>{const o=e;W&&(d.value=t.pHvaG(withSequence,t[o(237,"dtY(")](withTiming,_0x43a7ca[o(291,"y7T(")],{duration:200,easing:Easing[o(305,"ZVGR")](Easing.cubic)}),withTiming(1,{duration:200,easing:Easing.inOut(Easing[o(307,"A1UG")])})))});return()=>{const t=e;o[t(287,"kk%m")](_),o[t(182,"dtY(")](r)}},[d]);const _={};_.scale=d[W(200,"im$F")];const r=useAnimatedStyle(()=>({transform:[_]})),a=useRef((d,_)=>{const r=W;if(!n.current)return;const a=o[r(290,"y7T(")](d,WELL_X),s=o[r(327,"A1UG")](_,WELL_Y);if(o[r(184,"nX@4")](a,-HIT_MARGIN)||s<-HIT_MARGIN)return;const i=Math[r(288,"Oo8N")](o[r(161,"hlH(")](a+HIT_MARGIN,CELL_STRIDE)),x=Math[r(215,"wNUB")](o[r(300,"75Ut")](s+HIT_MARGIN,CELL_STRIDE));if(x<0||x>=GRID_SIZE||i<0||i>=GRID_SIZE)return;const S=useSlidingNumbersStore.getState()[r(268,"eby*")][r(242,"dtY(")](e=>e[r(202,"V@^l")]===x&&e[r(259,"1(9o")]===i&&0!==e.value);S&&useSlidingNumbersStore[r(240,"#2jD")]()[r(280,"(ZjT")](S.id)&&(playSound(GAME_SOUNDS[r(253,"@C2)")][r(313,"nX@4")],e[r(293,"JJ*K")]),playHaptic(HapticType.LIGHT,t[r(285,"75Ut")]))}),s=useMemo(()=>Gesture[W(245,"l9eD")]().onEnd(e=>{runOnJS(a[W(214,"b1ox")])(e.x,e.y)}),[]),i={};i[W(168,"9Pmt")]=CANVAS_W,i.height=CANVAS_H;const x=useMemo(()=>[styles[W(225,"A1UG")],i,r],[r]);return _0x24233(GestureDetector,{gesture:s,children:_0x1446e6(_0x436afc.View,{style:x,children:[_0x24233(StaticBoardCanvas,{}),_0x24233(TilesCanvas,{})]})})});const _0x4c4ebe={};_0x4c4ebe[_0x160ecd(249,"er3O")]="absolute",_0x4c4ebe[_0x160ecd(258,"QlFj")]=0,_0x4c4ebe.left=0,_0x4c4ebe[_0x160ecd(277,"q[g$")]=CANVAS_W,_0x4c4ebe[_0x160ecd(175,"9Pmt")]=CANVAS_H;const _0x4f35e0={};_0x4f35e0[_0x160ecd(193,"8)RK")]=_0x160ecd(236,"Xvi]"),_0x4f35e0[_0x160ecd(316,"b1ox")]=0,_0x4f35e0[_0x160ecd(177,"(y)!")]=0,_0x4f35e0.width=CANVAS_W,_0x4f35e0[_0x160ecd(175,"9Pmt")]=CANVAS_H;const _0x1ca7e6={};_0x1ca7e6[_0x160ecd(173,"Xvi]")]=_0x4c4ebe,_0x1ca7e6.tilesCanvas=_0x4f35e0;const canvasStyles=StyleSheet[_0x160ecd(329,"eby*")](_0x1ca7e6),_0x1b5a90={width:0,height:6},_0x245392={};_0x245392.shadowColor=_0x160ecd(248,"F%nd"),_0x245392.shadowOffset=_0x1b5a90,_0x245392[_0x160ecd(212,"JZVA")]=.35,_0x245392.shadowRadius=12;const _0x5cd2f4={};_0x5cd2f4[_0x160ecd(209,"C3#w")]=12;const _0x4d080a={alignSelf:_0x160ecd(282,"dtY("),..."ios"===Platform.OS?_0x245392:_0x5cd2f4},_0x44a0fe={};_0x44a0fe.container=_0x4d080a;const styles=StyleSheet[_0x160ecd(239,"G$P(")](_0x44a0fe);NumbersGrid[_0x160ecd(243,"bC&W")]=_0x160ecd(219,"nX@4");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x339076=_0x126e;!function(){const e="!gb%",o=_0x126e,t=_0x22e5();for(;;)try{if(516369==-parseInt(o(378,e))/1+parseInt(o(374,"A[a7"))/2+-parseInt(o(359,"s1Su"))/3*(parseInt(o(368,"^w8)"))/4)+parseInt(o(365,"ebRN"))/5+parseInt(o(372,"*l$R"))/6*(-parseInt(o(376,"xt%X"))/7)+parseInt(o(367,"8)GP"))/8+parseInt(o(363,e))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();import{c as _0x2ccba1}from"react/compiler-runtime";import _0x207106 from"react";import{useTimeLeft}from"../SlidingNumbersStore.js";import{ScoreBoardContainer,ScoreTimer}from"../../../helpers/index.js";import{jsx as _0x3f8879}from"react/jsx-runtime";export const ScoreBoard=_0x207106.memo(e=>{const o=_0x126e,t={yqHJE:function(e,o){return e(o)},ECumx:function(e){return e()},nMDei:function(e,o){return e!==o},jeaOE:function(e,o,t){return e(o,t)},vSOlh:function(e,o){return e!==o}},r=t[o(371,"6^N0")](_0x2ccba1,5),{offset:n}=e,f=void 0===n?0:n,W=t[o(361,"CXTe")](useTimeLeft);let i,s;if(t[o(369,"A7y1")](r[0],W)){const e={};e[o(375,"1o[^")]=W,i=t.jeaOE(_0x3f8879,ScoreTimer,e),r[0]=W,r[1]=i}else i=r[1];if(t.vSOlh(r[2],f)||r[3]!==i){const e={};e[o(373,"0hG%")]=f,e[o(370,"Kzs^")]=i,s=_0x3f8879(ScoreBoardContainer,e),r[2]=f,r[3]=i,r[4]=s}else s=r[4];return s});function _0x22e5(){const e=["WOpdUbz5WQj0qH3cG8oqbmkr","fcXCW7u4vmofW4GOnLDDsq","W7/dLCokWOHGeudcImoAhmob","pSkQx3FdHG","W6OMwmkLWRRcTCkyWRC","WPpdKCkCW5SC","WR8VW7zerSkfbq","g1tcJ8owg8ke","W43cICoaW7y6W7pcVMfkrColf8kV","W7yoW6XiBSowW7S","W6bTl8kEa3KUW4tcG01DWPhdOW","yCogW67cVebtW6X+WQz2hW","jG/cRKzwyhNdUw8UW49W","W60SW7joxSkWpKVdHmobqq","z8ovlshcMqWfWQRcGbFcNq3dTa","WQXZaSk0u8kNe0Dmyq","W5H2WQxcGgZcGf/dI8kn","WO/dSXv7W7ehtJNcT8or","eCotW4xdVbC","W6upwCkep1C+","jqtcR0DyzX3dMKyMW49mWPO","hCkUo1tdNuBcVSovW4j1ng3dSa","W4ZdSmolW6zqW6lcJvZcONe"];return(_0x22e5=function(){return e})()}function _0x126e(e,o){e-=356;const t=_0x22e5();let r=t[e];if(void 0===_0x126e.zbKodJ){const e=function(e,o){let t,r,n=[],f=0,W="";for(e=function(e){let o="",t="";for(let t,r,n=0,f=0;r=e.charAt(f++);~r&&(t=n%4?64*t+r:r,n++%4)?o+=String.fromCharCode(255&t>>(-2*n&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(let e=0,r=o.length;e<r;e++)t+="%"+("00"+o.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(t)}(e),r=0;r<256;r++)n[r]=r;for(r=0;r<256;r++)f=(f+n[r]+o.charCodeAt(r%o.length))%256,t=n[r],n[r]=n[f],n[f]=t;r=0,f=0;for(let o=0;o<e.length;o++)r=(r+1)%256,f=(f+n[r])%256,t=n[r],n[r]=n[f],n[f]=t,W+=String.fromCharCode(e.charCodeAt(o)^n[(n[r]+n[f])%256]);return W};_0x126e.jvTDqU=e,_0x126e.bTPGeR={},_0x126e.zbKodJ=!0}const n=t[0];_0x126e.DVSnjf!==n&&(_0x126e.bTPGeR={},_0x126e.DVSnjf=n);const f=_0x126e.bTPGeR[e];return void 0===f?(void 0===_0x126e.HhRfyZ&&(_0x126e.HhRfyZ=!0),r=_0x126e.jvTDqU(r,o),_0x126e.bTPGeR[e]=r):r=f,r}ScoreBoard[_0x339076(356,"*l$R")]=_0x339076(358,"Q9I$");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x2cea2a=_0x577e;function _0x577e(W,e){W-=179;const t=_0xa3b9();let o=t[W];if(void 0===_0x577e.JgRwBO){const W=function(W,e){let t,o,a=[],n=0,r="";for(W=function(W){let e="",t="";for(let t,o,a=0,n=0;o=W.charAt(n++);~o&&(t=a%4?64*t+o:o,a++%4)?e+=String.fromCharCode(255&t>>(-2*a&6)):0)o="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(o);for(let W=0,o=e.length;W<o;W++)t+="%"+("00"+e.charCodeAt(W).toString(16)).slice(-2);return decodeURIComponent(t)}(W),o=0;o<256;o++)a[o]=o;for(o=0;o<256;o++)n=(n+a[o]+e.charCodeAt(o%e.length))%256,t=a[o],a[o]=a[n],a[n]=t;o=0,n=0;for(let e=0;e<W.length;e++)o=(o+1)%256,n=(n+a[o])%256,t=a[o],a[o]=a[n],a[n]=t,r+=String.fromCharCode(W.charCodeAt(e)^a[(a[o]+a[n])%256]);return r};_0x577e.llOzxY=W,_0x577e.zEFNPB={},_0x577e.JgRwBO=!0}const a=t[0];_0x577e.zEHVfo!==a&&(_0x577e.zEFNPB={},_0x577e.zEHVfo=a);const n=_0x577e.zEFNPB[W];return void 0===n?(void 0===_0x577e.ZMINeO&&(_0x577e.ZMINeO=!0),o=_0x577e.llOzxY(o,e),_0x577e.zEFNPB[W]=o):o=n,o}!function(){const W=_0x577e,e=_0xa3b9();for(;;)try{if(658679==-parseInt(W(247,"Wmh@"))/1*(-parseInt(W(241,"o7@l"))/2)+parseInt(W(184,"TRF5"))/3+-parseInt(W(224,"@hfa"))/4*(parseInt(W(215,"aem^"))/5)+parseInt(W(182,"m0!9"))/6*(parseInt(W(254,"m0!9"))/7)+-parseInt(W(251,"6Uo@"))/8*(-parseInt(W(211,"wpnO"))/9)+-parseInt(W(213,"Szxg"))/10+-parseInt(W(240,"*N!J"))/11)break;e.push(e.shift())}catch(W){e.push(e.shift())}}();import{SNAKE_3D_GAME_CONFIG,DIRECTIONS}from"./Snake3DConstants.js";function _0xa3b9(){const W=["W7tdUafXkmoW","W4/dGmojiquHW59AsCo6W5HVW6VcMdZcSrpcMG","WODqxSkyjW","hKlcGw8qW7G","o8ksW5FcS1dcUftcU8oSdmos","cSoeeauBbCkrW5NdHeugWO/dLSoB","WQmCtWJdKCoJW7jdW5RcNG","W7yIbJddRSkJkxxdOSoGAmojWRqqeSk9sY9DW4hdGbSS","eYKkW4BcVM4rW4zG","s8oMWRFdVtC","AtfOnhtcSSkoW4H7","ihaYW67dNCoemMyPW5W","WQCSB8ktWQmNWRDPWONdVG","oWFdL8oSWRDmACkNsmkFkSocr8oSWPVdTSoLW7/dV2yt","zCoLqdZcNJHVW5ldQCk1WQHhy37dG8opE8o9A1i","kmkTW7OAoa","W5HpWQG9W4pdRCk7oSoN","WOakW4mNW7ddISkZfCoE","hc/dVCojWOTJxCkFECkvfSoGymof","w2umWPjbWRavwNhdUsldLhu","WQeRAeO","WRlcS8kMdt4k","W53cUmkrW4ddVmoCFSkvWPnVWRTAW7a","z8knW7WnW6tdNJCdcqRcKhNdPSkeWPHUhCkSWRFdUSkS","vIH4pa","vdzscv9WW5ifmW","wwD2W6aEW6zarq","d8o3W6ldTqj4zYldK3lcLCkjWQy","p3tdQvvKWQjgW4/cKHDJbdK","qs1Cbvq","W4nnWOfT","WQWQDLalbSonWPamWP5kWOVcLCoOW6efWO0MWOlcUa","BCklqCkT","ds7cTbfhWRa","cSk7W7S4c2ddSCktWPC","cmkDpSoDva","kqRcIGfH","BYVcTq8/W5WqW4BcVXLNpGvaWRVcTfjG","tY5yjb/cQW0WWR7cGmoSW4pdRSkaWOvCiCoDeCo8","obZdMmoUWQfCDCkXwq","dCk4WRZdJh4","w1JcHZK+W5CaaeS","W7pdRI9KdCo9W7fRmfzUEGRdQmkqzeZdOSkVW6vvW5W","wSorW4buW6enlHSnW4e","E8kSW6bCwtpcT8o0WQFdPmkRWQJcOH8qWRyh","zCoyW54eWRpcMYJcOmkQ","FctcTmkEW6hcTq3dV8os","W6bngv7dN8oK","B8ofW4CwWRpcMYJcOmkQ","WP3cKCkEdGegW5n0tG","fsXeygVdT8kiW4RcGNZcK8kbW5PZ","qNatnY0","k3hcPK8GW4BcJSkTwa","WOtcT8oRWPD9","BgtdVsPqW6K","bHxdH2L5W5W1g1GBEG","W5DnWP9TkN9Px2FdVSkiv8orqsq","f1OuqrZdMmo3W4HwC8k+DCo8","lJtdN8oPWPa","nCk5b0ldNJXnW6NdL8khWQm","W5PqemoZ","W6RdQaPT","qWbmWPldNG","zWiUW7vT","W5rwDeuLiCoLWQu","Es3cOWq9W7Wl","t8kHCa","E8ooFLac","W5/cTSkAWRxcO8kukSkXWRe","eXuYW4NcOa","p8kBjajxWRj9n0qSWR8","zrndh2G","hcBdTmojWPvCwCkhESkfgSoJFSojWRZdLSoAW50","W79MbCoxWPepWRnpWQS","CCocWPtdRXhcN3BcOSoKfColWOvwvq","W4GinWRdS8ku","BCo4uwyg","oLfwnKxdNG","ifqQFJGtWQOQlSoCWORdNvi"];return(_0xa3b9=function(){return W})()}const _0x3a028a={};_0x3a028a.UP=_0x2cea2a(255,"cErm"),_0x3a028a[_0x2cea2a(186,"mOQ2")]="UP",_0x3a028a[_0x2cea2a(188,"A5Eb")]=_0x2cea2a(218,"(qMh"),_0x3a028a[_0x2cea2a(185,"DpW^")]=_0x2cea2a(216,"Wmh@");const OPPOSITES=_0x3a028a;export class Snake3DService{[_0x2cea2a(256,"j(4D")]=1;initializeSnake(){const W=_0x2cea2a,e=Math[W(191,"Ubf$")](SNAKE_3D_GAME_CONFIG[W(190,"Xl0y")]/2),t=Math[W(209,"ca$d")](SNAKE_3D_GAME_CONFIG.GRID_SIZE/2),o=[];for(let a=0;a<SNAKE_3D_GAME_CONFIG[W(187,"cErm")];a++){const n={};n.id=this[W(210,"yKeV")]++,n.x=e-a,n.y=t,o[W(217,"b)FF")](n)}return o}generateFood(W,e=!1){const t=_0x2cea2a,o={};o[t(250,"Xl0y")]=function(W,e){return W*e},o[t(244,"fXHI")]=function(W,e){return W*e};const a=o;let n,r=0;do{n={x:Math.floor(a[t(225,"s7AK")](Math[t(238,"S!9&")](),SNAKE_3D_GAME_CONFIG[t(245,"Szxg")])),y:Math[t(207,"XJ&i")](a[t(192,"#h2f")](Math[t(203,"o7@l")](),SNAKE_3D_GAME_CONFIG[t(208,"S!9&")]))},r++}while(r<100&&this[t(200,"q[eW")](n,W));const d={};d.id=this[t(231,"kJFt")]++,d.x=n.x,d.y=n.y,d[t(229,"Wmh@")]=e;const x=d;return e&&(x.expiresAt=Date[t(222,"A5Eb")]()+SNAKE_3D_GAME_CONFIG[t(179,"Ym8*")]),x}[_0x2cea2a(200,"q[eW")](W,e){return e.some(e=>e.x===W.x&&e.y===W.y)}[_0x2cea2a(201,"ckek")](W,e){const t=_0x2cea2a,o=W[0];if(!o)return W;const a=DIRECTIONS[e],n={};n.id=this[t(256,"j(4D")]++,n.x=o.x+a.x,n.y=o.y+a.y;const r=n,d=W.slice(0,-1);return d[t(221,"TRF5")](r),d}[_0x2cea2a(236,"^Yh7")](W){const e=_0x2cea2a,t={};t[e(196,"aIxF")]=function(W,e){return W>=e};const o=t;return W.x<0||W.x>=SNAKE_3D_GAME_CONFIG[e(195,"t)Z6")]||W.y<0||o[e(214,"t)Z6")](W.y,SNAKE_3D_GAME_CONFIG[e(181,"DpW^")])}[_0x2cea2a(228,"t)Z6")](W){const e=_0x2cea2a,t=W[0];if(!t)return!1;for(let o=1;o<W[e(189,"#h2f")];o++){const e=W[o];if(e&&t.x===e.x&&t.y===e.y)return!0}return!1}[_0x2cea2a(193,"TRF5")](W,e){const t=_0x2cea2a,o={};return o[t(237,"8[!l")]=function(W,e){return W===e},o[t(232,"Xr(X")](W.x,e.x)&&W.y===e.y}[_0x2cea2a(204,"ckek")](W){const e=_0x2cea2a,t={};t[e(227,"Szxg")]=function(W,e){return W-e};const o=W[t[e(219,"qF)d")](W.length,1)];if(!o)return W;const a={};a.id=this[e(233,"hss3")]++,a.x=o.x,a.y=o.y;const n=a,r=W[e(223,"Xr(X")]();return r[e(180,"od)H")](n),r}[_0x2cea2a(198,"b)FF")](W,e){return OPPOSITES[W]!==e}[_0x2cea2a(249,"aem^")](W){return OPPOSITES[W]}[_0x2cea2a(230,"fXHI")](){this[_0x2cea2a(235,"b)FF")]=1}[_0x2cea2a(194,"od)H")](W){const e=_0x2cea2a;return!(!W[e(252,"6Uo@")]||!W[e(197,"wpnO")])&&Date.now()>W[e(243,"s7AK")]}[_0x2cea2a(253,"t)Z6")](W){const e=_0x2cea2a;return(W?SNAKE_3D_GAME_CONFIG[e(242,"kJFt")]:SNAKE_3D_GAME_CONFIG[e(212,"mOQ2")])*SNAKE_3D_GAME_CONFIG[e(248,"t)Z6")].medium}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x3eaf35=_0x254a;!function(){const e=_0x254a,W=_0xa347();for(;;)try{if(847754==parseInt(e(157,"OG!S"))/1+-parseInt(e(291,"W88["))/2*(-parseInt(e(294,"[37o"))/3)+parseInt(e(269,")Xxl"))/4*(parseInt(e(168,"fP1A"))/5)+-parseInt(e(155,"t](@"))/6*(parseInt(e(234,"OG!S"))/7)+parseInt(e(206,"Ngr0"))/8+parseInt(e(220,"DpAV"))/9*(parseInt(e(254,"gj6K"))/10)+parseInt(e(238,"W88["))/11*(-parseInt(e(162,"j5@u"))/12))break;W.push(W.shift())}catch(e){W.push(W.shift())}}();import{create}from"zustand";import{subscribeWithSelector}from"zustand/middleware";import{immerMiddleware}from"../../services/UtilsService.js";function _0x254a(e,W){e-=147;const o=_0xa347();let n=o[e];if(void 0===_0x254a.wKoNpR){const e=function(e,W){let o,n,t=[],r=0,a="";for(e=function(e){let W="",o="";for(let o,n,t=0,r=0;n=e.charAt(r++);~n&&(o=t%4?64*o+n:n,t++%4)?W+=String.fromCharCode(255&o>>(-2*t&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);for(let e=0,n=W.length;e<n;e++)o+="%"+("00"+W.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(o)}(e),n=0;n<256;n++)t[n]=n;for(n=0;n<256;n++)r=(r+t[n]+W.charCodeAt(n%W.length))%256,o=t[n],t[n]=t[r],t[r]=o;n=0,r=0;for(let W=0;W<e.length;W++)n=(n+1)%256,r=(r+t[n])%256,o=t[n],t[n]=t[r],t[r]=o,a+=String.fromCharCode(e.charCodeAt(W)^t[(t[n]+t[r])%256]);return a};_0x254a.nraZFw=e,_0x254a.njmCnG={},_0x254a.wKoNpR=!0}const t=o[0];_0x254a.cAwcEc!==t&&(_0x254a.njmCnG={},_0x254a.cAwcEc=t);const r=_0x254a.njmCnG[e];return void 0===r?(void 0===_0x254a.ovIrCq&&(_0x254a.ovIrCq=!0),n=_0x254a.nraZFw(n,W),_0x254a.njmCnG[e]=n):n=r,n}import{Snake3DService}from"./Snake3DService.js";import{SNAKE_3D_GAME_CONFIG}from"./Snake3DConstants.js";import{playSound,GAME_SOUNDS}from"../../services/SoundsService.js";import{playHaptic,HapticType}from"../../services/HapticsService.js";import{setGameInterval,clearGameInterval}from"../../helpers/GameTimer.js";const gameService=new Snake3DService;export const useSnake3DStore=create()(subscribeWithSelector(immerMiddleware((e,W)=>({snake:gameService[_0x3eaf35(301,"9XhW")](),food:null,direction:_0x3eaf35(164,"wD!p"),nextDirection:_0x3eaf35(149,"4[V)"),score:0,timeLeft:300,isPlaying:!1,isGameOver:!1,isPaused:!1,enableSounds:!0,enableHaptics:!0,moveTimer:null,countdownTimer:null,snakeVersion:0,foodVersion:0,lastAteFood:!1,collided:!1,startGame:()=>{const o=_0x3eaf35,n={egBrA:function(e){return e()},ZYXir:function(e){return e()},rSFwE:function(e,W){return e(W)},ggBaW:function(e,W){return e(W)}},t=n[o(148,"K2Hf")](W);t[o(233,"(noK")]&&n.rSFwE(clearGameInterval,t.moveTimer),t[o(310,"x!VN")]&&n[o(187,"o#s%")](clearGameInterval,t[o(226,"o#s%")]);const r=gameService[o(249,"j5@u")](t[o(236,"Ngr0")],!1),a=SNAKE_3D_GAME_CONFIG.GAME_SPEED[o(227,"OG!S")],i=setGameInterval(()=>{const e=o,t=n[e(260,"j5@u")](W);t.isPlaying&&!t.isPaused&&t[e(172,"owCf")]()},a),d=setGameInterval(()=>{const e=o,t=n[e(175,"K2Hf")](W);t.isPlaying&&!t[e(179,"9h1N")]&&t[e(237,"ulZL")]()},1e3);n[o(283,"fP1A")](e,e=>{const W=o,n=W(250,"ljk]").split("|");let t=0;for(;;){switch(n[t++]){case"0":e[W(255,"mCWp")]=!1;continue;case"1":e[W(230,"Q9r9")]=d;continue;case"2":e.moveTimer=i;continue;case"3":e[W(287,"9XhW")]=!1;continue;case"4":e[W(213,"[37o")]=!0;continue;case"5":e[W(154,"YrP$")]=!1;continue;case"6":e[W(201,"CMvt")]=r;continue;case"7":e.foodVersion+=1;continue}break}})},stopGame:()=>{const o=_0x3eaf35,n=W();n.moveTimer&&clearGameInterval(n[o(270,"#FFq")]),n[o(307,"sEH9")]&&clearGameInterval(n.countdownTimer),playHaptic(HapticType[o(165,"j5@u")],n[o(272,"TfF^")]),gameService[o(253,"x!VN")]();const t=gameService[o(264,"K2Hf")]();e(e=>{const W=o,n="0|12|4|7|14|5|9|3|6|13|11|1|2|8|10"[W(225,"AJ7D")]("|");let r=0;for(;;){switch(n[r++]){case"0":e[W(312,"k1Z7")]=t;continue;case"1":e[W(229,"Ngr0")]=0;continue;case"2":e[W(259,"W88[")]=0;continue;case"3":e[W(174,"CMvt")]=!1;continue;case"4":e[W(300,"]VUU")]="RIGHT";continue;case"5":e[W(262,"OG!S")]=300;continue;case"6":e[W(286,"54n4")]=!1;continue;case"7":e[W(277,"g66k")]=W(311,"j5@u");continue;case"8":e[W(288,"#PJA")]=!1;continue;case"9":e.isPlaying=!1;continue;case"10":e[W(268,"#PJA")]=!1;continue;case"11":e[W(297,"ljk]")]=null;continue;case"12":e.food=null;continue;case"13":e[W(150,"K2Hf")]=null;continue;case"14":e[W(304,"9h1N")]=0;continue}break}})},pauseGame:()=>{e(e=>{e[_0x254a(195,"sEH9")]=!0})},resumeGame:()=>{e(e=>{e[_0x254a(176,")KJp")]=!1})},resetGame:()=>{const e=_0x3eaf35;W()[e(190,"x[(y")]()},initializeGame:()=>{const o=_0x3eaf35,n={MHRIJ:function(e){return e()}}[o(298,"W88[")](W);n.moveTimer&&clearGameInterval(n[o(199,"]F5Y")]),n[o(289,"j5@u")]&&clearGameInterval(n[o(299,"owCf")]),gameService[o(221,"x[(y")]();const t=gameService.initializeSnake();e(e=>{const W=o;e[W(180,"OgDK")]=t,e[W(151,"i%o*")]=null,e.direction=W(303,")Xxl"),e[W(296,"ulZL")]=W(160,"g66k"),e[W(275,"K2Hf")]=0,e[W(267,"C0nD")]=300,e[W(191,"W88[")]=!1,e[W(209,"[AUI")]=!1,e.isPaused=!1,e.moveTimer=null,e[W(239,")KJp")]=null,e[W(200,")Xxl")]=0,e[W(185,"j5@u")]=0,e.lastAteFood=!1,e[W(271,"owCf")]=!1})},changeDirection:o=>{const n=_0x3eaf35,t=W();t[n(274,"4[V)")]&&!t[n(196,"6hzI")]&&gameService[n(163,"OG!S")](t[n(178,"AJ7D")],o)&&e(e=>{e[n(169,"]F5Y")]=o})},gameLoop:()=>{const o="OgDK",n="O*9x",t="#PJA",r=_0x3eaf35,a={mPoEO:function(e){return e()},UGKdU:function(e,W){return e<W},ACYtf:function(e,W){return e!==W},bpdir:r(235,"yhSR"),ITjfR:function(e,W){return e(W)},vEqTS:function(e,W,o){return e(W,o)}},i=a[r(184,"yhSR")](W);if(!i.isPlaying||i.isPaused||i[r(219,"z!0#")])return;const d=i.nextDirection,m=gameService[r(257,"TfF^")](i.snake,d),k=m[0];if(!k)return;const s=gameService[r(210,o)](k),S=!s&&gameService[r(258,n)](m),u=!s&&!S&&!!i[r(284,"wD!p")]&&gameService[r(170,"#PJA")](k,i[r(166,"[37o")]),l=u&&!!i[r(167,"AJ7D")]?.isSpecial;let f=null,C=0,p=null;if(u){f=gameService.growSnake(m),C=gameService[r(263,"[AUI")](i[r(217,"W88[")][r(273,"AJ7D")]);const e=a[r(305,"v7nB")](Math.random(),SNAKE_3D_GAME_CONFIG[r(156,t)]);p=gameService[r(280,"Ce89")](f,e)}let x=null;if(!u&&i[r(313,"h$bH")]&&gameService[r(182,"Ngr0")](i.food)&&(x=gameService[r(278,"#PJA")](u?f:m,!1)),s||S){if(a[r(242,"Q9r9")](a.bpdir,r(212,t)))return _0x51f88f[r(244,"fP1A")];i[r(282,"OG!S")]&&a[r(293,"@QK3")](clearGameInterval,i[r(173,"mCWp")]),i[r(302,"O*9x")]&&clearGameInterval(i[r(177,"z!0#")])}if(e(e=>{const W=r;if(e[W(216,"#FFq")]=d,e[W(198,"[37o")]=!1,e.collided=!1,s||S)return e.isGameOver=!0,e[W(186,"6hzI")]=!1,e[W(192,"YrP$")]=!0,e[W(248,"k1Z7")]+=1,e[W(183,"OgDK")]=null,void(e[W(299,"owCf")]=null);u&&f?(e[W(193,"4[V)")]=f,e[W(223,"gj6K")]+=C,e[W(171,"x[(y")]=p,e[W(207,"CMvt")]=!0,e[W(228,"DpAV")]+=1,e.foodVersion+=1):(e[W(247,"j5@u")]=m,e[W(211,"54n4")]+=1),x&&(e[W(215,"O*9x")]=x,e.foodVersion+=1)}),s||S)playSound(GAME_SOUNDS.SNAKE_3D[r(295,"gj6K")],i.enableSounds),a[r(285,"YrP$")](playHaptic,HapticType[r(202,"(noK")],i[r(252,"j5@u")]);else if(u){const e=l?GAME_SOUNDS[r(292,"x!VN")][r(224,"Ce89")]:GAME_SOUNDS[r(204,n)].EAT;playSound(e,i[r(194,")Xxl")]),a[r(188,"wD!p")](playHaptic,l?HapticType[r(181,o)]:HapticType[r(281,"[37o")],i[r(308,"AJ7D")])}},updateSettings:(W,o)=>{e(e=>{const n=_0x254a;e[n(214,"sEH9")]=W,e[n(161,"gj6K")]=o})},decrementTime:()=>{const o=_0x3eaf35,n={obidN:o(205,"Ngr0"),VXwmz:o(197,"9XhW"),RmbYQ:function(e){return e()},DxiWW:function(e,W){return e>W},sywuB:function(e,W){return e(W)},OpeMw:function(e,W){return e(W)}},t=n.RmbYQ(W);if(n[o(240,"OgDK")](t[o(158,")Xxl")],0)){const W={};W[o(290,"54n4")]=t[o(218,"YrP$")]-1,n.sywuB(e,W)}else t[o(251,"i%o*")]&&n[o(266,"]F5Y")](clearGameInterval,t[o(309,"fP1A")]),t[o(299,"owCf")]&&clearGameInterval(t[o(279,"ulZL")]),e(e=>{const W=o;if(n[W(276,"#PJA")]===n.VXwmz)return _0x1f8f7a(_0x9da70f);e[W(245,"[37o")]=!0,e[W(147,"YrP$")]=!1,e[W(251,"i%o*")]=null,e[W(203,"]VUU")]=null})}}))));export const useScore=()=>useSnake3DStore(_temp);export const useTimeLeft=()=>useSnake3DStore(_temp2);export const useIsPlaying=()=>({Ijsuv:function(e,W){return e(W)}}[_0x3eaf35(261,"k1Z7")](useSnake3DStore,_temp3));export const useIsGameOver=()=>({GZxhw:function(e,W){return e(W)}}[_0x3eaf35(159,"Ngr0")](useSnake3DStore,_temp4));function _0xa347(){const e=["W5ZcVLtcTmoau8o+WQLmWPn5ACkLWQO","t8kZWOVcK8k2mSkVW7e","WOuvWRlcKXS","W7LOW4/dTfSmW7qIWPldKmoOma","W4JdM8oXpmoDjCkgzCoLqte","bSkTWOimAKWfW7L1m8kdWRtdIZS","hSoaWQpdMx3dLmkYW7ZdMaq","e0K7eghdRcpdNw3dTCkcW7hcHdNdUNy2ra","fG/dS8kWdqCZW7pcMSk5WQlcVa","WR3cT8kZW61h","W6S1iNJdR8kwfCoYBq","yCo8WOZdQSouW7RdQCk6WQBdPCo1dW","ESksWQxcVa","WRrAhCkbW7DdW5pcOhK","b8kmtSkJ","cCoeW5JcUSkuW7FdNWG","W7/dRSkwW7Pjc8oxy3Gj","qSkMWRuKr3NdTa","CCoBWP7cPmkvWQScBmk+tmkWECohWPq","W7BcNYdcUMjDDSkP","W6xcJCk3BLK","WPygemomer7cOW","W7ZdSLFdLCkE","zwxcJCkylSo5vseUutFcNZGq","CCkqWPdcKLxcTq","cmksWRWGB1/dMmk8WR9cwSoW","WRmXWPFcRaLSW4igWPtdGmoQlW","wmkvff/dTmorW4xcRbnEiSoio8kS","FKCDzSkoESooW4GiW6udW4e","WRpdHN3dQrKljSkhWPOzrmkKCW","W4yWvCkkaxXhjmom","lSoaW43cK2RcK8oIWQxcGW","WPXormoAeG","WRmXWPFcRaK","W7T+lxy5WP7cIWO7W69OsGW","umosCSkeWQyWWRVcKa","W73cIH1KW5tdSmo2WPdcU8kwywBcOXm","nfK3jf0","W5FdKmoeWRanWO8HFb7dTCokmW","ESk5oexdPG","WQ/dLLO/WPdcO8kPWRxcVCkbsxhcQq","W5/cJmoXemkQW5VdILddOSoKxCoW","W6S1nxxdO8kkm8oQB8k4","WRy1oSo9pq","W7iAW53cQ8kB","vtNdOCkirCkAxgr4W5XNW6C","W6yrW5lcPCkmWOSzW6qeFtxdTW","WR1JkGFdOmojeCodWRWvWQjrW77dRNO","D2BcMmktW57cTW5zWOe","W6qAW53cOSksWO8LW6aYzJpdSmor","tuldO8kqg8oRWQpdOhxdQ8kKjCk1yq","WQFdNmoOjqZcQCkuWRhdTSkPW6RdMmkjW6K","uCkJvcK6W7KbWRu","er7dPSkcWQRdQe/cRIS","WQBcSYjeWPVcLSktl8kS","F8kvWQ/cU8kypSo5W5L3W5RcNqymW4NcLhCcxW","b8kmtSkJWPmhWRhcS8oGWObj","W6qtW77cSSk/","BZ3dS8kwvG","AmkCWPNcNMZcVCo0WRW","fmosWOJdM2xdNCkCW77dMcvJvSoMWO4","jrTeiCoEi8oBW6KeW6yAW6HyWRpdTq","CuHgkSoEW5pcSW","W6VdJSoaWPyF","phTdimoFW4BcNca","WPlcLCk4W7v3xZhdTW","a8oZW6f+pr9Z","WR1CgCkbW4bEW5FcQMu","WRvNmIlcOgvIWQm","WQ7cSJvdWQtcNCk6jCk5C8k6WQhdVq","W6BdSwJdJmkphry7yW","WPeuWRFcP8oZWQRdHv5H","pXzcj8os","WP7cMmk9W71q","W64HWOFcGZpcUmkWFSkWW5WFdq8","WPBcN8k6W7XSwIddTIdcNCkadq","W7X0o2OOWPFcGrmHW69OsGWN","WQiZo8oQkJ7cM8kWW5NcRMNcSa","W48dnL3dM8kI","CCkAWOlcNNtcSCo/WQ3cGG","W57cSCowdmkk","f2bAW6e","c8oOW4tcI8kl","dbldGSk6hsiZW6u","WRf9tfuDECkDwW","WP3cM8kNW61FtZhdLqNcNCkl","W6iBW4NcRSkkWO4cW7ySrJpdVSohW6q","eqJdV8k+jdqWW7u","umoteCoXW7jrW7xcMSo/WOLQW6hcGG","BgNdKCk+kSo9W7tdPW","AN/cTCkmWRi","WReNcLRdPmk4cW","W5xcOCkuuhxdISoSW47dLW","W7f+nNayWPRcNaeSW49OsaC","W6PWBXxcOSortmoiW6m9W7XaWQ7dOa","lmkRC8koWO8","WRvNkYdcVwvOWRddTfb2W57dPYy","W5VcUfpcV8oxq8o4WRfm","WRT8su0DFmkuvSoPmSoBzbLHqq","F8ksWR/cTSkhcCoZW4j/W43cMWCfW5i","zCowW7v9dG","W4hcLZK+W7m","l8kyetW5","W4LwWRtcImoXWOhdLga","z8o9WPJdPSomW7VdLCkIWR3dN8o4eCo/yq","W6RdRfRdNSkggZC7F0RdMmoTW6e","W4hcJCoMhSkBW6tdGKFdOW","xeJdPCkBg8ogWQJdLhtdISkJpmk1yq","W5m9W7VcImkQ","vtNdOCkirq","WRlcJSkDWO8","fmoEW6xcS8k5W6VdKbldGW","fIX1pmof","WQOUWQdcG8og","irPBmmoJk8oAW6um","FgBcGCks","lNVcGWD0W5ffASk3","W6eJeWbdlSoab8ovh8oEsdbd","eComW4BcQ8kzW6BdNdRdI8ooka","WRddHh3dRbCaACkvWPOzq8kg","WQlcQSkrW5PxEHJdJcdcVCkGlCkCW7PzW4JcJmkXFq","lCogW4BdJHddR8kIWPRcMhC8qsy","q8o2W59qfHLsWR0","WOCfWO7cRXS","W5inWRJcVYm","W7pcGmk5FLddVmoTW6ddQCkoW5ldMmkn","WRjfWO/dUCojW5LvWRKewGZdKCoQW58","DCkgWQlcMKZcSCo2WOZcMuyywd3dMmkdFSkfWOuHW6BcJ2G","i0zYW43cIG","W409W7VcImkQ","W6qPhxa","W6NdRvtdMa","WPtdKCkHtmo8WRZcMMNdK8oOySokW6O","W4RdM8oDWQ8SWRa2AW7dQmommHa","WPlcKSkXW7P1FtVdValcSCkabCkVW5bIW6dcRCkC","zCorWOlcPq","WRfPmYVcHw5OWRC","vCk/CI0BW6mjWRtdMG","W43dICofkCoXnmkSvCoVxa","krjVj8o2","W7FcLJHRW5xdP8o8WOm","W7xdSSkKW7vqcSo3yNmVECozW7RcJG","W6VdQ0NdMCkjcHy1yq","W5VcHWyTW6mEW6OM","a08/gg8","ogqFjvm","WQKSWQxcTWLzW44vWOVdR8oQlHq3WOqSW5/cTmkKbW","hu4OfL7dKI/dLhm","WR1ttmoRba","W6CBW5pcPmkOWO8FW7iRFtq","maZcLefYW7qREmkT","yw3cUSkxdq","b0PeW5hcJq","tSkeW53cIYFcH8kUW5ZdIa9Tsa","ASoqWOtcTCkiWOmkrSkRxmkzBmopWOm","cmkqCCkRWQqBWQRcRSoU","hSocW5NcS8kXW7BdNbG","WOSjWOBcOmo3","uSoXW5nxnHLNWQzVdSk2WQq","BCoHWR3dQConW6ZdN8kX","maZcLeXMW74NCG","WOjKwvW6","W64NawddJ8kBgCoAzCkLWRm","W4NdKCotWR48WRaPAX8","rmoXW5nEpYPrWRTPcCk9WRK","W4ldLCoTla","W6mAySk5da"];return(_0xa347=function(){return e})()}export const useSnakeVersion=()=>useSnake3DStore(_temp5);export const useFoodVersion=()=>useSnake3DStore(_temp6);function _temp(e){return e[_0x3eaf35(246,"Ce89")]}function _temp2(e){return e[_0x3eaf35(222,"t](@")]}function _temp3(e){return e[_0x3eaf35(152,"3GB8")]}function _temp4(e){return e.isGameOver}function _temp5(e){return e[_0x3eaf35(241,"]F5Y")]}function _temp6(e){return e.foodVersion}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0xd4a288=_0x24b5;!function(){const o=_0x24b5,t=_0x43a7();for(;;)try{if(674895==-parseInt(o(460,"3eC$"))/1+parseInt(o(360,"xL6X"))/2+parseInt(o(461,"6VFO"))/3+parseInt(o(423,"fuzf"))/4*(parseInt(o(271,"3eC$"))/5)+parseInt(o(325,"cNXj"))/6*(-parseInt(o(370,"8I@o"))/7)+-parseInt(o(283,"6VFO"))/8*(parseInt(o(475,"f@*U"))/9)+-parseInt(o(405,"mIb5"))/10*(parseInt(o(329,"9RvB"))/11))break;t.push(t.shift())}catch(o){t.push(t.shift())}}();import{c as _0x2895ca}from"react/compiler-runtime";import _0x11d497,{useMemo,useEffect,useCallback}from"react";import{View,StyleSheet}from"react-native";import{Canvas,RoundedRect,Rect,Circle}from"@shopify/react-native-skia";function _0x43a7(){const o=["tcXOtmk4W5WMbG","WQCKsmklW4m","W7RcISkTWPOrDSoSbu89ia","yCoAW45HW7iGWQZdICoL","nwqZW6xcQCodWP5D","WQudtwi4cCo1xt3cNSksjW","WOBcRSkkWOZcL0RdJ8o9W4rCW61dWQa","qw/cNmo6DqK","WQWlvSkEW7KVW4tcUfNdHG","W7KAm8o9WOVdLKqrWROju34iW4C3kM7cSCk5bHlcKc3dRmkF","W6bqfsnP","e8oazbjBusi","WP88W5DlWOddI2n2","W7Kymmo/W5FdIHXbW7TgpIXCWOH/FX3dOSoSrL7dKa","omoUEw/cLW","W7b6WOG","WQGgtmkqW7Kb","rSo5fgq","aerf","qmotCuK","bCkHWRiAjSkaba","mWyyWQdcQa","WPRcG3edWR0","W7feuCoYWQy","W7tdKsZdPCo0","WPhcG8ov","W4pdICoIWOdcVCkIWPrOxa","pmkLn8kqW6m","hCosEM7cKq","og3cVq","WO7cMeSiWQu","A1/dUSkMb8k1dmoKjNNdOmkx","WP4OW5zdWPRdHq","W7/cKKaf","WQnykqfov8oO","W4ldN8oyWPFcSmk1","W4xdRmobW5m","sZz2qSk+","B8ogW49WW7GYWRZdPCoKW5PxW4lcLSoU","WP3cHNSNWP/dUu7cSsWb","WOGIW5FcHmoa","W5dcQ8ol","WPeUW63cMmoo","pmoaWPJdHW","WPZdKCo5WPFcLSkcWRC","zmofietcVG","WOlcQ8klWOlcMuJdICo/W4rXW4X0WR4","i340W6RcUq","WP3dNmoJo3i","W73cN2iHxq","WP7cQ8o+p8om","aLtcUJKX","kaiaWO7cJw8","W4hdTs/dJ8oz","C8kBzeVdJq","ltbaDCoO","gmkqW4OI","og3cVa","WONcISorbmo2","c8okWQtdJCk6","jSk6W7Kyga","W6ldLJddOW","oSocpmklWRhdHSoIW7u","W5FdTSotW4NdIJlcJSooW4v5","b8kxhCkQW4pcTSk5wmoiW5NdONxcHGXywWe","W7/dIq5J","pSoijmk3WRC","WP8dsCksW5m","b8kumXvAxf3cSgBcGSkwW48","WOhcNwHIaW","E8khWRGtomkKiW5GW5m5ANz+WPy","tWNdR8ovW6S","WPxdKmoFiwPdWOBcHa","W6JcNeyoCa","DLTBW5/dLcRdSmkPW6T7W7JcQHi","eeafW5xcPa","cfxcMsm3","kIPEE8oUzcuc","t3tcUGOR","pmkWW6urffe","W7vEftL+","iN8GW6/cUmo8WPrbrta4WOm","y8oSESkNpG","WRileCotWR7cNK8","W7fudqv4uCotqG","zqBdKCoeW4JdVq","rCk7rMS","qSoaWRqYW4CPvCoPva","kSkdsCoDWO3dOCoU","WQeouCkCW7yu","WOZcSNf0ea","WP/cLxy8WOK","W4P9WPiEWPBdQf5tgCog","W6tcN8kN","W7BdIG9X","wcXPrq","W6xdIIFdV8oO","mN4TW6VcRW","WR0stmkr","W6zkv8o1WQZdVW","W5RdJ8ocWPG","i2K8sq","BGBdI8oWW4JdTmkjqW","xMpcKCoPDq","acq5WQu","W49bBSoAWPe","pJpcQmoTWQu","uSk6WP8Y","sCokWRmHW440","WRpcJI7cHaC","WPLqWOqP","DmoTCCkQl8onmSoK","W4RdSCk0W410FG","WQSiumkD","Bv/dV8kacG","mmogma","WPpcGY3cHa","WORcRCo2jmow","W5fzhHvk","EGldSG","W7ZcNee","WOdcH0K5WONdTKBcPcu","WPFdNCoaixq","gYNdP1fRWQdcJblcT8oAW6/dTa","a8oTv13cRa","W6GqpSoYWPBcNeWq","dKPrbMm","zmogAq","W57dPGxdNW","W7RdICoRWRhcOG","WR0FW6VcRSo7jaWNWRDPjW","W67dRHNcGgvg","W6jEcr5Lv8opsZpcTSkBaW","W5SuW453W6ZcIvWjWObWWO8B","W6zecJ4","oZpcTG","WPddM8oFpMPxWOVcRYpcSmkn","W6pdIrvOW5q","pSogWOtdK8koDSkNW61QgmoP","AmkAxLddNq","W6Wtpmo6WRG","WOxcNMPPnG","tgVcHSo0CXO","BmkDCSos","WRKgvSkv","CSoAW5HWW7K","rqNdTCoLW68","rmoRbw3dGSkvetmsomorWOlcTSoThaD4m8omq1bZo8omlq","WRfYWOmRWR4","wJzVq8kO","f8oSwKxcOa7cISoN","ymoTCmkJ","WQpcHsFcLW","kSoAWOtdIW","W4pdOhNdNSkW","lZNcPCoHWQnsntrCWOBdKHjYudNcLSkwWRzsW5ZdLIFcLmoBDq","W4tdU8kYW44","qg0zzhG","WRRcLSoBfmoHcSkxW7/cNq","CNCNW6lcU8omWPC","lmooWPVdLSkh","WRGmW6LMWQVdSuvcoq","W5hcPrO","WRLcWRyVWPG","WPFcOW/cUYO","vCkuEW","u8oTfgxcHmoa","g8ocWRNdQ8kj","wG7dGxT1pJhcJ3q+DG","q8otyfilfN7cKwO","BSkpy8oBW6VcKmkrhI87p8oSW7yHa2xdOCoVWRpdHZFcGq","cbDf","W7Kymmo/W5FdIHXbW7TgpIHCWOH/FqtdT8oWsfBdL3tcOa","WPxcOCo7n8owlq","W5ZdSGVdN8olaa","fKmiW4dcGSoMWRH9CW","rmkEWQm","xg7cPq0","W4ldPuFdK8kN","zCoxsmoPWPRcPmkwDCopW5VdKq","AvhdPSkBcW","W6ddJdBdPCoK","WPtcLMrNBmoIlg9VASoEq8kktmkDW6TKWQddI3VdVX0","W6JdS0pdSCkw","WOBdNCozigi","W7forCo/WRBcTSkXbmoJW4ddSmk3W4FdNcRdT0HvoCoIC8oIgdZcHa","e8kFW69YWP53dCohqI3cLGKK","vCoaWQO","W4X7WPWtW4pcLZ5Dgmo6WOuuWOi","cSoCWQ3dOSky","iW4AWRJcMhZcSSkh","FGRdM8oxW5q","W5ddVHhdImopfCoGWQDswNu","WRNcOSkIbq","f8oRx0BcTG","ECozEq","oCkgeCkX","tmkGWOi/","WOdcOLmoWRK","BgJdS8k2WRu2cHPuWQ8","qhNcPSoTEb7dGeVcQq","xmopeh7cVG","WRFcHt3cNrO","W73dRGBcNg4","cbDe","WPKLW4VcHSoafcyB","ErBdJmol","WO7cTSk8cmoXWO7cOtNdGSoa","q8oiy0On","kZ0O","W5fqfdnlqSooqW","gv/cLc8XythcQh8HFSkGW49NW7JcUx4BW6X/W4GWW6ddOmkh","W7BdMhZdH0OYwwe9W454rq","W7tdHXnJ","pCokWOpdSmkwDSkQW4y","A8k0WOCcpW","W4/dM8ocWPu","WO/cQ8oNpSoA"];return(_0x43a7=function(){return o})()}import _0x34c77b,{useSharedValue,useAnimatedStyle,useDerivedValue,withSequence,withTiming,withRepeat,Easing}from"react-native-reanimated";import{useSnakeVersion,useFoodVersion,useSnake3DStore}from"../Snake3DStore.js";import{SNAKE_3D_GAME_CONFIG,SNAKE_3D_COLORS,BOARD_RADIUS,BOARD_INSET,BOARD_TOTAL_SIZE,getSegment3DColors,getFood3DColors}from"../Snake3DConstants.js";import{jsx as _0x3c4fcc,jsxs as _0x43b34d}from"react/jsx-runtime";const CELL=SNAKE_3D_GAME_CONFIG[_0xd4a288(398,"9RvB")],GRID=SNAKE_3D_GAME_CONFIG[_0xd4a288(395,"fZ7i")],INNER=CELL*GRID,PAD=BOARD_INSET,BW=BOARD_TOTAL_SIZE,BH=BW,BR=BOARD_RADIUS,HALF=CELL/2,SEG_R=Math[_0xd4a288(439,"FBb$")](.42*CELL),SEG_SHADOW_OFF=2,SEG_HL_R=Math[_0xd4a288(386,"&NYi")](.65*SEG_R),SEG_HL_OFF=Math[_0xd4a288(415,"oS5V")](.2*SEG_R),SEG_SHINE_R=Math[_0xd4a288(418,"Rk16")](.2*SEG_R),SEG_SHINE_OFF=Math.round(.32*SEG_R),HEAD_R=Math[_0xd4a288(351,"lLTW")](.46*CELL),HEAD_HL_R=Math[_0xd4a288(310,"DlOa")](.65*HEAD_R),HEAD_HL_OFF=Math.round(.2*HEAD_R),HEAD_SHINE_R=Math[_0xd4a288(297,"Oi08")](.22*HEAD_R),HEAD_SHINE_OFF=Math.round(.3*HEAD_R),TAIL_R=Math[_0xd4a288(291,"kjf9")](.36*CELL),TAIL_HL_R=Math[_0xd4a288(478,"aZTo")](.6*TAIL_R),TAIL_HL_OFF=Math.round(.2*TAIL_R),TAIL_SHINE_R=Math[_0xd4a288(277,"PVZ5")](.18*TAIL_R),TAIL_SHINE_OFF=Math[_0xd4a288(284,"5DUU")](.3*TAIL_R),FOOD_R=Math.round(.38*CELL),FOOD_GLOW_R=Math.round(.6*CELL),FOOD_SHADOW_OFF=2,FOOD_HL_R=Math[_0xd4a288(374,"6j#5")](.6*FOOD_R),FOOD_HL_OFF=Math[_0xd4a288(454,"fZ7i")](.22*FOOD_R),FOOD_SHINE_R=Math.round(.18*FOOD_R),FOOD_SHINE_OFF=Math.round(.3*FOOD_R),EYE_R=Math[_0xd4a288(473,"@5r)")](2,Math[_0xd4a288(421,"[fwx")](.08*CELL)),PUPIL_R=Math[_0xd4a288(330,"!uXt")](1,Math.round(.045*CELL)),TW=Math[_0xd4a288(352,"97a(")](1,Math.round(.06*CELL)),TL=Math[_0xd4a288(374,"6j#5")](.22*CELL);let _k=0;const HEAD_C=getSegment3DColors("head"),BODY_C=getSegment3DColors("body"),TAIL_C=getSegment3DColors(_0xd4a288(381,"o%kU")),FOOD_N=getFood3DColors(!1),FOOD_S=getFood3DColors(!0),buildBoardElements=()=>{const o=_0xd4a288,t={wmvKD:function(o,t,e){return o(t,e)},kcOrj:function(o,t,e,W){return o(t,e,W)},sjKcs:function(o,t,e,W){return o(t,e,W)},RdvkD:function(o,t){return o<t}},e=[],W={x:0,y:0};W.width=BW,W[o(345,"fuzf")]=BH,W.r=BR,W[o(363,"@5r)")]=SNAKE_3D_COLORS[o(307,"f@*U")],e[o(335,"o%kU")](t[o(279,"PVZ5")](_0x3c4fcc,RoundedRect,W,_k++));const _={x:0,y:0};_.width=BW,_[o(462,"kSD4")]=BH,_.r=BR,_[o(315,"xL6X")]=SNAKE_3D_COLORS[o(367,"PVZ5")],_[o(319,"6b$c")]="stroke",_[o(457,"!uXt")]=2,e[o(380,"cNXj")](t[o(391,"oS5V")](_0x3c4fcc,RoundedRect,_,_k++));for(let W=1;t[o(304,"o%kU")](W,GRID);W++){const t=PAD+W*CELL,_={};_.x=t,_.y=PAD,_[o(361,"x*2X")]=1,_.height=INNER,_[o(274,"&NYi")]=SNAKE_3D_COLORS.GRID_LINE,e[o(474,"4s^x")](_0x3c4fcc(Rect,_,_k++));const n={};n.x=PAD,n.y=t,n[o(428,"Nx5m")]=INNER,n[o(411,"iI9&")]=1,n[o(317,"3eC$")]=SNAKE_3D_COLORS[o(412,"5DUU")],e[o(371,"3eC$")](_0x3c4fcc(Rect,n,_k++))}return e},BOARD_ELEMENTS=buildBoardElements(),MAX_KEYS=GRID*GRID*6+30,KEYS=[];for(let o=0;o<MAX_KEYS;o++)KEYS.push(_k++);const _0x55327f={};_0x55327f.e1x=.28*CELL,_0x55327f[_0xd4a288(480,"[fwx")]=.15*-CELL,_0x55327f[_0xd4a288(408,"@5r)")]=.28*CELL,_0x55327f.e2y=.15*CELL,_0x55327f.tx=.45*CELL,_0x55327f.ty=0,_0x55327f.tw=TL,_0x55327f.th=TW;const _0x5dc9e6={};_0x5dc9e6[_0xd4a288(294,"ke50")]=.28*-CELL,_0x5dc9e6.e1y=.15*-CELL,_0x5dc9e6[_0xd4a288(399,"iI9&")]=.28*-CELL,_0x5dc9e6[_0xd4a288(441,"@5r)")]=.15*CELL,_0x5dc9e6.tx=.45*-CELL-TL,_0x5dc9e6.ty=0,_0x5dc9e6.tw=TL,_0x5dc9e6.th=TW;const _0x46c1f5={};function _0x24b5(o,t){o-=270;const e=_0x43a7();let W=e[o];if(void 0===_0x24b5.oWQzKa){const o=function(o,t){let e,W,_=[],n=0,d="";for(o=function(o){let t="",e="";for(let e,W,_=0,n=0;W=o.charAt(n++);~W&&(e=_%4?64*e+W:W,_++%4)?t+=String.fromCharCode(255&e>>(-2*_&6)):0)W="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(W);for(let o=0,W=t.length;o<W;o++)e+="%"+("00"+t.charCodeAt(o).toString(16)).slice(-2);return decodeURIComponent(e)}(o),W=0;W<256;W++)_[W]=W;for(W=0;W<256;W++)n=(n+_[W]+t.charCodeAt(W%t.length))%256,e=_[W],_[W]=_[n],_[n]=e;W=0,n=0;for(let t=0;t<o.length;t++)W=(W+1)%256,n=(n+_[W])%256,e=_[W],_[W]=_[n],_[n]=e,d+=String.fromCharCode(o.charCodeAt(t)^_[(_[W]+_[n])%256]);return d};_0x24b5.tyiMCL=o,_0x24b5.xGgLAL={},_0x24b5.oWQzKa=!0}const _=e[0];_0x24b5.ZdwjQb!==_&&(_0x24b5.xGgLAL={},_0x24b5.ZdwjQb=_);const n=_0x24b5.xGgLAL[o];return void 0===n?(void 0===_0x24b5.TrkSRh&&(_0x24b5.TrkSRh=!0),W=_0x24b5.tyiMCL(W,t),_0x24b5.xGgLAL[o]=W):W=n,W}_0x46c1f5[_0xd4a288(432,"cNXj")]=.15*-CELL,_0x46c1f5[_0xd4a288(446,"641b")]=.28*-CELL,_0x46c1f5.e2x=.15*CELL,_0x46c1f5[_0xd4a288(470,"OHNk")]=.28*-CELL,_0x46c1f5.tx=0,_0x46c1f5.ty=.45*-CELL-TL,_0x46c1f5.tw=TW,_0x46c1f5.th=TL;const _0x1f04ae={};_0x1f04ae.e1x=.15*-CELL,_0x1f04ae[_0xd4a288(484,"ke50")]=.28*CELL,_0x1f04ae[_0xd4a288(364,"kjf9")]=.15*CELL,_0x1f04ae[_0xd4a288(278,"6VFO")]=.28*CELL,_0x1f04ae.tx=0,_0x1f04ae.ty=.45*CELL,_0x1f04ae.tw=TW,_0x1f04ae.th=TL;const _0xd1f945={};_0xd1f945[_0xd4a288(401,"FBb$")]=_0x55327f,_0xd1f945[_0xd4a288(365,"Rk16")]=_0x5dc9e6,_0xd1f945.UP=_0x46c1f5,_0xd1f945[_0xd4a288(323,"kjf9")]=_0x1f04ae;const EO=_0xd1f945,StaticBoardCanvas=_0x11d497.memo(()=>{const o="ke50",t=_0xd4a288,e={pwKqS:function(o,t){return o(t)},GhgCF:function(o,t,e){return o(t,e)}},W=e.pwKqS(_0x2895ca,2);let _;if(W[0]===Symbol[t(372,o)](t(392,o))){const o={};o.width=BW,o.height=BH,_=o,W[0]=_}else _=W[0];const n=_;let d;if(W[1]===Symbol.for(t(464,"!c*z"))){const o={};o.style=n,o.pointerEvents=t(302,"6j#5"),o[t(442,"PVZ5")]=BOARD_ELEMENTS,d=e[t(355,"3eC$")](_0x3c4fcc,Canvas,o),W[1]=d}else d=W[1];return d});StaticBoardCanvas[_0xd4a288(373,"[fwx")]=_0xd4a288(301,"mU!2");const GameCanvas=_0x11d497[_0xd4a288(338,"641b")](()=>{const o="4s^x",t="Nx5m",e="5DUU",W="lLTW",_="f@*U",n=_0xd4a288,d={PgAnB:function(o,t,e,W){return o(t,e,W)},QeSnX:function(o,t,e){return o(t,e)},LjJFS:function(o,t){return o+t},mSLwE:function(o,t,e,W){return o(t,e,W)},zcIUR:function(o,t,e,W){return o(t,e,W)},glQAI:function(o,t){return o-t},AmNHk:function(o,t){return o-t},iVIGU:function(o,t){return o-t},WavUX:function(o,t){return o>=t},jCwrT:function(o,t){return o+t},vdfwy:function(o,t){return o*t},ubMwz:n(293,"Oi08"),IVvcZ:function(o,t){return o*t},VqQxi:function(o){return o()},XyqLU:function(o){return o()},glndG:function(o,t){return o(t)},FjPvW:function(o,t,e){return o(t,e)},tNCTH:function(o,t,e){return o(t,e)}},a=d.VqQxi(useSnakeVersion),r=d[n(420,"oS5V")](useFoodVersion),x=d[n(306,"p^^H")](useSharedValue,1);useEffect(()=>{const o=n;useSnake3DStore[o(321,"3eC$")]()[o(350,"o%kU")]?x[o(397,"8DcP")]=d[o(400,"8I@o")](withRepeat,withSequence(withTiming(1.3,{duration:800,easing:Easing.inOut(Easing[o(270,"DlOa")])}),d[o(296,"8DcP")](withTiming,1,{duration:800,easing:Easing[o(285,"[fwx")](Easing[o(450,"6j#5")])})),-1,!0):x[o(440,"]AuY")]=1},[r]);const i=d[n(377,"!c*z")](useDerivedValue,()=>(FOOD_GLOW_R+4)*x[n(394,"G%AA")]),S=useMemo(()=>{const a=n,r=useSnake3DStore[a(299,"97a(")](),x=r[a(445,o)],i=r[a(458,"i4Cr")],S=r[a(389,"FBb$")],f=x[a(322,t)],O=[];let s=0;if(S){const o=d[a(469,"x*2X")](d[a(383,"Nx5m")](PAD,S.x*CELL),HALF),t=PAD+S.y*CELL+HALF,n=S[a(358,"NtKm")]?FOOD_S:FOOD_N,r={};r.cx=o,r.cy=t,r.r=FOOD_GLOW_R,r[a(359,"[fwx")]=n[a(331,"6j#5")],O[a(390,"8DcP")](_0x3c4fcc(Circle,r,KEYS[s++]));const x={};x.cx=o,x.cy=t+2,x.r=FOOD_R,x[a(334,e)]=n[a(479,"Rk16")],O.push(d.PgAnB(_0x3c4fcc,Circle,x,KEYS[s++]));const i={};i.cx=o,i.cy=t,i.r=FOOD_R,i[a(313,"mIb5")]=n[a(424,"fuzf")],O[a(337,"vhzE")](_0x3c4fcc(Circle,i,KEYS[s++]));const f={};f.cx=o-FOOD_HL_OFF,f.cy=t-FOOD_HL_OFF,f.r=FOOD_HL_R,f[a(343,"ke50")]=n[a(486,W)],f.opacity=.45,O[a(335,"o%kU")](d.mSLwE(_0x3c4fcc,Circle,f,KEYS[s++]));const L={};if(L.cx=o-FOOD_SHINE_OFF,L.cy=t-FOOD_SHINE_OFF,L.r=FOOD_SHINE_R,L.color=a(384,"Io7("),O[a(332,"&NYi")](d.zcIUR(_0x3c4fcc,Circle,L,KEYS[s++])),S[a(437,"kSD4")]){const e=FOOD_R+3,W={};W.x=o-1,W.y=t-e,W[a(340,"kSD4")]=2,W[a(272,"vhzE")]=5,W[a(287,"fZ7i")]="rgba(255, 215, 0, 0.8)",O[a(414,"xL6X")](_0x3c4fcc(Rect,W,KEYS[s++]));const n={};n.x=o-1,n.y=t+e-5,n[a(382,"i4Cr")]=2,n[a(410,"fZ7i")]=5,n[a(431,"x*2X")]=a(407,"cNXj"),O.push(_0x3c4fcc(Rect,n,KEYS[s++])),O[a(298,"Rk16")](_0x3c4fcc(Rect,{x:o-e,y:d[a(286,"DlOa")](t,1),width:5,height:2,color:a(468,"!c*z")},KEYS[s++])),O[a(434,_)](_0x3c4fcc(Rect,{x:o+e-5,y:d[a(404,"8DcP")](t,1),width:5,height:2,color:a(419,"p^^H")},KEYS[s++]))}}for(let n=d[a(483,"x*2X")](f,1);d[a(452,"f@*U")](n,0);n--){const r=x[n],S=0===n,L=n===f-1,C=d[a(342,"aZTo")](PAD+r.x*CELL,HALF),E=d[a(438,"Io7(")](d[a(456,"o%kU")](PAD,d[a(346,"FBb$")](r.y,CELL)),HALF),u=S?HEAD_C:L?TAIL_C:BODY_C,R=S?HEAD_R:L?TAIL_R:SEG_R,m=S?HEAD_HL_R:L?TAIL_HL_R:SEG_HL_R,k=S?HEAD_HL_OFF:L?TAIL_HL_OFF:SEG_HL_OFF,D=S?HEAD_SHINE_R:L?TAIL_SHINE_R:SEG_SHINE_R,l=S?HEAD_SHINE_OFF:L?TAIL_SHINE_OFF:SEG_SHINE_OFF,I={};I.cx=C,I.cy=E+2,I.r=R,I.color=u.front,O[a(434,_)](_0x3c4fcc(Circle,I,KEYS[s++]));const h={};h.cx=C,h.cy=E,h.r=R,h.color=u.top,O[a(443,t)](_0x3c4fcc(Circle,h,KEYS[s++]));const F={};if(F.cx=C-k,F.cy=E-k,F.r=m,F[a(315,"xL6X")]=u[a(369,"3eC$")],F.opacity=.4,O.push(_0x3c4fcc(Circle,F,KEYS[s++])),O[a(474,o)](_0x3c4fcc(Circle,{cx:d[a(435,"NtKm")](C,l),cy:E-l,r:D,color:a(409,"!c*z")},KEYS[s++])),S){const t=i,_=EO[t],n=d[a(485,"NtKm")](C+_.tx,t===d[a(290,"iI9&")]||t===a(282,"Io7(")?0:_.tw/2),r=d.iVIGU(E+_.ty,"UP"===t||t===a(341,"ZdRn")?0:_.th/2),x={};x.x=n,x.y=r,x[a(333,"Rk16")]=_.tw,x[a(349,"RF7G")]=_.th,x[a(317,"3eC$")]=a(466,o),O[a(347,"8I@o")](_0x3c4fcc(Rect,x,KEYS[s++]));const S={};S.cx=C+_.e1x,S.cy=E+_.e1y,S.r=EYE_R,S[a(378,"p^^H")]=a(396,e),O[a(388,"6b$c")](_0x3c4fcc(Circle,S,KEYS[s++])),O[a(430,"tlOx")](_0x3c4fcc(Circle,{cx:d[a(327,"p^^H")](C,_.e2x),cy:E+_[a(402,"4s^x")],r:EYE_R,color:"#ffffff"},KEYS[s++]));const f={};f.cx=C+_.e1x,f.cy=E+_[a(413,"fuzf")],f.r=PUPIL_R,f[a(292,"(36a")]="#1a1a1a",O[a(273,"6VFO")](_0x3c4fcc(Circle,f,KEYS[s++]));const L={};L.cx=C+_[a(356,W)],L.cy=E+_.e2y,L.r=PUPIL_R,L[a(431,"x*2X")]="#1a1a1a",O[a(472,"Io7(")](_0x3c4fcc(Circle,L,KEYS[s++]))}}return O},[a]),f=useMemo(()=>{const o=n,t=useSnake3DStore[o(339,"Nx5m")]()[o(280,"8DcP")];return t?{cx:PAD+d.IVvcZ(t.x,CELL)+HALF,cy:PAD+t.y*CELL+HALF,color:t[o(481,"vhzE")]?FOOD_S.glow:FOOD_N.glow}:null},[a]),O=d[n(308,"Nx5m")](useMemo,()=>({width:BW,height:BH,position:n(309,"[fwx"),top:0,left:0}),[]);return d[n(295,"fZ7i")](_0x43b34d,Canvas,{style:O,pointerEvents:n(344,"f@*U"),children:[f&&_0x3c4fcc(Circle,{cx:f.cx,cy:f.cy,r:i,color:f[n(303,"97a(")],opacity:.55}),S]})});GameCanvas[_0xd4a288(375,"8DcP")]=_0xd4a288(444,"tlOx");export const GameGrid=_0x11d497[_0xd4a288(433,"mU!2")](()=>{const o="5DUU",t=_0xd4a288,e={hFKNI:function(o,t,e){return o(t,e)},AQDQy:function(o,t,e){return o(t,e)},EpdRL:function(o,t){return o!==t},swkJQ:function(o,t){return o!==t},XWtjd:t(448,"mIb5"),AFHGW:function(o,t){return o===t}},W=_0x2895ca(12),_=useSharedValue(0);let n;e.EpdRL(W[0],_)?(n=()=>useSnake3DStore[t(406,"4s^x")](_temp,W=>{const n=t;if(0===W){if(n(366,"vhzE")===n(426,"8DcP"))return;_0x5d194d=[_0x3c9351,_0x3ed21d],_0x5b7107[6]=_0x2ce6d5,_0x3dca7c[7]=_0x149817}if(useSnake3DStore[n(451,"8DcP")]()[n(362,"!c*z")]){const t={};t[n(314,"(36a")]=40,t[n(403,"Io7(")]=Easing.linear;const W={duration:40};W[n(336,"aZTo")]=Easing[n(326,"o%kU")];const d={};d[n(455,"&NYi")]=35,d[n(368,"]AuY")]=Easing.linear;const a={};a[n(467,"9RvB")]=35,a[n(487,"9RvB")]=Easing[n(289,"ZdRn")];const r={};r[n(348,"6b$c")]=30,r[n(471,"o%kU")]=Easing.linear;const x={};x[n(459,o)]=30,x[n(379,"kSD4")]=Easing.linear,_.value=withSequence(withTiming(-6,t),withTiming(6,W),e[n(482,"mU!2")](withTiming,-4,d),withTiming(4,a),e[n(312,o)](withTiming,-2,r),withTiming(0,x))}}),W[0]=_,W[1]=n):n=W[1];const d=n;let a,r;e[t(477,"NtKm")](W[2],d)?(a=()=>d(),r=[d],W[2]=d,W[3]=a,W[4]=r):(a=W[3],r=W[4]),useEffect(a,r);const x={};x[t(276,"NtKm")]=_[t(417,"lLTW")];const i=useAnimatedStyle(()=>({transform:[x]}));let S;if(W[5]===Symbol[t(357,"DlOa")](e[t(385,"8I@o")])){const o={};o[t(354,"fZ7i")]=BW,o[t(316,"Oi08")]=BH,S=[styles.boardOuter,o],W[5]=S}else S=W[5];const f=S;let O,s,L,C;if(W[6]!==i?(O=[f,i],W[6]=i,W[7]=O):O=W[7],e.AFHGW(W[8],Symbol.for(t(422,"aZTo")))?(s=_0x3c4fcc(StaticBoardCanvas,{}),L=_0x3c4fcc(GameCanvas,{}),W[8]=s,W[9]=L):(s=W[8],L=W[9]),W[10]!==O){const o={};o.style=O,o[t(387,"x*2X")]=[s,L],C=_0x3c4fcc(View,{style:styles[t(324,"fuzf")],children:_0x43b34d(_0x34c77b[t(353,"FBb$")],o)}),W[10]=O,W[11]=C}else C=W[11];return C});GameGrid[_0xd4a288(429,"iI9&")]=_0xd4a288(447,"3eC$");const _0x3113c8={flex:1};_0x3113c8[_0xd4a288(275,"i4Cr")]="center",_0x3113c8[_0xd4a288(463,"o%kU")]="center";const _0x256950={};_0x256950.container=_0x3113c8,_0x256950[_0xd4a288(300,"6VFO")]={};const styles=StyleSheet.create(_0x256950);function _temp(o){return o[_0xd4a288(318,"5DUU")]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x3371d3=_0x499c;!function(){const e="N5s!",o=_0x499c,r=_0x3c90();for(;;)try{if(382693==parseInt(o(287,e))/1*(parseInt(o(295,"c^!I"))/2)+-parseInt(o(300,"wfYq"))/3*(parseInt(o(313,"fCCj"))/4)+parseInt(o(291,e))/5+parseInt(o(305,"l47v"))/6*(parseInt(o(311,"ud)%"))/7)+parseInt(o(319,"Iu*Y"))/8+parseInt(o(320,"U(%d"))/9*(parseInt(o(303,"zDTe"))/10)+-parseInt(o(289,"fCCj"))/11)break;r.push(r.shift())}catch(e){r.push(r.shift())}}();import{c as _0x2474e8}from"react/compiler-runtime";import _0x47c377 from"react";import{View}from"react-native";import{useScore,useTimeLeft}from"../Snake3DStore.js";function _0x499c(e,o){e-=286;const r=_0x3c90();let t=r[e];if(void 0===_0x499c.wEujSh){const e=function(e,o){let r,t,n=[],W=0,x="";for(e=function(e){let o="",r="";for(let r,t,n=0,W=0;t=e.charAt(W++);~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++)W=(W+n[t]+o.charCodeAt(t%o.length))%256,r=n[t],n[t]=n[W],n[W]=r;t=0,W=0;for(let o=0;o<e.length;o++)t=(t+1)%256,W=(W+n[t])%256,r=n[t],n[t]=n[W],n[W]=r,x+=String.fromCharCode(e.charCodeAt(o)^n[(n[t]+n[W])%256]);return x};_0x499c.oTJCCw=e,_0x499c.DBJiNh={},_0x499c.wEujSh=!0}const n=r[0];_0x499c.obXBfa!==n&&(_0x499c.DBJiNh={},_0x499c.obXBfa=n);const W=_0x499c.DBJiNh[e];return void 0===W?(void 0===_0x499c.lzQolz&&(_0x499c.lzQolz=!0),t=_0x499c.oTJCCw(t,o),_0x499c.DBJiNh[e]=t):t=W,t}import{ScoreBoardContainer,ScoreValue,ScoreTimer,scoreBoardStyles as _0x3b8c07}from"../../../helpers/index.js";import{jsx as _0x1e941c,jsxs as _0x1e4fa4}from"react/jsx-runtime";export const ScoreBoard=_0x47c377[_0x3371d3(297,"vy37")](e=>{const o="5TJE",r=_0x3371d3,t={qZGAw:function(e,o){return e!==o},DsdWq:function(e,o,r){return e(o,r)},jskeO:"zFEof",qFLKA:function(e,o){return e===o},qTLqW:"cuJaA"},n=_0x2474e8(10),{offset:W}=e,x=void 0===W?0:W,s=useScore(),a=useTimeLeft();let d,i,f,_;if(n[0]!==s){const e={};e[r(312,"aV9V")]=s,d=_0x1e941c(ScoreValue,e),n[0]=s,n[1]=d}else d=n[1];if(t[r(310,"^clC")](n[2],a)){const e={};e.seconds=a,e[r(286,o)]=0,i=_0x1e941c(ScoreTimer,e),n[2]=a,n[3]=i}else i=n[3];if(n[4]!==d||t[r(309,"36$W")](n[5],i)){const e={};e[r(298,"U(%d")]=_0x3b8c07[r(299,"fCCj")],e[r(308,"nT0i")]=[d,i],f=t[r(293,"tHkw")](_0x1e4fa4,View,e),n[4]=d,n[5]=i,n[6]=f}else if(r(296,"zDTe")===t[r(318,"Iu*Y")])f=n[6];else{const e={};e[r(288,"tkKA")]=_0x9864d6,e.children=_0x2c34cf,_0x366f00=_0x378b02(_0x53135e,e),_0x348500[7]=_0x478298,_0x3b1eb2[8]=_0x4065f3,_0x1baded[9]=_0x587e97}if(n[7]!==x||t.qZGAw(n[8],f))if(t[r(314,"13j[")](r(302,"oNmu"),t.qTLqW))_0x44c367=_0x36047c[6];else{const e={};e[r(304,o)]=x,e.children=f,_=_0x1e941c(ScoreBoardContainer,e),n[7]=x,n[8]=f,n[9]=_}else _=n[9];return _});function _0x3c90(){const e=["W5FcJSoyWQLkWPlcPNa","WPFcUSkaj8kg","xCo6vJLO","WPFdGYpcMCoJjxVdJmkR","WRddJ8oQbqy","htLveexcRYa","smkkhq8o","W7RcKmo7WRnEW7BcQmoEWOO5W6nHkmkL","W58kWR3dPSorW6NcVCkfvmkftX4","WQXRFxi0W5r/WPRdNW","BSoordtdOa","n8knf2dcN8oEcSkcibpcV0P7","W5xcT13dICodAmkx","WRWpeaRcV8obWO3cSW4LW6VcNa","m1n+WRq6W7m0W4JcSdhdI8o6","c3KHWPxdLbe","feqhtbJdGxNdMH/cT0bzwcC","WPaXW4j8W45cCa","mf92WR03W7qjW5dcUcZdQ8oB","WR0QWOmQWOm+kG","D8ouu8oDrq","WPSrW7bnW6vxra","WO9rW512W5/cSCkc","WRhdOSklW60l","WRlcM8k9pa","WP/cLNddV8oo","vX9f","emkgW5ikWRHTFmoAa8k3hxK","mvDWWRu+W7C+W4pcLbRdJSo/","WRdcRfBdS08","W77cLmo5WRnCW7BcOmkeWOWGW7bhaW","WR8gas3cSSoh","W5dcUmoJiKy7W5/cH8ojdCo0","nJtcQwhdPSoKgSolWQiXfW","W6HHWPLkzYNcTJSftKCagW"];return(_0x3c90=function(){return e})()}ScoreBoard[_0x3371d3(306,"Am6X")]="ScoreBoard";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";!function(){const t=_0x9412,o=_0x1107();for(;;)try{if(207502==-parseInt(t(214,"SqKn"))/1*(-parseInt(t(224,"&rmh"))/2)+parseInt(t(197,"K8[T"))/3*(-parseInt(t(217,"hzXd"))/4)+parseInt(t(240,"I(!u"))/5+-parseInt(t(191,"okOa"))/6*(parseInt(t(237,"TQ&C"))/7)+-parseInt(t(201,"NegM"))/8+-parseInt(t(205,"N7Yl"))/9+parseInt(t(188,"I(!u"))/10)break;o.push(o.shift())}catch(t){o.push(o.shift())}}();import{WINNING_POSITION,CELL_TRANSITIONS}from"./SnakesAndLaddersConstants.js";export const rollDice=()=>{const t=_0x9412,o={};o[t(221,"vYLn")]=function(t,o){return t+o},o[t(231,"b%0W")]=function(t,o){return t*o};const n=o;return n[t(236,"R2i]")](Math[t(230,"HxaM")](n[t(235,"vYLn")](Math[t(213,"TS%r")](),6)),1)};export const createPlayers=()=>{const t=_0x9412,o={};o[t(202,"I(!u")]="blue",o[t(194,"^Zjd")]="red";const n=o,W={};W.id=t(225,"N7Yl"),W[t(189,"NHxX")]=0,W[t(206,"Br32")]=!1;const e={};e.id=t(211,"pM^c"),e[t(228,"U#kV")]=n[t(202,"I(!u")],e[t(229,"pM^c")]=W,e[t(190,"b%0W")]=!1,e[t(239,"apO7")]="YOU";const r={};r.id=t(219,"VKYM"),r[t(226,"Br32")]=0,r[t(209,"R2i]")]=!1;const d={id:"ai"};return d[t(198,"lWqU")]=n[t(233,"TS%r")],d.token=r,d[t(227,"Q%v#")]=!0,d[t(187,"q1up")]="AI",[e,d]};function _0x9412(t,o){t-=186;const n=_0x1107();let W=n[t];if(void 0===_0x9412.GIKdwy){const t=function(t,o){let n,W,e=[],r=0,d="";for(t=function(t){let o="",n="";for(let n,W,e=0,r=0;W=t.charAt(r++);~W&&(n=e%4?64*n+W:W,e++%4)?o+=String.fromCharCode(255&n>>(-2*e&6)):0)W="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(W);for(let t=0,W=o.length;t<W;t++)n+="%"+("00"+o.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(n)}(t),W=0;W<256;W++)e[W]=W;for(W=0;W<256;W++)r=(r+e[W]+o.charCodeAt(W%o.length))%256,n=e[W],e[W]=e[r],e[r]=n;W=0,r=0;for(let o=0;o<t.length;o++)W=(W+1)%256,r=(r+e[W])%256,n=e[W],e[W]=e[r],e[r]=n,d+=String.fromCharCode(t.charCodeAt(o)^e[(e[W]+e[r])%256]);return d};_0x9412.CcluKI=t,_0x9412.lnZWJm={},_0x9412.GIKdwy=!0}const e=n[0];_0x9412.ShYTSL!==e&&(_0x9412.lnZWJm={},_0x9412.ShYTSL=e);const r=_0x9412.lnZWJm[t];return void 0===r?(void 0===_0x9412.pCwWns&&(_0x9412.pCwWns=!0),W=_0x9412.CcluKI(W,o),_0x9412.lnZWJm[t]=W):W=r,W}export const calculateNewPosition=(t,o)=>{const n=t+o;if(n>WINNING_POSITION)return t;const W=CELL_TRANSITIONS[_0x9412(186,"okOa")](n);return void 0!==W?W:n};function _0x1107(){const t=["WRhdReJdM3LztCoaa8o3j3i","WRFdQSofWRFcGCkKW7ddUa","lWa3za","DmoPW5pdGbK","jSkidmoJWRm","W4qhWP/cMWG","mvtdLw3dKq","W7BcS8keW6FdGSo+WQZdR8oJW6X6smkH","aN8hASoj","WRlcN3/dVSk2","ta3dRaZcGa","W7xdKeDTkW","Fq7cJrGgW5JdHSktuuf1W4ZcTa","WP5ZWPjqja","tmolzSo4Da","qsCWW7nbW5xdPJxdUmoKDZuu","FKtdOq","n8kZWO0xW4W","rYaYW7TkW5JdPGVdM8oetXSP","cmkivbXtWQ1jxG","e3tdNhW","l2NdUHhdGsNcLG","B8oMWRu5W47cOmkzDq","WRa2W6xcR8oG","WRRcMuxdOCkN","WO1YW4u","Dengg8ktWO8ya8kNwwZdPG","W4KnWO3dI8kdW77dR8oEWQVdSCke","WP7cKmoNkSkj","WPP4W4iTuCkEB8kv","W6jFW4NcSCkDWPxdRW","AsNdKthdOSo7BceFbmo3xmon","e1LLWO0O","z8oPW4ZdHH/cLmkiqG","cCk7Dh7dVG","W7JcTH/cKsKCiSomh8o5lfC","WQ7dTSoWWRFcM8kKW6ZdVSonW6W","CZhdJZhcOW","ahL3WQSgWOxcUte","W7NdShnUkNCUACo0WOy","pxNcJMy","iSklbSo/WRHV","W4RdMmohW7BcUKrN","ewO/wCoZWQq","FIhcN8oyaJlcGSkrW7KHwMq","qfKzjW","W7LuWQpdId1eW5OjWQOFWOVdUuC","oeK0WP7dRbnLWQC","y8owu8k3W64KW5xdUmkdW6z8smoi","WRniW4P7ySoyh3q","WQJcHqpdOCkM","yG3dLJ7cOG","W6K9WQFdOmoKW4xdVSkSpe7dMHu","WRxcMatdJmkm","W7K5W4RcMuyvWRe"];return(_0x1107=function(){return t})()}export const isSnake=t=>{const o=_0x9412,n={};n[o(223,"39]Y")]=function(t,o){return t<o};const W=n,e=CELL_TRANSITIONS[o(195,"!oOU")](t);return void 0!==e&&W[o(234,"^Zjd")](e,t)};export const isLadder=t=>{const o=CELL_TRANSITIONS.get(t);return void 0!==o&&o>t};export const getIntermediatePosition=(t,o)=>{const n=t+o;return n>WINNING_POSITION?t:n};export const isGameFinished=t=>{const o=_0x9412;return t.some(t=>t[o(207,"vYLn")][o(203,"U#kV")]===WINNING_POSITION)};export const getWinner=t=>{const o=_0x9412;return t[o(215,"1QJ!")](t=>t[o(220,"39]Y")][o(208,"I(!u")]===WINNING_POSITION)||null};export const calculateScore=(t,o)=>{const n=_0x9412;if(t[n(204,"z75j")].isFinished){let W=0;if(o){const e=o[n(210,"NegM")](o=>o.id!==t.id);if(e){const t=e[n(238,"z4Cz")][n(208,"I(!u")];W=Math.round(50*(WINNING_POSITION-t))}}return 1e4+W}return 100*t[n(193,"9fpt")][n(199,"!oOU")]};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x34942f=_0x355d;!function(){const W=_0x355d,e=_0x370a();for(;;)try{if(320157==-parseInt(W(784,"M[*D"))/1+-parseInt(W(527,"6vyO"))/2*(parseInt(W(779,"5vX^"))/3)+parseInt(W(603,"Qc^w"))/4+-parseInt(W(804,"Z6ca"))/5+parseInt(W(697,"%Dwb"))/6+-parseInt(W(783,"RXsY"))/7+parseInt(W(736,"xtHu"))/8)break;e.push(e.shift())}catch(W){e.push(e.shift())}}();import{create}from"zustand";import{subscribeWithSelector}from"zustand/middleware";import{createPlayers,rollDice,calculateNewPosition,getIntermediatePosition,isSnake,isLadder,isGameFinished,getWinner,calculateScore}from"./SnakesAndLaddersService.js";import{WINNING_POSITION,SNL_GAME_CONFIG}from"./SnakesAndLaddersConstants.js";function _0x355d(W,e){W-=498;const o=_0x370a();let t=o[W];if(void 0===_0x355d.lIurfg){const W=function(W,e){let o,t,n=[],d=0,r="";for(W=function(W){let e="",o="";for(let o,t,n=0,d=0;t=W.charAt(d++);~t&&(o=n%4?64*o+t:t,n++%4)?e+=String.fromCharCode(255&o>>(-2*n&6)):0)t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(t);for(let W=0,t=e.length;W<t;W++)o+="%"+("00"+e.charCodeAt(W).toString(16)).slice(-2);return decodeURIComponent(o)}(W),t=0;t<256;t++)n[t]=t;for(t=0;t<256;t++)d=(d+n[t]+e.charCodeAt(t%e.length))%256,o=n[t],n[t]=n[d],n[d]=o;t=0,d=0;for(let e=0;e<W.length;e++)t=(t+1)%256,d=(d+n[t])%256,o=n[t],n[t]=n[d],n[d]=o,r+=String.fromCharCode(W.charCodeAt(e)^n[(n[t]+n[d])%256]);return r};_0x355d.rYbkBz=W,_0x355d.bdZPpF={},_0x355d.lIurfg=!0}const n=o[0];_0x355d.PVkYDp!==n&&(_0x355d.bdZPpF={},_0x355d.PVkYDp=n);const d=_0x355d.bdZPpF[W];return void 0===d?(void 0===_0x355d.pwFdhI&&(_0x355d.pwFdhI=!0),t=_0x355d.rYbkBz(t,e),_0x355d.bdZPpF[W]=t):t=d,t}import{playSound,GAME_SOUNDS}from"../../services/SoundsService.js";import{playHaptic,HapticType}from"../../services/HapticsService.js";export const useSnakesAndLaddersStore=create()(subscribeWithSelector((W,e)=>({isPlaying:!1,isGameOver:!1,isWin:!1,players:[],currentPlayerIndex:0,diceValue:null,isRolling:!1,gamePhase:_0x34942f(810,"Z6ca"),playerScore:0,consecutiveSixes:0,moveVersion:0,initializeGame:()=>{const e="dlhi",o=_0x34942f,t=createPlayers(),n={};n[o(682,"DEGH")]=t,n[o(797,e)]=0,n[o(665,e)]=null,n.isRolling=!1,n.gamePhase=o(692,"]@$#"),n[o(532,"$yhV")]=!1,n[o(771,"9cse")]=!1,n.isWin=!1,n.playerScore=0,n[o(739,"myM8")]=0,n[o(542,"yPth")]=0,W(n)},startGame:()=>{const e=_0x34942f,o={};o[e(846,"@9dR")]=!0,o[e(584,"fNMT")]=!1,o[e(812,"Qc^w")]=!1,o[e(679,"USbm")]="rolling",{aTXwR:function(W,e){return W(e)}}[e(666,"RXsY")](W,o)},stopGame:()=>{const e={};e[_0x34942f(652,"]@$#")]=!1,W(e)},resetGame:()=>{const e=_0x34942f,o={};o[e(659,"2!]Z")]=!1,o[e(580,"DHoX")]=!1,o[e(631,"5vX^")]=!1,o[e(502,"JZh[")]=[],o[e(778,"4%z]")]=0,o.diceValue=null,o[e(748,"0vuu")]=!1,o.gamePhase=e(744,"p30G"),o[e(764,"USbm")]=0,o.consecutiveSixes=0,o.moveVersion=0,W(o)},rollDiceAction:o=>{const t=_0x34942f,n={mLtnM:t(824,"4oY6"),jZfiI:function(W){return W()},srqdr:t(660,"fNMT"),eIxMw:function(W,e){return W!==e},IAZak:t(578,"@9dR"),OMAgu:function(W){return W()},OuOev:function(W,e){return W>=e},aZtnX:function(W,e,o){return W(e,o)},lyuEc:function(W,e,o){return W(e,o)},JmDJT:function(W,e,o){return W(e,o)}},d=e();if(!d[t(662,"vu2V")]||d[t(850,"e5V^")]||d[t(643,"1O%1")]!==t(798,"mw[5"))return;const r=d.players[d[t(787,"Z6ca")]];if(!r||r[t(821,"0BRj")])return;W({isRolling:!0}),playHaptic(HapticType[t(543,"mw[5")],o[t(832,"^Ubj")]),setTimeout(()=>{const d="dlhi",r=t,i={UWpvE:function(W,e){return n.eIxMw(W,e)},MKrDJ:function(W,e){return W!==e},jnXjI:function(W,e,o){return W(e,o)},IHbYk:function(W,e){return W(e)},UZenn:function(W,e,o){return W(e,o)},bGxaq:n[r(563,"o!fg")],kXoRL:function(W,e){return W===e},UJgKC:"player",jIdKY:function(W,e,o){return W(e,o)}},a=n[r(505,"4%z]")](rollDice),S=n[r(575,"xtHu")](e);if(!S.players[S[r(758,"RXsY")]])return;let s=S[r(712,"M[*D")];if(6===a?s++:s=0,n.OuOev(s,3)){const t={};return t.diceValue=a,t[r(694,"%Dwb")]=!1,t[r(598,"e5V^")]=0,W(t),playSound(GAME_SOUNDS[r(836,"^Ubj")][r(551,"4rhk")],o[r(518,"DHoX")]),n[r(611,"0urb")](playHaptic,HapticType[r(588,"4oY6")],o.enableHaptics),void n[r(566,"atKo")](setTimeout,()=>{const t=r,d=function(W,e){return W(e)},i=e(),a=(i[t(572,"fNMT")]+1)%i.players[t(560,"R28o")],S={};if(S.currentPlayerIndex=a,S[t(723,"HwCR")]=null,S.gamePhase=i.players[a]?.[t(701,"4rhk")]?t(506,"^Ubj"):n[t(841,"o!fg")],S.consecutiveSixes=0,W(S),n[t(548,"wzLu")](e)[t(805,"N6)m")][a]?.[t(801,"iCq%")]){if(t(553,"Z6ca")===n[t(650,"lrhF")]){const W=d(_0x2df0ef,_0x4dbbc3);return d(_0x52fd00,{isGameOver:!0,isWin:(m=W?.id,l=t(670,"qsQA"),m===l),isPlaying:!1,gamePhase:t(789,"N6)m")}),void(W?.id===t(742,"q8[a")?(_0x220323(_0x206e0b[t(762,"e5V^")][t(554,"4%z]")],_0x46509e.enableSounds),_0x54cd1d(_0x15c05f[t(814,"$yhV")],_0x8e9105[t(642,"APCw")])):(s=_0x3234bb,k=_0x2ac6c[t(729,"4rhk")][t(610,"yPth")],u=_0x4dcd19[t(704,"ZsO8")],s(k,u),_0x55cd78(_0x43377b.HEAVY,_0x12e7c8.enableHaptics)))}setTimeout(()=>e()[t(515,"USbm")](o),SNL_GAME_CONFIG[t(711,"0BRj")])}var s,k,u,m,l},1e3)}const k={};k[r(579,"1O%1")]=a,k.isRolling=!1,k.consecutiveSixes=s,k.gamePhase=r(727,"M[*D"),W(k),playSound(GAME_SOUNDS[r(673,"0BRj")][r(550,"0sok")],o.enableSounds),6===a&&(n.JmDJT(playSound,GAME_SOUNDS[r(608,"0sok")].SIX,o.enableSounds),playHaptic(HapticType[r(719,"iCq%")],o[r(724,"USbm")])),setTimeout(()=>{const t="M[*D",n="q8[a",S=r,s={fmOoB:function(W,e){return W===e},kMOGZ:S(824,"4oY6"),Mexyf:S(691,"R28o"),BIpZU:function(W){return W()},ERXDm:function(W,e){return W(e)},fgkLH:function(W,e,o){return W(e,o)},qpMMN:function(W,e,o){return W(e,o)},jLsAA:function(W,e,o){return W(e,o)},oanMq:function(W,e){return W===e},uWxED:function(W,e){return W(e)},rVjRz:function(W){return W()}},k=e();if(!k[S(754,"USbm")]||i[S(677,"fNMT")](k.gamePhase,S(681,"USbm")))return;const u=k[S(805,"N6)m")][k[S(591,"ZsO8")]];if(!u||u[S(590,"0urb")])return;const m=getIntermediatePosition(u[S(803,"fNMT")].position,a),l=calculateNewPosition(u[S(547,"0urb")][S(706,"Qc^w")],a);if(l===u[S(606,"q8[a")][S(731,"2!]Z")])return playSound(GAME_SOUNDS.SNAKES_AND_LADDERS[S(594,"9cse")],o[S(703,"dlhi")]),playHaptic(HapticType.WARNING,o.enableHaptics),void i[S(616,"yPth")](setTimeout,()=>{const t=S,n=e(),d=(n[t(671,"5vX^")]+1)%n.players.length,r={};r[t(725,"]@$#")]=d,r.diceValue=null,r.gamePhase=n[t(776,"4rhk")][d]?.isAI?"ai_turn":t(634,"2!]Z"),r.consecutiveSixes=0,W(r),e()[t(805,"N6)m")][d]?.[t(645,"fNMT")]&&setTimeout(()=>e()[t(829,"N6)m")](o),SNL_GAME_CONFIG[t(833,"$yhV")])},500);const p=k[S(830,"]@$#")][S(785,"GKp^")]((W,e)=>{const o=S;if(i.UWpvE(e,k.currentPlayerIndex))return W;const t={...W};return t[o(606,n)]={...W[o(552,"atKo")]},t[o(606,n)].position=m,t[o(606,n)][o(746,"p30G")]=m===WINNING_POSITION,t}),C={};if(C[S(707,d)]=p,C[S(581,"HwCR")]=k[S(661,"Qc^w")]+1,i[S(570,"p30G")](W,C),i[S(569,d)](playSound,GAME_SOUNDS.SNAKES_AND_LADDERS[S(838,"Z6ca")],o.enableSounds),i[S(510,"ip!5")](playHaptic,HapticType.LIGHT,o[S(724,"USbm")]),m!==l)setTimeout(()=>{const n=S,d=s[n(755,"0BRj")](e);isSnake(m)?(playSound(GAME_SOUNDS[n(770,"0vuu")].SNAKE,o[n(715,"R28o")]),playHaptic(HapticType[n(628,"@9dR")],o[n(773,"wzLu")])):s.ERXDm(isLadder,m)&&(playSound(GAME_SOUNDS.SNAKES_AND_LADDERS[n(619,"DHoX")],o[n(825,"Z6ca")]),playHaptic(HapticType.SUCCESS,o[n(702,"lrhF")]));const r=d[n(576,"xtHu")][n(674,"lrk&")]((W,e)=>{const o=n;if(e!==d[o(675,"^Ubj")])return W;const t={...W};return t.token={...W.token},t.token[o(766,"N6)m")]=l,t.token.isFinished=l===WINNING_POSITION,t}),i=s[n(847,"RXsY")](calculateScore,r[0],r),k={};if(k[n(585,"^Ubj")]=r,k[n(499,"2!]Z")]=i,k[n(741,"p30G")]=d[n(507,"4%z]")]+1,W(k),isGameFinished(r)){const e=getWinner(r),t={};return t[n(848,"Z6ca")]=!0,t[n(717,"lrk&")]="player"===e?.id,t[n(808,"4oY6")]=!1,t[n(710,"ZsO8")]=n(845,"wzLu"),W(t),void(s[n(831,"^Ubj")](e?.id,"player")?(s[n(567,"4rhk")](playSound,GAME_SOUNDS[n(635,"6vyO")].WIN,o[n(630,"fNMT")]),s[n(834,"4oY6")](playHaptic,HapticType.SUCCESS,o[n(718,"M[*D")])):(s[n(644,"RXsY")](playSound,GAME_SOUNDS[n(680,"lrk&")].GAME_OVER,o[n(685,"xtHu")]),playHaptic(HapticType[n(544,"$yhV")],o.enableHaptics)))}setTimeout(()=>{const d=n,r=e();if(s[d(613,"0urb")](a,6)){const e={};e[d(663,"q8[a")]=null,e[d(604,t)]=s[d(765,"ip!5")],W(e)}else{const n=(r[d(807,"0vuu")]+1)%r[d(759,"e5V^")][d(508,"p30G")],i={};i[d(735,t)]=n,i[d(796,"$yhV")]=null,i[d(643,"1O%1")]=r[d(699,"9cse")][n]?.[d(813,"e5V^")]?s[d(819,"myM8")]:d(624,"^Ubj"),i[d(529,"@0GW")]=0,W(i),e()[d(705,"5vX^")][n]?.[d(813,"e5V^")]&&setTimeout(()=>e()[d(767,"yPth")](o),SNL_GAME_CONFIG[d(627,"dlhi")])}},400)},SNL_GAME_CONFIG[S(716,"ZsO8")]+100);else{if(S(788,"1O%1")===i.bGxaq)return _0x360d85[S(513,"0urb")];{const t=calculateScore(p[0],p),n={};if(n[S(592,"qsQA")]=t,W(n),isGameFinished(p)){const e=getWinner(p),t={isGameOver:!0};return t[S(601,"mw[5")]=e?.id===S(638,"GKp^"),t[S(640,"RXsY")]=!1,t[S(749,"^Ubj")]=S(517,"p30G"),W(t),void(i[S(678,"JZh[")](e?.id,i[S(851,"$yhV")])?(i[S(777,"0BRj")](playSound,GAME_SOUNDS.SNAKES_AND_LADDERS[S(747,"$yhV")],o[S(811,"N6)m")]),playHaptic(HapticType[S(528,"fNMT")],o[S(622,"DEGH")])):(playSound(GAME_SOUNDS[S(587,"RXsY")][S(582,"]@$#")],o.enableSounds),playHaptic(HapticType.HEAVY,o[S(720,"9cse")])))}setTimeout(()=>{const t=S,n=e();if(s[t(780,"q8[a")](a,6))s[t(533,"iCq%")](W,{diceValue:null,gamePhase:s[t(612,"qsQA")]});else{const d=(n[t(534,"4rhk")]+1)%n[t(641,"0BRj")][t(676,"%Dwb")];s[t(732,"0sok")](W,{currentPlayerIndex:d,diceValue:null,gamePhase:n.players[d]?.[t(737,"lrk&")]?s[t(696,"dlhi")]:"rolling",consecutiveSixes:0}),s[t(827,"6vyO")](e)[t(815,"myM8")][d]?.isAI&&setTimeout(()=>e()[t(573,"M[*D")](o),SNL_GAME_CONFIG[t(711,"0BRj")])}},400)}}},400)},SNL_GAME_CONFIG[t(686,"4oY6")])},makeAITurn:o=>{const t="DHoX",n="DEGH",d="Z6ca",r="yPth",i=_0x34942f,a={VgMLp:function(W,e){return W(e)},ledqo:i(639,"0urb"),ntwbm:function(W,e,o){return W(e,o)},hiczu:function(W){return W()},EtSDR:function(W,e,o){return W(e,o)},tzloQ:function(W,e){return W(e)},ORjrN:i(840,"APCw"),jGEiQ:function(W){return W()}},S=e();if(!S[i(593,"^Ubj")]||S[i(509,"N6)m")]!==i(800,"M[*D"))return;const s=S[i(698,"q8[a")][S[i(605,"USbm")]];if(!s||!s[i(695,"vu2V")])return;const k=a.jGEiQ(rollDice),u={};u[i(844,"qsQA")]=k,u.isRolling=!1,W(u),a[i(626,"Z6ca")](playSound,GAME_SOUNDS[i(607,"o!fg")][i(817,"atKo")],o[i(685,"xtHu")]),playHaptic(HapticType[i(668,"q8[a")],o[i(667,"0vuu")]),setTimeout(()=>{const S="4rhk",s="0BRj",u=i,m={UrBFK:function(W,e){return W+e},vxBKg:u(799,"HwCR"),xYQmR:u(540,"qsQA"),WCYZU:function(W){return W()},ycdKk:function(W){return W()},tjEZx:function(W,e,o){return W(e,o)},SyNDG:function(W,e){return W!==e},dnCDv:function(W,e,o){return W(e,o)},ENdka:u(782,"M[*D"),cQXHW:a.ledqo},l=a[u(655,"%Dwb")](e),p=l.players[l[u(837,"ip!5")]];if(!p)return;const C=getIntermediatePosition(p[u(822,"4oY6")][u(828,"myM8")],k),f=a[u(618,"Qc^w")](calculateNewPosition,p[u(849,t)][u(656,"4oY6")],k);if(f===p[u(552,"atKo")][u(519,"9cse")]){const r=(l.currentPlayerIndex+1)%l[u(705,"5vX^")][u(538,"mw[5")],i={};return i[u(541,t)]=r,i[u(700,"o!fg")]=null,i.gamePhase=l[u(539,"vu2V")][r]?.isAI?"ai_turn":u(726,"GKp^"),a[u(522,n)](W,i),void(e()[u(577,d)][r]?.isAI&&a[u(595,"GKp^")](setTimeout,()=>e().makeAITurn(o),SNL_GAME_CONFIG[u(531,"M[*D")]))}const R=l[u(561,"6vyO")].map((W,e)=>{const o=u;if(e!==l.currentPlayerIndex)return W;const t={...W};return t[o(791,r)]={...W[o(769,"M[*D")]},t[o(791,r)][o(766,"N6)m")]=C,t[o(791,r)][o(556,"myM8")]=C===WINNING_POSITION,t}),O={};if(O[u(709,"iCq%")]=R,O[u(503,"1O%1")]=l.moveVersion+1,W(O),playSound(GAME_SOUNDS[u(555,"yPth")].MOVE,o[u(835,"RXsY")]),playHaptic(HapticType[u(498,"0urb")],o.enableHaptics),C!==f)if("EKALQ"!==u(790,"4%z]")){const W=HDlFQQ.UrBFK(_0x130171[u(526,"@9dR")],1)%_0x5ab4ba[u(738,"lrhF")][u(602,"myM8")],e={};e[u(586,"@0GW")]=W,e.diceValue=null,e[u(750,"0BRj")]=_0x36b76b[u(805,"N6)m")][W]?.[u(564,"1O%1")]?HDlFQQ.vxBKg:HDlFQQ[u(772,"yPth")],e[u(568,"ZsO8")]=0,_0xd77795(e),_0x2436b5()[u(647,"ZsO8")][W]?.[u(792,"wzLu")]&&_0x360b37(()=>_0x1df25f()[u(751,"6vyO")](_0x4b4174),_0x31a0e0[u(597,"DHoX")])}else setTimeout(()=>{const t="atKo",n=u;if(!m[n(520,"APCw")](n(774,"0vuu"),n(826,"^Ubj")))return _0xc244a3(_0xd52fc7);{const d=e();isSnake(C)?(m[n(672,"M[*D")](playSound,GAME_SOUNDS[n(504,"@0GW")][n(589,"e5V^")],o[n(794,"ip!5")]),m[n(562,"RXsY")](playHaptic,HapticType[n(745,"9cse")],o[n(773,"wzLu")])):isLadder(C)&&(playSound(GAME_SOUNDS[n(587,"RXsY")][n(802,"1O%1")],o[n(752,"atKo")]),playHaptic(HapticType.SUCCESS,o[n(657,S)]));const r=d[n(502,"JZh[")][n(523,s)]((W,e)=>{const o=n;if(e!==d[o(775,"1O%1")])return W;const r={...W};return r[o(552,t)]={...W[o(823,"JZh[")]},r[o(552,t)][o(656,"4oY6")]=f,r[o(552,t)][o(781,"GKp^")]=f===WINNING_POSITION,r}),i=calculateScore(r[0],r),a={};if(a[n(609,"4%z]")]=r,a.playerScore=i,a[n(633,"DEGH")]=d[n(565,S)]+1,W(a),isGameFinished(r)){const e=getWinner(r),t={};return t[n(537,"4%z]")]=!0,t.isWin="player"===e?.id,t[n(662,"vu2V")]=!1,t.gamePhase=m[n(684,"@9dR")],W(t),void(e?.id===m[n(728,"USbm")]?(playSound(GAME_SOUNDS[n(673,s)][n(559,"e5V^")],o[n(574,"]@$#")]),playHaptic(HapticType[n(546,"0sok")],o.enableHaptics)):(playSound(GAME_SOUNDS[n(608,"0sok")].GAME_OVER,o[n(794,"ip!5")]),playHaptic(HapticType.HEAVY,o[n(733,"RXsY")])))}setTimeout(()=>{const t=n,d=m.WCYZU(e);if(6===k){const n={diceValue:null};n[t(512,"vu2V")]=t(669,"xtHu"),W(n),setTimeout(()=>e()[t(708,"e5V^")](o),SNL_GAME_CONFIG.AI_DELAY)}else{const n=m[t(740,"2!]Z")](d[t(534,"4rhk")],1)%d[t(614,"Qc^w")].length,r={};r[t(648,"$yhV")]=n,r[t(500,"2!]Z")]=null,r[t(571,"qsQA")]=d.players[n]?.[t(524,"ZsO8")]?t(743,"ZsO8"):t(793,"myM8"),r[t(615,"yPth")]=0,W(r),m[t(525,"dlhi")](e)[t(763,"atKo")][n]?.isAI&&m.tjEZx(setTimeout,()=>e()[t(535,"R28o")](o),SNL_GAME_CONFIG.AI_DELAY)}},400)}},SNL_GAME_CONFIG[u(839,"4%z]")]+100);else{const r=a.ntwbm(calculateScore,R[0],R),i={};if(i[u(714,"mw[5")]=r,W(i),a[u(852,"1O%1")](isGameFinished,R)){if(u(501,t)!==a[u(646,"myM8")]){const W=_0x9ccf32(_0x46e57e);return TZdtEn[u(809,"Qc^w")](_0x3d6e02,{isGameOver:!0,isWin:W?.id===TZdtEn[u(843,d)],isPlaying:!1,gamePhase:u(654,"e5V^")}),void("player"===W?.id?(_0x4d937e(_0x4ef0f6.SNAKES_AND_LADDERS.WIN,_0x357500.enableSounds),_0x5cac52(_0x4b23ac[u(842,"myM8")],_0x256239[u(658,"R28o")])):(_0x26ae50(_0x555e9a[u(762,"e5V^")][u(651,"^Ubj")],_0x3a4f2d[u(558,"$yhV")]),TZdtEn[u(637,"p30G")](_0xee9315,_0xd9a6d2[u(617,"^Ubj")],_0x1a8f85[u(734,"$yhV")])))}{const e=getWinner(R),t={};return t[u(599,"APCw")]=!0,t.isWin="player"===e?.id,t[u(649,"R28o")]=!1,t.gamePhase=u(654,"e5V^"),W(t),void(e?.id===a.ledqo?(playSound(GAME_SOUNDS[u(636,n)][u(689,"9cse")],o[u(756,"0BRj")]),playHaptic(HapticType.SUCCESS,o[u(713,"HwCR")])):(a[u(596,"5vX^")](playSound,GAME_SOUNDS[u(625,"qsQA")][u(761,"HwCR")],o[u(753,"USbm")]),playHaptic(HapticType[u(683,"GKp^")],o[u(721,"vu2V")])))}}setTimeout(()=>{const t=u,n=e();if(6===k){const n={};n[t(629,"M[*D")]=null,n[t(621,"4%z]")]=t(521,"yPth"),W(n),setTimeout(()=>e().makeAITurn(o),SNL_GAME_CONFIG.AI_DELAY)}else{const d=(n[t(797,"dlhi")]+1)%n[t(614,"Qc^w")][t(557,"iCq%")],r={};if(r[t(526,"@9dR")]=d,r[t(536,"wzLu")]=null,r[t(623,"@9dR")]=n[t(709,"iCq%")][d]?.[t(813,"e5V^")]?t(664,"GKp^"):m.xYQmR,r[t(795,"5vX^")]=0,W(r),e().players[d]?.[t(645,"fNMT")]){if("zTorP"!==t(722,"DHoX")){if(_0x49a7a7!==_0x2c8609[t(620,"0urb")])return _0x391da1;const W={..._0xba2152.token};W[t(519,"9cse")]=_0x58fc7e,W[t(632,"DHoX")]=_0x400447===_0xffab9c;const e={..._0x3a0cd4};return e[t(730,"vu2V")]=W,e}m.dnCDv(setTimeout,()=>e()[t(693,"4rhk")](o),SNL_GAME_CONFIG[t(760,"vu2V")])}}},400)}},800)}})));export const useIsPlaying=()=>useSnakesAndLaddersStore(_temp);export const useIsGameOver=()=>useSnakesAndLaddersStore(_temp2);function _0x370a(){const W=["gbFdR8k4W4GtW5S+WRa","e8obW4T9W4fTcW","WQftnuldVq","nuevw1a","W7jwW5KRW4KwBSkJWPVdPGpcN8kFW7W","eSoBW4rY","W4CUW7pdVmogAay","WQtdMxVcRYS","BSkjW4ednW","W5fykG","b8kNoeRcOSkMF3tcJSomq09/WO7cSIbyWQW","b8kWg8oZqIpcU8kwyqC","W44FfuKZDa","W4tcUmoxW6GDWPyVCfCtoWS","W5eiuG","CgZdS8o0umkn","ns7dP8kbWR7dLeO","WOBcKM7dK8oH","W4nBWQNcPCoP","WPdcIfe1","W7OeW4VdMmoCws0Lpg4C","WRZdJ2xcJYy","W7emW5BdSCoc","fbpcHSkTfCopb3VdUmkGWOlcM2dcGd4O","WQZcMWGTDq","icK7W6LA","WRqIWQqwW4yXWOtdNJO","WOzApSk3W7SVWRFdNwynW6e2WRRdGCo6lgOs","WPJcGSk0W6SLgdpdKSoMaq","W4hdINVcGSokbmoHW6JcV0vjWPy","kZL5l0S","mq9+p2FdKmk3","w8kjW7iVfCo6nW","tcSdnw8","WP3cKNmzhCk/WOhdG8kW","FNXlpCkxxmooeSoVcq","W6BcQ1tcVCodoshcUvCdAW","W6pdPvFcPCo5lSoKW4lcMa","W693lmozWQ8","WOXCc8kKW7mKWOZdU28E","W5tcOty+rCojjW","W5lcJmk3qZjZgmkixSo2pHNdPmoibSoMW5NcJa","WRhcSMZdNmosW4KCg8kgW53dJ8kGW5RdVxqVWO3dGq","xCoaW4j1CW","W5upxCklwW","WRXph24","faNcMSkSfCocbL/dVCk3WP7cRxVcStu/DSkT","WQmVWQGkW7mRWRBdJJb3iG","W43cVGCRqCocpCkmWQ8","WOhdPmoVgCovW53dL2pcRG","hXddISk1W4K","qvVcPaZdRW","vKztgmk/DCoapq","W6uUCSkZE0ldLXGzW5a3n8oTWRHTW50","ACoYltxcVCkiWOjpjgW","DmoUathcVG","a8o9aSoaiq","aSkMm8o9wci","W4rRW6vbWOFdImk5W6D0W5zFWQ3dUq","WPlcGSkYW6S0oqBdLmoX","tmkelmkIp8oBWQHlWQhcIbldNCorW7z/WQFdIX8","WRNcTv7dQ28","W5LuWRlcJ8ohWONcJX4aW4FcRHZcP8ouz8kbW6nW","e8oAW4L1W4fTb8obW74qaGeDW4hdUq4bWPq","W7z9bCoHWOHXda","e8kOnetcUmk6DNdcKG","WRrMkKNdIW","WRGoWOy0W4W","WRnreuJdKq","WOy3WRupW5hcJSo+","n8kgf3lcGSkwvuhcQCo+EvbxWRlcKXy","pSkhiwVcRG","W6ZcIbyrEq","WRmVWOCYW6y","w05igmk/AW","WRzjlfxdTSobW77dRZKDjCk8W7n5WPHPhmoT","W6fWcCo9WR1RhGGj","W7pcK8kAhSkVyfFdJqazhSkiha","AqiwiK7dOZRcIrK","W5BcOJSRsCovmW","WOanWOG4W5mkWRRdRbfbgmksWRzVWRhdGmkTmW","rCkrW6q0hq","WRJcIdihxSkMwtC","sZePceW","WPhcISk8W6SYmaVdKSoX","WObblCkNW7iKWPddON8cW7WG","rLZcHaFdRa","FNXknCkuumoYdmoVhW","W7VcKSkngCkvyg3dNXKcgq","W7r0v8oNWOfLW6O","fGZdH8kZWP7dTwBcRIxcPmkFjCoAxJHfxWK","W4xcS8k6n8kgvKddRt4PkmkNlN3cVv5kW5S","bXuUW5jC","aqJdNmkUW4en","WQvqp17dTSoD","WOVcJ33dU8o2W6mQnmkV","ACkJoSkzruJdNa","zCoVcZBcVmkiWOvymwRcNSkwlq","WP7cMN0zg8k2WOZdHCkW","WOJcSf7dLSow","WOXCdCkm","iCkrn8oOyG","bXdcICkNfCoEaq","W4lcO8oeW7GuWP0it04CjH1GWQzRW5nTWR0","DxRdJCo/rCkCfSktBq","WRavWPT/WOS","W6pcJbOcF8o0aSkNWPO","W43dL0RcJmohgmoBW6NcRq","WQ3cQx7cUJNdMcVcQePQW4rcBCkxW4tdG1LT","W6eGCCkLqu7dLaKc","aetcSCohea","Amo9W6ntvrxdMIS","W7ifW5ZdN8oMwrC3jxuBWPjA","EwFdVmoXsmkan8kCENmZWQbS","W69OA8oNWOLYW6tcTmoG","WQ9OfSkmW7O","WPS0WQitW6lcMCo/W4fpW7je","d8kPDqW5W7mZW4KZ","WQNcS1BdQ1CynSoyWQu","ea3dOSkJW5enW5W","WP3cQa4MtCklDbS1","WOpcQhxdOmof","WOmcWOtcUCogWPJcTftdLCkLW4X1WQe","WOhcK3ldHLu","iaPamNFdKmkQ","WQmVWQGkW7mR","tfRcOrZdPZHQW77dRsBcNL83W5FcJ8oEjMC","WPhcJCkCW4Os","sSkbgSkRzwNdSmoaqSkRW5dcG8ktWQZcPfuZpq","WQpcVxW","W4FcUcu1rCovimkYWQtcTCksW61RW6vHtYFdMq","beJcVmoAeCot","WQHKpSkbW5q","xmodwSkOW4u","smkqm8k1cSoDWR1OWQG","WP3cKK3cGXNdPqdcUwHpW6jRxSkAW67dOM5g","qSkEkmk5nmos","W6BcKCkAbCkMD2W","oshdVmkbW70","sY0Flh8","ja1+jg7dH8kxWQlcHCkfW6ZcPq","xmoBW5n/FI7dUGLIW4nUw8kVW4hcQCkAW7hcOG","W5VcN8kXbSkg","hq4YW5vF","WPxdRmoV","kCoNW5HsW6vhmCoUW5C","FwddGSoNuCkxeq","W5BdI3BcJmopd8ov","W7OkW5BdMmolDqSJj28","av7cGmoscCoxWQm2kG","d8kPzcK","WRtcPbu6Fq","wrRdPCknumkdW7irhvFcJCkLaG","WR3cTLtdT2qlkq","WRldICoanmoVW6ldQW","W65ZWPdcOCouWRVcVcOR","W74yW7ZdTa","WQyjWOT5WPvbeSoYWQhdQcNcHCkN","WPZcRWWHD8kpsWeLW4vGWO4","eHlcICk8hmojiwddPmk4WOpcUW","x0pcSHFdPYrT","WOy0WQCFW4dcLCoIW5W","WONcRqW6FSkyAW","W6SGD8kLx2JdTHKcW4G","W5iwgLCIBSkI","eb3cHCk7imoee3ZdTa","wmkgbmkKzxBdRSoy","WPBcJmkXW70bmHldK8o9gsRdNSoWn2VcJG","W67cQKpcUSo5orVcQ04yBhBcPq","gSoInmoqkSksWQCEW6nAWOi","EwFdVmoXsmkalmksF2K+WRa","nJlcOCktmCo4o0ddN8kjWQpcNvVcUq8sxmkB","WQFcR1VcOti","WPdcJCk+W6Winc/dHSoKgYBdRSoQ","W7eVog0ct8kc","WQFdI8oal8oMW7xdKftcM8klhCkPW5i","a8k0rai0W68sW4yKESkjW6WH","BvTJlSkQ","W6/cRuhcVCodpt/cV1S","sSkFp8kYnSoqWPr6WR3cNqldM8oq","W4FdKwJcKSodd8ogW5FcPKPuWObSwComsCoCgW","aWVdKCk7W40rW5u","WPJcJmkPW6CknG","tmkGbSkydq","W4qLW7ZdTSopBWaxg0uTWR1Ov8ozW5fCW5i","eSk1tGu2","W7z0smoIWPXIW6lcTa","nCodW7b7W4a","WOFcKKZdTCo7W78lo8k4W63dUCkpW6G","W4tcUmoxW6GDWPy0FLijnHTH","WPBcLSkTW7WbpXpdT8o4dJBdQmoRbMdcMCkdca","CfiSDJlcKmoWW73cUSkrW4VcR8oVcW","WQFcR03cGq","WRmlWOTIWPXwkq","dCkSm8oPssNcVCkkBrxcR8oUiM7dHCoA","W5nPEConWQm","ba4VW5vNl8klmSopWRGA","WR3cTLtdT2ql","fHxcT8kQbCoEha","gW41W5XyjmkE","WOFdT8oZaSoy","abiFW5LFi8kkkCodWRm","W7BcN8o4","WO8FWRFcTmogWPhcLvVdGG","W4pcRdOICmotnCkrWQ0","FSkUnSkfCfldJSoYAq","kcpdRCkDWPRdR23cMHNcJG","WRxdMhhcQcNcTXBdNhaNjfu","sSkFp8kYnSoqWO90WRJcHW/dIW","rSkcdSk8o8omWRv1WQO","w8kgk8k6Dq","FmkHoSkctf/dVmoUECkbW6VcVa","kCkKWQmogeJcJt1kW71pv8kv","WOhcIv/dPCoYW7q3cSkKW7JdQCkjW6NdSf4oWRRdQG","W7yTFCk5E1pdKq","j8ktEIqDW4yBW74","W4ZcHw/cNCokeWxcJ2W","W5upxCklw3ldVs0+W6inkmofWOrmW6SSvW","WQddMNhcSYdcOdy","x8kDp8kPp8ohWO94WQlcMW4","WRdcPINdPeW","W5tcH3tdOCoyW6BcRXS","oCkieMtcPSk8DedcSSoM","W7iUD8kLCa","WOhcJmk0W6Sk","WRuIWQtcKmoVWQ7cO3tdQ8kvW7PAWPnmWPBcNqhcGa","WQVdLSoMlmoNW7xdL0pcJSkn","lmkWkgZcTq","oNusuhxcJSoKsSkzWP3cI8oUiW","WPWUWRZcMCo+","WPRcJMiolSkWWPNdPSk5bSoJW70kqIKSW7VcHq","W6ChW5ZdHmoVtIW","C8kgp8kREq","W6vKfSoQWOHTcYSaWRhdTCkUhKWup8oWkq","heBcPcBdGtb4","WQlcU1VdG3a","gbFdU8k+W4OwW4e4WRj1","WPlcGSkYW6S7pHhdGSoM","W5pdIH7cO8kUWQ57iSkSW7JdTCk1W7m","W4hdLCoOWRTvyqpdLCoflcZdNa","haxdJq","W6pcHIldU3ddP3ddTvygaLlcMW","smkqW6eKfCoMmmoinJDkp8kUh3FdVSk6WRS","WQhcKgqpiW","W4pcIwRdRCoZW6dcTHdcSq","W4nAjCouWRW","imkgeMtcIq","nMGYEW","hmkSmCo2rstcRW","WR7cHqFdGxRcMCodW7pcQSkOeCkv","tedcVr3dPZvRW5RdQdhcGMKSW6BcHmoj","W4xcV8ovW68NWPiqAKC","WPRcTb8XFSkeBd48W4P9WPG0v8k/pHBdVG","gmoHoCofjSkoWPm","W6RcRx3cRmoGlJ0","WPtcISkaW7OriWK","W4SjoMC","WRxcULq4dSkm","WPfaj8kGW7a","gmovWQfNrCk9CCoEcrLXlSk7","W5tcHgBdSCojW73cSW","zXaSlNa","WOuzWPFcQCopWPpcIgxdICkWW5XZWQbbWRZcVdBcQW","CCoHW4bwqaxdNcTj","WQa8WPK6W4q","wCkkW786gCoMiW","W4hcHMBdQSoaW6RcKXRcTJ/dKCoW","WP8OWOmFW5O","W68YxCkj","W7lcG8o1W4K0WQaV","hSkVpmoJstJcUW","W5xcUCoDW68F","WOldUvZcHG","W7ZdQWlcVdLnBSo9WQmIW4ldP8ob","i8kMjCoJsG","a8kTaSopWRGBudGGEgbw","Cmk8gSkP","Bmo9W7TFtW","q8o0xSkFW6C","ASo9W7XwsbldKG","tSklW7i0hmoTf8o3lZHxkq","W53cPXmfyG","nXtdRmkQWQe","hSkSlSoZwcpcP8kq","W4NcIwZdRCoTW4BcLadcSt8","W5tdIhVcMCode8ob","W4lcObGOyG","W4hcOZyLtmoEhmkdWRJcOmkcW6TQ","W6dcN8oPW440WR89rG","ACoIW513BW","WOFcKKZdTCo7W78qnCk9W7FdTmkF","W7FcGXymzCoOc8kJWOBcKmk0W4ryW6HlBHddSG","WRJcNHtdKxpcKSoKW4ZcS8kNdmkdgIldH8k5W51A","zSkQW4ut","W4DFlCovWQXxnJqIWO/dImkEpKqUeSoAhW","u8o4mcdcVG","W6DwWOFcQSop","pCkwhSozArNcMW","r8kaW7CNhW","WRCQWQOwW4a4WONdMdO","ohOEv0BcHmoAtSkB","zXaRk3/dSJlcLbS","WOtcM0BdM8oF","qSkwW5q3hCoTc8oUpYq","y2bNoCku","W68YtSkVCK3dIWix","W7tcNmorW4eY","WO3cGxWtgG","WPL1gw/dHW","W7z3wSoYWO15W57cUCoOyCkf","W6jYwmoUWR5QW6hcR8oI","rhzwkmku","r8o3vmkdW6XzrW","WPtcLgyzhCk7WP/dHCk8cmo0","W6lcT8keEHjom8kzFmotgdddL8oflmohW67cPW","W4LCjCo/WPG","W4xcPaGZvCojoG","W6T+eSo9WRTMdqGfWR/dOG","bqq3W5DfiG","W4pcIwRdRCo8W6FcOqBcPG","WRhcHt7dIv8","yWWniKJdRINcIrxcICkN","aCk7sauiW6i7W5qX","WRXpcu7dVq","gq04W4LuomkQiSojWQur","qSkqnCk1g8o8WOHUWR/cHW","W7/cQ0NcVCo7","dGa0W5vUjCkpjmou","CMfTpSkwxmosc8o/fCk/W4m","WRldISosjmo+W7NdT1S","u8o4jbdcLW","nCkajNxcKSkhtG","W4dcMSk2mmkZ","DmkUkW","hG/cQCkx","WOdcOGKiCa","BryjnxVdPs/cQHdcH8kWWQlcRmkiASo6W5NdHW","DhpcSCokW6pcKG3cVWJcT8kraSoW","WRz6d8kgW5SsWPa","W5lcLSkRqJj+gCkSw8oHiI/dV8o5dCoX","WRLZWOtcJmobWRZcTG","WRtcQSkaW4OHhsBdVG","W4JcPCoMW6yqWOOvCuu","W5CTa2Sd","W7qEW4/dJ8oVuISgowalWPrBwSoZW7bRW7K","CwJdTSo2zCkSk8kiEgK","o3iqv0/cISoaxSkm","W69Ii8o5WObMma0jWQi","bSoRo8ooo8ki","fSk2rbK9W7GP","WQeSWQuFW783WOi","DhP+lSkFv8o1nmoMgSkIW5xcHWLtxMW0","oCkgd2tcSCkquKBcQCoNCG","j8oleCoGgSkT","W6NcK8o3W5WO"];return(_0x370a=function(){return W})()}export const useIsWin=()=>useSnakesAndLaddersStore(_temp3);export const usePlayers=()=>({ifHAB:function(W,e){return W(e)}}[_0x34942f(583,"4%z]")](useSnakesAndLaddersStore,_temp4));export const useCurrentPlayerIndex=()=>useSnakesAndLaddersStore(_temp5);export const useDiceValue=()=>({MbJzE:function(W,e){return W(e)}}[_0x34942f(687,"DEGH")](useSnakesAndLaddersStore,_temp6));export const useIsRolling=()=>useSnakesAndLaddersStore(_temp7);export const useGamePhase=()=>useSnakesAndLaddersStore(_temp8);export const usePlayerScore=()=>useSnakesAndLaddersStore(_temp9);export const useMoveVersion=()=>useSnakesAndLaddersStore(_temp0);function _temp(W){return W[_0x34942f(690,"0sok")]}function _temp2(W){return W.isGameOver}function _temp3(W){return W[_0x34942f(806,"@9dR")]}function _temp4(W){return W[_0x34942f(561,"6vyO")]}function _temp5(W){return W[_0x34942f(653,"lrk&")]}function _temp6(W){return W.diceValue}function _temp7(W){return W[_0x34942f(545,"GKp^")]}function _temp8(W){return W[_0x34942f(750,"0BRj")]}function _temp9(W){return W[_0x34942f(514,"p30G")]}function _temp0(W){return W[_0x34942f(511,"@9dR")]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0xe65247=_0x52fa;!function(){const e=_0x52fa,t=_0x4493();for(;;)try{if(213517==parseInt(e(276,"bOWl"))/1*(-parseInt(e(284,"(cQx"))/2)+parseInt(e(277,"h!6J"))/3+-parseInt(e(356,"uVUj"))/4+-parseInt(e(299,"2Ilk"))/5+-parseInt(e(315,"xO&#"))/6+parseInt(e(389,"lHhV"))/7+parseInt(e(363,"ur6#"))/8*(parseInt(e(353,"RjGJ"))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();import _0x384418,{useEffect,useCallback,useRef}from"react";import{View,StyleSheet,Pressable}from"react-native";import{Canvas,RoundedRect,Circle}from"@shopify/react-native-skia";import _0x5eb89d,{useSharedValue,useAnimatedStyle,withSequence,withTiming,withSpring,Easing,useDerivedValue}from"react-native-reanimated";import{useSnakesAndLaddersStore}from"../SnakesAndLaddersStore.js";function _0x4493(){const e=["dHfcW7ldOxJdOGzSySoO","W57dJJTJWPLvW41UW67cMwqq","pmowzSkfWQJcMcVdGa1qoKy","WQzAcCozWO8","W5/cS2SUW7eqW5y","lIddJYVdJ8kLWRb/WRq","WPJcINq4W44","mYzFW6i3v8o8bW","E1BdS8oFDmk7g8on","WPDLW4ihDXHIla","DtyWeSkQW4acw8kJWPVdMLO","W61kwdJdHuNdJa","WO4PWPvFWO0","iLNdKIpdOCoLlX3cOSkJif4q","CCkTWOy8WRG","daBdIJhdPCor","i2ddJmo8W5u","yMhcMSkUW5i","W45WW47cUdDUpmkvbSk2WRJdSW","dW9WW4BdRX7cQfu","xCkJW793oG","W7i2WOhcVCoF","WPBdSCozqCop","WRnob8ofWOK","W4JdQ8oMWOLq","mxtdKSoOW4tcVCoyDW","ymkPDCoPvG","W7W8WOdcVq","WRGzbx/cKq","zmoSWOfCW4RdUa","vvGuW6vT","W5BcS8odqw3cJSo3WPa","Cd89a8kG","WRrsbSojWRXnW4/dMSoH","wmoYWOJdPbezzG","fHpdQCkYWQO","gCo/b39p","y8kycCoEW64","t0ddPSolW4m","WRZcOd3cLhtdM8khnvP3","WPD5W5md","x8o8WQ9UtbNcH8osb1ZdJYib","f8kYzmkCyq","A8oWWP1lW47dPmo2W67dQmo/fmkkbmkKWPmymxi","FX3cKG","wmoWWONdPG","w8kCWRJdOSkfW6vz","WQjcfCoQWPWW","bb7dLSoVqcz7W7FdIq","WQDOW58OwG","smoHWRXRvWFcP8om","lGTaW6TgW4VcL1fz","WRKrdx7cNa","qmoTWPLGua","EKxcSmoaW6hcG8kMWOZcVLqGW7O","Emo5WObYrG","n8kAW67cM2C","WO9cW6VcK8oy","eGZdKdFdPCoC","AmkPWPGwWPe","kZBdSsddMSk0","W4fdoGpcO8ovW54aBCoWW48j","WOJdQ8oVwSolBCkQtNi","FSkup8oq","W6lcJCoEveW","gHrqW7VdQgVdQa","WPeex8odE8kvuXyVWQFdSSkg","WP01WOnkWPhdPmk7AW","WPpcL8ksWPpcVWK4W7zEctm","WPaoq8otE8kv","CmktcSkzW6LXsa","iZXyW6aRx8oXbr8","r8k7ySoMcJxdQvNcVW","vSkoWPtdMW","drzTW4JdQq","WRnjamonWP5j","pHVdQchdMq","oWFdP8kzWQddM8kZWPZcR0C","WR1ogmo5WPW","lseO","j8k1CCkMDG","W5bwW7yGrtDl","xmoYWQLRsq","W6JdVmkVWRHiW7BcOa","sCkCWRNdP8kj","vHu+aSkq","mtldSZldIW","kSowt8oyWRWQCgldTCo6DdW","bbDFW6C","wmoXW7JdPbmCeG","WRpdTmoSfmovl04v","CSkcW61M","WOxdRCopvmotAmkStG","W7K8WOtcTCofW6O","thRcHCkXW58","xmkiWQFdOmkjW6vk","WQzceSoQWOaS","FSoKWOnmW44","WOKHWPldVwC","iZldSJFdH8kYWR4","WRLtfCoRWPiQnSohga","WP3cN2eHW44","Ehr/cmkdWR5evWGLWRPG","WOhdSCkjesZdLmooWQrKwKBcQa","emkMACkn","wmkLWRSEWP0rEa","WPyhCfxdOmkkW5Gb","oNtdLa","W6e/WORcS8oh","crDDW63dVW","gmozWQHWEr/cPW","WRDAcmojWRPeW4ldNmoH","z3tcN8k9W5ejeSoXDW","WP3cUmk7W44ejmou","jdTmW6CSsCobcb5cW5RdOW","WObWcSoyWR8","Dde9gSkbW54UwmkeWOVdI0CXW7i","WQ/cGW7dJr8HaCk1WO3cImoN","iaddSG","WQzScJ0DWRFcJYNcSSkcWOi","zSkAEmodlW","WPS1WOZdQxyYo8kq","WOpcUcxdOGe","WO8HWP1EWOa","WQhdOmoYamoe","W7RdUCkQWRHjW7tdMCkhBMRcSSkq","WQBcICo6W5Ki","gXddImoKqczi"];return(_0x4493=function(){return e})()}import{setGameInterval,clearGameInterval}from"../../../helpers/GameTimer.js";import{jsx as _0xb961c5,jsxs as _0x283ada}from"react/jsx-runtime";const DICE_SIZE=60,DOT_RADIUS=5,_0x3f6bb5={};function _0x52fa(e,t){e-=262;const n=_0x4493();let o=n[e];if(void 0===_0x52fa.iRdSgM){const e=function(e,t){let n,o,i=[],d=0,a="";for(e=function(e){let t="",n="";for(let n,o,i=0,d=0;o=e.charAt(d++);~o&&(n=i%4?64*n+o:o,i++%4)?t+=String.fromCharCode(255&n>>(-2*i&6)):0)o="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(o);for(let e=0,o=t.length;e<o;e++)n+="%"+("00"+t.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(n)}(e),o=0;o<256;o++)i[o]=o;for(o=0;o<256;o++)d=(d+i[o]+t.charCodeAt(o%t.length))%256,n=i[o],i[o]=i[d],i[d]=n;o=0,d=0;for(let t=0;t<e.length;t++)o=(o+1)%256,d=(d+i[o])%256,n=i[o],i[o]=i[d],i[d]=n,a+=String.fromCharCode(e.charCodeAt(t)^i[(i[o]+i[d])%256]);return a};_0x52fa.QpBsCE=e,_0x52fa.otBvcA={},_0x52fa.iRdSgM=!0}const i=n[0];_0x52fa.WSenrd!==i&&(_0x52fa.otBvcA={},_0x52fa.WSenrd=i);const d=_0x52fa.otBvcA[e];return void 0===d?(void 0===_0x52fa.GreGWv&&(_0x52fa.GreGWv=!0),o=_0x52fa.QpBsCE(o,t),_0x52fa.otBvcA[e]=o):o=d,o}_0x3f6bb5.cx=30,_0x3f6bb5.cy=30;const _0x1766bb={cx:15,cy:15},_0x4b8404={cx:45,cy:45},_0x26ff48={cx:15,cy:15},_0x4a9926={cx:30,cy:30},_0x3b3394={cx:45,cy:45},_0x2cec7c={cx:15,cy:15},_0x109f5a={cx:45,cy:15},_0x1c2eff={cx:15,cy:45},_0x2576dd={cx:45,cy:45},_0x481323={cx:15,cy:15},_0x5685c9={cx:45,cy:15},_0x34cb8c={cx:30,cy:30},_0x1d7269={cx:15,cy:45},_0x24dd4f={cx:45,cy:45},_0x71ebec={cx:15,cy:15},_0x2e30e9={cx:45,cy:15},_0x4066c9={cx:15,cy:30},_0x1040dc={cx:45,cy:30},_0x412a70={cx:15,cy:45},_0x598223={cx:45,cy:45},_0x44b6dd={};_0x44b6dd[1]=[_0x3f6bb5],_0x44b6dd[2]=[_0x1766bb,_0x4b8404],_0x44b6dd[3]=[_0x26ff48,_0x4a9926,_0x3b3394],_0x44b6dd[4]=[_0x2cec7c,_0x109f5a,_0x1c2eff,_0x2576dd],_0x44b6dd[5]=[_0x481323,_0x5685c9,_0x34cb8c,_0x1d7269,_0x24dd4f],_0x44b6dd[6]=[_0x71ebec,_0x2e30e9,_0x4066c9,_0x1040dc,_0x412a70,_0x598223];const DOT_COORDS=_0x44b6dd,useDiceValue=()=>({FfyOr:function(e,t){return e(t)}}[_0x52fa(382,"tBEY")](useSnakesAndLaddersStore,_temp)),useIsRolling=()=>({YfoEy:function(e,t){return e(t)}}[_0x52fa(337,"uVUj")](useSnakesAndLaddersStore,_temp2)),useCanRoll=()=>useSnakesAndLaddersStore(_temp3);export const Dice=_0x384418[_0xe65247(329,"#c$D")](({settings:e})=>{const t="^O6e",n="(cQx",o="h!6J",i=_0xe65247,d={yHwfw:function(e,t,n,o,i,d,a){return e(t,n,o,i,d,a)},MHLuc:function(e,t,n){return e(t,n)},LZWMG:function(e,t,n,o,i,d,a,r,W){return e(t,n,o,i,d,a,r,W)},PKotU:function(e,t,n){return e(t,n)},UZGkD:function(e,t,n,o,i,d,a,r){return e(t,n,o,i,d,a,r)},TmNxe:function(e,t,n){return e(t,n)},CTYre:function(e){return e()},HRHJI:function(e,t){return e(t)},MiPRL:function(e,t){return e(t)},TxoNY:function(e,t){return e(t)},gUBTJ:function(e,t){return e(t)},lksgu:i(383,"vbGA"),mGdSq:function(e,t,n){return e(t,n)},pfgaj:i(313,"Y$es"),JfgOS:function(e,t,n){return e(t,n)}},a=useDiceValue(),r=d[i(340,"vNEq")](useIsRolling),W=useCanRoll(),s=useSnakesAndLaddersStore(e=>e[i(290,"Ft2!")]),x=useRef(e);x[i(269,"6tMa")]=e;const u=useSharedValue(0),_=d[i(296,"23oQ")](useSharedValue,1),l=useSharedValue(0),m=useSharedValue(0),S=d[i(316,"T@Y8")](useSharedValue,1);useEffect(()=>{const e={Xzsjh:function(e,t){return e>=t}};if(!r)return;let t=0;const n=setGameInterval(()=>{const o=_0x52fa;S[o(275,"95dF")]=Math[o(376,"AEBD")](6*Math.random())+1,t++,e[o(268,"VZ1i")](t,10)&&clearGameInterval(n)},50);return()=>clearGameInterval(n)},[r,S]);const O=useDerivedValue(()=>r?S[i(305,"wQ]m")]:null!==a?a:1,[r,a]),f=d[i(351,"vbGA")](useDerivedValue,()=>(DOT_COORDS[O[i(298,"pw!s")]]?.[i(362,"rgU^")]??0)>0?1:0),h=useDerivedValue(()=>(DOT_COORDS[O[i(326,"AXmh")]]?.[i(270,"2EMJ")]??0)>1?1:0),C=useDerivedValue(()=>(DOT_COORDS[O[i(386,"6tMa")]]?.[i(317,"xqJy")]??0)>2?1:0),D=d[i(328,"[RIS")](useDerivedValue,()=>(DOT_COORDS[O[i(334,"Ft2!")]]?.length??0)>3?1:0),k=useDerivedValue(()=>(DOT_COORDS[O[i(272,"T^nh")]]?.length??0)>4?1:0),g=useDerivedValue(()=>(DOT_COORDS[O[i(305,"wQ]m")]]?.length??0)>5?1:0),b=useDerivedValue(()=>DOT_COORDS[O[i(388,"rgU^")]]?.[0]?.cx??0),y=useDerivedValue(()=>DOT_COORDS[O[i(318,"1eNc")]]?.[0]?.cy??0),v=useDerivedValue(()=>DOT_COORDS[O.value]?.[1]?.cx??0),R=useDerivedValue(()=>DOT_COORDS[O[i(344,"tBEY")]]?.[1]?.cy??0),w=useDerivedValue(()=>DOT_COORDS[O.value]?.[2]?.cx??0),T=useDerivedValue(()=>DOT_COORDS[O[i(334,"Ft2!")]]?.[2]?.cy??0),V=useDerivedValue(()=>DOT_COORDS[O[i(297,"JxSU")]]?.[3]?.cx??0),p=d[i(294,"J8LP")](useDerivedValue,()=>DOT_COORDS[O[i(330,"Y$es")]]?.[3]?.cy??0),P=useDerivedValue(()=>DOT_COORDS[O.value]?.[4]?.cx??0),Q=useDerivedValue(()=>DOT_COORDS[O.value]?.[4]?.cy??0),J=useDerivedValue(()=>DOT_COORDS[O[i(344,"tBEY")]]?.[5]?.cx??0),G=d.gUBTJ(useDerivedValue,()=>DOT_COORDS[O[i(271,"e1*h")]]?.[5]?.cy??0),E=d[i(289,"wQ]m")](useCallback,()=>{const e=i,t={};t[e(295,"T^nh")]=60;const a={};a[e(352,n)]=50;const r={};r[e(279,"T@Y8")]=12,r.stiffness=300,l[e(338,"g1oE")]=d[e(378,"rgU^")](withSequence,withTiming(-20,{duration:80,easing:Easing[e(346,"xO&#")](Easing.quad)}),d.MHLuc(withTiming,-35,{duration:80,easing:Easing.out(Easing[e(278,"tBEY")])}),withTiming(-15,t),withTiming(-25,{duration:60}),withTiming(-8,a),withSpring(0,r));const W={};W[e(264,"pw!s")]=40;const S={};S[e(321,"AEBD")]=40;const O={};O[e(333,o)]=40;const f={};f[e(327,"1eNc")]=40;const h={};h[e(311,"vbGA")]=40;const C={};C[e(310,"pQK[")]=40;const D={};D[e(309,"D^qi")]=40;const k={};k[e(348,"6tMa")]=15,k[e(286,"VZ1i")]=400,m[e(386,"6tMa")]=d[e(358,"9]7v")](withSequence,withTiming(8,W),withTiming(-10,S),withTiming(12,O),d.PKotU(withTiming,-8,f),withTiming(6,h),withTiming(-5,C),withTiming(3,D),withSpring(0,k));const g={};g[e(273,"rgU^")]=20,g.stiffness=200;const b={};b[e(321,"AEBD")]=0,u.value=d.UZGkD(withSequence,withTiming(180,{duration:80,easing:Easing.in(Easing[e(365,"[Ce6")])}),withTiming(450,{duration:100,easing:Easing[e(331,"e1*h")]}),withTiming(720,{duration:100,easing:Easing.linear}),withTiming(900,{duration:80,easing:Easing[e(292,"uVUj")](Easing.quad)}),withTiming(1080,{duration:60,easing:Easing[e(281,"1eNc")](Easing[e(325,"wQ]m")])}),d[e(357,"(cQx")](withSpring,1080,g),withTiming(0,b));const y={};y[e(352,n)]=80;const v={};v[e(266,"Yw2@")]=80;const R={};R[e(280,"ur6#")]=80;const w={};w[e(369,"JxSU")]=60;const T={damping:10};T[e(274,"2EMJ")]=300,_[e(334,"Ft2!")]=d[e(322,"%)Ub")](withSequence,withTiming(1.2,y),withTiming(.9,{duration:80}),d[e(387,"Ft2!")](withTiming,1.15,v),withTiming(.95,R),withTiming(1.08,w),d[e(366,o)](withSpring,1,T)),s(x[e(372,"lHhV")])},[s,l,m,u,_]),q={};q[i(379,"uVUj")]=l.value;const M={};M[i(341,"oGFY")]=m.value;const I={};I[i(360,"xqJy")]=u[i(319,"VZ1i")]+i(381,"bOWl");const A={};A[i(359,"UnRh")]=_[i(344,"tBEY")];const U=useAnimatedStyle(()=>({transform:[q,M,I,A]})),L={x:0,y:0};L[i(354,"Y$es")]=60,L[i(349,"2EMJ")]=60,L.r=10,L[i(283,t)]=d.lksgu;const Y={x:0,y:0};return Y[i(314,"JxSU")]=60,Y.height=60,Y.r=10,Y[i(323,"#c$D")]=i(263,"9]7v"),Y[i(308,"95dF")]="stroke",Y.strokeWidth=2.5,_0xb961c5(View,{style:styles.container,children:_0xb961c5(Pressable,{onPress:W?E:void 0,style:styles[i(373,"D^qi")],children:_0xb961c5(_0x5eb89d[i(265,"%)Ub")],{style:[styles[i(293,"J%V%")],U],children:_0xb961c5(View,{style:styles[i(342,"vbGA")],pointerEvents:i(262,t),children:_0x283ada(Canvas,{style:StyleSheet.absoluteFill,children:[_0xb961c5(RoundedRect,L),_0xb961c5(RoundedRect,Y),d[i(300,"2Ilk")](_0xb961c5,Circle,{cx:b,cy:y,r:5,color:d[i(384,"(cQx")],opacity:f}),d[i(361,"T@Y8")](_0xb961c5,Circle,{cx:v,cy:R,r:5,color:i(385,"2Ilk"),opacity:h}),_0xb961c5(Circle,{cx:w,cy:T,r:5,color:"#212121",opacity:C}),d[i(332,"RjGJ")](_0xb961c5,Circle,{cx:V,cy:p,r:5,color:d[i(282,"#c$D")],opacity:D}),_0xb961c5(Circle,{cx:P,cy:Q,r:5,color:i(287,"AXmh"),opacity:k}),_0xb961c5(Circle,{cx:J,cy:G,r:5,color:i(336,"9]7v"),opacity:g})]})})})})})});const _0x140763={};_0x140763.alignItems=_0xe65247(371,"5g)f"),_0x140763[_0xe65247(350,"v0F6")]=20;const _0x3e2778={};_0x3e2778[_0xe65247(368,"5g)f")]=10;const _0xdbedae={};_0xdbedae[_0xe65247(324,"Yw2@")]=0,_0xdbedae[_0xe65247(349,"2EMJ")]=4;const _0x3e4d3={};_0x3e4d3[_0xe65247(370,"0@8d")]=_0xe65247(347,"9]7v"),_0x3e4d3[_0xe65247(312,"Ft2!")]=_0xdbedae,_0x3e4d3[_0xe65247(343,"(cQx")]=.35,_0x3e4d3[_0xe65247(288,"D^qi")]=6,_0x3e4d3.elevation=10;const _0x31cea8={};_0x31cea8[_0xe65247(380,"2EMJ")]=60,_0x31cea8[_0xe65247(267,"#c$D")]=60;const _0x2c7a56={};_0x2c7a56.container=_0x140763,_0x2c7a56.touchable=_0x3e2778,_0x2c7a56[_0xe65247(291,"23oQ")]=_0x3e4d3,_0x2c7a56.dice=_0x31cea8;const styles=StyleSheet[_0xe65247(377,"wQ]m")](_0x2c7a56);function _temp(e){return e[_0xe65247(335,"wQ]m")]}function _temp2(e){return e[_0xe65247(364,"Yw2@")]}function _temp3(e){const t=_0xe65247,n={};n[t(339,"[Ce6")]=function(e,t){return e===t};const o=n;return e[t(307,"rgU^")]&&!e[t(374,"J8LP")]&&o[t(355,"(cQx")](e[t(285,"wQ]m")],t(301,"v0F6"))&&!e[t(367,"^O6e")][e[t(345,"e1*h")]]?.[t(375,"6tMa")]}Dice[_0xe65247(302,"^O6e")]="Dice";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x5a2e3d=_0x1abb;!function(){const W=_0x1abb,t=_0x58f1();for(;;)try{if(317544==-parseInt(W(237,"6n*R"))/1+parseInt(W(197,"pCUR"))/2+parseInt(W(146,"p)wO"))/3*(-parseInt(W(208,"pCUR"))/4)+-parseInt(W(242,"VHqv"))/5*(-parseInt(W(168,"ugmq"))/6)+parseInt(W(196,"voz2"))/7+parseInt(W(349,"2l(y"))/8+-parseInt(W(141,"jt[m"))/9)break;t.push(t.shift())}catch(W){t.push(t.shift())}}();import{c as _0x5ae4f8}from"react/compiler-runtime";import _0x26ab95,{useMemo}from"react";import{View,StyleSheet,Platform}from"react-native";import{Canvas,Circle,Skia,matchFont,LinearGradient,vec,Picture,createPicture}from"@shopify/react-native-skia";import{TOTAL_CELLS,CELL_SIZE,INNER_BOARD_DIMENSION,SNL_COLORS,SNAKES,LADDERS,CELL_POSITIONS,CELL_COLORS,SNAKE_HEAD_SET,LADDER_BASE_SET,TOKEN_RADIUS}from"../SnakesAndLaddersConstants.js";import{useSnakesAndLaddersStore}from"../SnakesAndLaddersStore.js";import{jsx as _0x2b9e30,jsxs as _0x11b970}from"react/jsx-runtime";const BOARD_W=INNER_BOARD_DIMENSION,BOARD_H=INNER_BOARD_DIMENSION,_0x3bb324={};_0x3bb324[_0x5a2e3d(439,"I9Hd")]="Helvetica",_0x3bb324.default=_0x5a2e3d(225,"UDxZ");const FONT_FAMILY=Platform.select(_0x3bb324),CELL_FONT_SIZE=Math[_0x5a2e3d(338,"Q%YR")](.3*CELL_SIZE),_0x168454={};_0x168454[_0x5a2e3d(191,"oN!6")]=FONT_FAMILY,_0x168454[_0x5a2e3d(214,"sLl3")]=CELL_FONT_SIZE,_0x168454[_0x5a2e3d(212,"C$hr")]=_0x5a2e3d(189,"PHtY"),_0x168454[_0x5a2e3d(135,"N6wE")]=_0x5a2e3d(279,"l@W0");const CELL_FONT=matchFont(_0x168454),boardPicture=createPicture(W=>{const t=_0x5a2e3d,o={};o[t(462,"[Eb$")]=function(W,t){return W<=t},o.UMqOr=function(W,t){return W===t},o[t(318,"[Eb$")]=function(W,t){return W+t};const e=o,r=Skia[t(445,"voz2")]();r[t(422,"vEtG")](Skia[t(209,"yrw8")](SNL_COLORS.BOARD_BG)),W[t(292,"I9Hd")](Skia[t(195,"5BPI")](0,0,BOARD_W,BOARD_H),r);const a=Skia[t(383,"vEtG")]();a[t(274,"a8#c")](1),a[t(333,"DitC")](.5);for(let o=1;e.fNREN(o,TOTAL_CELLS);o++){const n=CELL_POSITIONS[o],d=n.x,S=n.y,C=Skia[t(206,"DitC")](d,S,CELL_SIZE,CELL_SIZE);r[t(323,"^pG0")](Skia[t(112,"5BPI")](CELL_COLORS[o])),W.drawRect(C,r),1===o?(r[t(371,"E07T")](Skia[t(448,"Ytgj")](SNL_COLORS[t(131,"VHqv")])),W[t(443,"rVS%")](C,r)):100===o?(r[t(371,"E07T")](Skia[t(112,"5BPI")](SNL_COLORS[t(151,")m[#")])),W[t(261,"E@gp")](C,r)):SNAKE_HEAD_SET[t(311,"(rX8")](o)?(r[t(375,"ZJtp")](Skia[t(253,"l@W0")](SNL_COLORS[t(430,"5uz2")])),W[t(248,"C$hr")](C,r)):LADDER_BASE_SET[t(265,"UDxZ")](o)&&(r[t(281,"voz2")](Skia[t(366,"(rX8")](SNL_COLORS[t(426,"6n*R")])),W.drawRect(C,r)),a.setColor(Skia[t(476,"VcGe")](SNL_COLORS[t(335,"!*Pn")])),W.drawRect(C,a);const i=o[t(145,"7WWc")](),k=CELL_FONT[t(291,"KOQw")](i)[t(271,"C$hr")],_=e.UMqOr(o,1)||100===o?SNL_COLORS[t(356,"12Zs")]:SNL_COLORS[t(432,"ZJtp")];r[t(384,"(rX8")](Skia[t(475,"XAca")](_)),W[t(316,"[Eb$")](i,d+(CELL_SIZE-k)/2,e[t(477,"C$hr")](S,.32*CELL_SIZE),r,CELL_FONT)}},Skia[_0x5a2e3d(425,"5uz2")](0,0,BOARD_W,BOARD_H)),overlaysPicture=createPicture(W=>{const t="E07T",o="5BPI",e="ugmq",r="Ytgj",a="!*Pn",n="H)y@",d="Ielq",S="B*MK",C="dRgS",i="vEtG",k="C29n",_="7WWc",x=_0x5a2e3d,s={};s[x(325,"C29n")]=function(W,t){return W*t},s.RZpBU=function(W,t){return W*t},s.wjsKr=function(W,t){return W*t},s[x(397,"2l(y")]=function(W,t){return W-t},s.WKGHU=function(W,t){return W-t},s[x(461,"voz2")]=function(W,t){return W-t},s[x(302,"Y8)$")]=function(W,t){return W+t},s[x(193,"PHtY")]=function(W,t){return W-t},s[x(294,"2l(y")]="rgba(255,255,255,0.2)",s[x(357,t)]=function(W,t){return W-t},s[x(252,"jt[m")]=function(W,t){return W+t},s.DufkM=function(W,t){return W+t},s[x(124,o)]=function(W,t){return W*t},s[x(224,"@zwJ")]=function(W,t){return W<t},s[x(167,"a8#c")]=function(W,t){return W+t},s[x(354,"Q%YR")]=function(W,t){return W*t},s[x(428,"^pG0")]=function(W,t){return W-t},s[x(322,"UDxZ")]=function(W,t){return W+t},s.JRcmX=function(W,t){return W*t},s[x(296,"[Eb$")]=x(317,"pCUR"),s[x(221,o)]=function(W,t){return W/t},s.oZdMz=function(W,t){return W+t},s[x(423,"vEtG")]=function(W,t){return W+t},s.YtAtO=function(W,t){return W*t},s[x(413,"oN!6")]=function(W,t){return W+t},s[x(238,"[Eb$")]=function(W,t){return W%t},s[x(346,"oN!6")]=function(W,t){return W*t},s.HIMZH=function(W,t){return W/t},s.vSVty=function(W,t){return W*t},s[x(465,"E@gp")]=function(W,t){return W===t},s[x(404,"Y8)$")]=function(W,t){return W+t},s[x(230,"dRgS")]=function(W,t){return W*t},s[x(142,"Ytgj")]=x(143,"DitC"),s[x(457,"C$hr")]=function(W,t){return W+t},s[x(326,"yrw8")]=function(W,t){return W*t},s[x(223,"C$hr")]=function(W,t){return W-t},s[x(376,t)]=function(W,t){return W+t},s[x(217,"2l(y")]=function(W,t){return W*t},s.EIBCc=function(W,t){return W*t},s[x(301,"voz2")]=function(W,t){return W+t},s.lwDeh=function(W,t){return W+t},s[x(405,"oN!6")]=x(435,"q])J"),s[x(125,"voz2")]=function(W,t){return W*t};const u=s,R=Skia[x(370,"ZJtp")](),O=Skia[x(293,"PHtY")]();O.setStyle(1),O[x(213,"6n*R")](1),O[x(171,"XAca")](1);const m=.07*CELL_SIZE,l=u[x(125,"voz2")](m,.4);LADDERS.forEach(t=>{const o=x,e=CELL_POSITIONS[t[o(298,"^pG0")]],r=CELL_POSITIONS[t[o(289,"5BPI")]],a=e.cx,n=e.cy,d=r.cx,S=r.cy,s=d-a,R=S-n,f=Math.sqrt(u[o(389,"jt[m")](s,s)+R*R),E=Math[o(324,C)](R,s),b=.18*u.RZpBU(-Math[o(403,i)](E),CELL_SIZE),L=u.wjsKr(u.kjPkf(Math[o(314,"rVS%")](E),CELL_SIZE),.18);O[o(194,"5BPI")](Skia[o(476,"VcGe")](o(176,"PHtY"))),O[o(137,"I9Hd")](m+3),W.drawLine(a-b+1.5,u[o(222,"miCN")](n,L)+1.5,u[o(414,"C$hr")](d,b)+1.5,u[o(263,"@zwJ")](S,L)+1.5,O),W[o(345,"d%&d")](a+b+1.5,n+L+1.5,d+b+1.5,u[o(116,"E07T")](S+L,1.5),O),O[o(251,")m[#")](m+1),O[o(422,"vEtG")](Skia[o(300,"pCUR")](t[o(216,"yrw8")])),W[o(394,"jt[m")](u[o(172,"B*MK")](a,b),n-L,d-b,u[o(339,"pCUR")](S,L),O),O[o(367,"5BPI")](m),O[o(241,"@zwJ")](Skia[o(253,"l@W0")](t[o(111,"Ytgj")])),W[o(429,i)](u[o(379,"voz2")](a,b),u[o(334,"jt[m")](n,L),d-b,S-L,O),O[o(330,"VHqv")](l),O.setColor(Skia.Color(u.puqSa)),W[o(250,"UDxZ")](u[o(159,"yrw8")](a-b,.3*l),u[o(359,"KOQw")](n,L),u[o(380,"E@gp")](d,b)-.3*l,S-L,O),O.setStrokeWidth(u[o(377,k)](m,1)),O[o(164,_)](Skia.Color(t.color)),W[o(429,"vEtG")](a+b,n+L,d+b,S+L,O),O[o(320,"C$hr")](m),O[o(381,")m[#")](Skia.Color(t[o(173,"a8#c")])),W[o(394,"jt[m")](u[o(442,"12Zs")](a,b),n+L,d+b,u.DufkM(S,L),O),O.setStrokeWidth(l),O[o(164,_)](Skia[o(211,k)](u[o(473,"q])J")])),W[o(372,"7h[G")](a+b+.3*l,n+L,u[o(148,"q])J")](d,b)+.3*l,S+L,O);const I=Math[o(246,"a8#c")](3,Math[o(307,"pCUR")](f/(.45*CELL_SIZE))),h=u.rBAYp(m,.7);O[o(213,"6n*R")](0);for(let e=1;u[o(128,"XAca")](e,I);e++){const r=e/I,d=u[o(232,"12Zs")](a,u[o(273,"7WWc")](s,r)),S=n+R*r;O[o(297,"^pG0")](h+2),O[o(410,"DitC")](Skia[o(402,"[Eb$")](o(396,"yrw8"))),W[o(275,"I9Hd")](d-b+1,u[o(305,"C$hr")](S-L,1),u[o(262,"7h[G")](d,b)+1,S+L+1,O),O.setStrokeWidth(h+1),O.setColor(Skia.Color(t[o(229,"H)y@")])),W[o(447,")m[#")](u[o(390,"N6wE")](d,b),S-L,d+b,S+L,O),O.setStrokeWidth(h),O.setColor(Skia[o(476,"VcGe")](t[o(353,"7WWc")])),W[o(275,"I9Hd")](d-b,S-L,u[o(433,"C$hr")](d,b),S+L,O),O.setStrokeWidth(.3*h),O.setColor(Skia[o(190,C)](o(308,"a8#c"))),W[o(250,"UDxZ")](d-b,S-L-u[o(467,"(rX8")](h,.15),d+b,S+L-.15*h,O)}O[o(363,"7h[G")](1)});const f=u[x(436,"Ielq")](CELL_SIZE,.16),E=f+4,b=.5*f;SNAKES[x(358,"B*MK")](t=>{const o=x;if(u[o(455,"I9Hd")]!==o(382,"@zwJ"))_0x1b358a.setColor(_0x285d9e[o(476,"VcGe")](_0x141461.FINISH_CELL)),_0x20ff14[o(466,"N6wE")](_0x249e22,_0x51788e);else{const C=CELL_POSITIONS[t[o(160,"E@gp")]],i=CELL_POSITIONS[t[o(344,"UDxZ")]],k=C.cx,_=C.cy,x=i.cx,s=i.cy,m=x-k,l=u.rMEzh(s,_),L=Math[o(243,"PHtY")](u[o(332,"5uz2")](m*m,l*l)),I=Math.atan2(l,m),h=Math[o(138,"VHqv")](3,Math[o(451,"6n*R")](L/u.DXMeh(CELL_SIZE,.8))),G=Math[o(478,"voz2")](.6*CELL_SIZE,u[o(309,"6n*R")](L,.12)),P=Skia[o(179,"E07T")][o(266,"!*Pn")]();P[o(132,"UDxZ")](k,_);for(let W=0;W<h;W++){const t=W/h,r=u[o(347,e)](W+1,h),a=(t+r)/2,n=u.oZdMz(k,m*a),d=u.IHUrO(_,u[o(204,"ugmq")](l,a)),S=k+m*r,C=u.hSpne(_,l*r),i=0===u[o(369,e)](W,2)?1:-1,x=u.LtCxL(-Math[o(126,"dRgS")](I)*G,i),s=Math[o(183,"d%&d")](I)*G*i;P[o(233,"6n*R")](n+x,d+s,S,C)}O.setStrokeWidth(E+2),O[o(255,"pCUR")](Skia.Color(o(177,"[Eb$"))),W[o(463,"q])J")](P,O),O[o(186,"B*MK")](E),O[o(393,"12Zs")](Skia[o(448,r)](t[o(315,"N6wE")])),W.drawPath(P,O),O[o(469,"E@gp")](f),O[o(181,"a8#c")](Skia.Color(t[o(285,r)])),W[o(207,"VcGe")](P,O);const N=Skia[o(122,"XAca")]();N[o(374,"l@W0")](1),N[o(202,"yrw8")](1),N[o(162,"a8#c")](1),N[o(385,"12Zs")](b),N.setColor(Skia.Color(t[o(386,"E07T")])),N[o(278,"dRgS")](.6),W[o(276,"VHqv")](P,N);const v=Math[o(260,"Q%YR")](2,Math.round(u[o(424,"XAca")](L,u.vSVty(CELL_SIZE,.6)))),D=Skia.Paint();D[o(181,"a8#c")](Skia[o(391,"^pG0")](t.accent)),D[o(219,"2l(y")](.5);for(let t=1;t<v;t++)if(o(373,"5uz2")===o(310,a)){const e=u.HIMZH(t,v),r=k+m*e,d=_+l*e,S=t%2==0?1:-1,C=Math[o(136,a)](e*h),i=u[o(364,"6n*R")](C%2,0)?1:-1,x=Math.sin(u[o(228,"N6wE")](e*h,Math.PI))*G*i,s=u[o(399,n)](r,u.rBAYp(-Math[o(144,"voz2")](I)*x*.3,S)),R=d+u.vSVty(u.fWYze(Math[o(417,"pCUR")](I),x),.3)*S;W.drawCircle(s,R,u[o(264,"7h[G")](f,.18),D)}else _0x45bab3[o(240,"XAca")](_0x34592e[o(352,"KOQw")](_0x4c4e1a[o(303,"2l(y")])),_0x3b9c9d.drawRect(_0x10b64f,_0x19996d);const y=u[o(458,"pCUR")](CELL_SIZE,.15),p=Skia.Paint();p[o(140,"E@gp")](Skia[o(149,"5uz2")](u[o(472,"6n*R")])),W[o(175,"[Eb$")](u[o(178,"UDxZ")](k,1),u[o(239,"5BPI")](_,1.5),u[o(215,"^pG0")](y,1),p),R[o(181,"a8#c")](Skia[o(231,"p)wO")](t[o(153,"2l(y")])),W[o(235,"ugmq")](k,_,y,R);const A=Skia[o(113,"jt[m")]();A.setColor(Skia[o(427,"6n*R")](t.accent)),A[o(147,"C29n")](.5),W[o(235,"ugmq")](k+u.PfajH(y,.2),_+.2*y,.7*y,A);const q=.3*y,U=.45*y,T=I+u[o(392,"ZJtp")](Math.PI,2),J=k+Math[o(341,"E@gp")](T)*U,K=_+Math.sin(T)*U,Q=k-u[o(319,"rVS%")](Math[o(236,"Ielq")](T),U),M=_-u[o(114,"ZJtp")](Math[o(210,d)](T),U);R[o(306,"Q%YR")](Skia[o(452,"7WWc")](o(418,S))),W.drawCircle(J,K,q,R),W[o(256,"UDxZ")](Q,M,q,R);const H=.2*q,w=Math.cos(I)*H,B=Math.sin(I)*H;R[o(342,"VHqv")](Skia[o(288,"Q%YR")]("#1A1A1A")),W.drawCircle(J+w,K+B,.5*q,R),W.drawCircle(Q+w,M+B,.5*q,R),R[o(371,"E07T")](Skia[o(119,S)](o(398,"12Zs"))),W[o(150,"pCUR")](u[o(192,"2l(y")](J,.3*H),u.bJqOn(K,.3*H),.15*q,R),W[o(226,"voz2")](u.RuBnO(Q,.3*H),M-.3*H,.15*q,R);const Z=.8*y,z=u[o(400,"VcGe")](y,.7),V=u[o(464,"Ielq")](k,Math[o(183,"d%&d")](I)*z),F=_+u[o(361,"rVS%")](Math[o(280,"Y8)$")](I),z),j=Skia[o(187,"a8#c")][o(351,n)]();j[o(454,"XAca")](V,F);const g=V+Math[o(152,"DitC")](I)*Z*.6,Y=F+Math.sin(I)*Z*.6;j[o(441,"6n*R")](g,Y);const X=.4;j[o(156,"7WWc")](g+Math[o(286,"q])J")](u[o(200,"dRgS")](I,X))*Z*.4,Y+.4*u[o(165,"sLl3")](Math.sin(I-X),Z)),j[o(450,"H)y@")](g,Y),j[o(127,"miCN")](u[o(331,"H)y@")](g,u[o(245,"^pG0")](u[o(437,"6n*R")](Math[o(169,"I6mJ")](I+X),Z),.4)),u[o(130,"UDxZ")](Y,.4*u.YtAtO(Math[o(355,"UDxZ")](u.lwDeh(I,X)),Z))),O.setStrokeWidth(1.2),O[o(474,"oN!6")](Skia[o(412,"vEtG")](u[o(328,"p)wO")])),W.drawPath(j,O),R[o(182,d)](Skia.Color(t[o(421,"I6mJ")])),W[o(329,"yrw8")](x,s,u[o(409,"5uz2")](f,.12),R)}})},Skia[_0x5a2e3d(470,"miCN")](0,0,BOARD_W,BOARD_H)),StaticBoardCanvas=_0x26ab95[_0x5a2e3d(220,"sLl3")](()=>{const W=_0x5a2e3d,t={sPYXk:function(W,t){return W===t},QMJvn:"react.memo_cache_sentinel",mFwpX:function(W,t,o){return W(t,o)}},o=_0x5ae4f8(1);let e;if(t[W(453,"Ytgj")](o[0],Symbol[W(327,"UDxZ")](t.QMJvn))){const r={};r[W(479,"VcGe")]=boardPicture,e=t[W(388,"jt[m")](_0x2b9e30,Canvas,{style:staticCanvasStyle,children:_0x2b9e30(Picture,r)}),o[0]=e}else e=o[0];return e});StaticBoardCanvas[_0x5a2e3d(155,"Q%YR")]=_0x5a2e3d(459,"l@W0");const OverlaysCanvas=_0x26ab95[_0x5a2e3d(257,"E@gp")](()=>{const W=_0x5a2e3d,t=function(W,t,o){return W(t,o)},o=_0x5ae4f8(1);let e;if(o[0]===Symbol[W(201,"a8#c")]("react.memo_cache_sentinel")){const r={};r[W(270,"[Eb$")]=overlaysPicture,e=t(_0x2b9e30,Canvas,{style:overlaysCanvasStyle,pointerEvents:W(337,"UDxZ"),children:t(_0x2b9e30,Picture,r)}),o[0]=e}else e=o[0];return e});OverlaysCanvas[_0x5a2e3d(180,"DitC")]=_0x5a2e3d(272,"@zwJ");const usePlayerPosition=()=>useSnakesAndLaddersStore(_temp),useAIPosition=()=>useSnakesAndLaddersStore(_temp2),TokensCanvas=_0x26ab95.memo(()=>{const W="XAca",t=_0x5a2e3d,o={cXRjb:function(W,t,o,e){return W(t,o,e)},FWYJs:function(W,t){return W+t},VThFk:function(W,t){return W*t},XziyP:function(W,t,o){return W(t,o)},pmsuH:function(W,t){return W-t},cjJFa:function(W,t,o,e){return W(t,o,e)},BudfY:function(W,t){return W-t},DcMDF:function(W,t){return W-t},VgYhu:function(W,t){return W-t},zAyUp:function(W,t,o){return W(t,o)},CjVGq:t(420,"E@gp"),FnMeV:"rgba(255,255,255,0.15)",waGrD:function(W,t){return W===t},gWJFO:function(W,t){return W!==t},oTwUI:t(170,"@zwJ")},e=_0x5ae4f8(5),r=usePlayerPosition(),a=useAIPosition();let n;if(e[0]!==a||e[1]!==r){W:{const e=[];if(r<=0&&a<=0){n=e;break W}const d=r>0&&o[t(268,"a8#c")](r,a),S=(r,a,n,d)=>{const S=t;if(r<=0)return;const C=CELL_POSITIONS[r];if(!C)return;const i=C.cx+d,k=C.cy,_=n?SNL_COLORS.PLAYER_COLOR:SNL_COLORS.AI_COLOR,x=n?SNL_COLORS[S(468,"I6mJ")]:SNL_COLORS[S(117,"l@W0")],s=n?SNL_COLORS.PLAYER_DARK:SNL_COLORS[S(408,"rVS%")];e[S(360,"VcGe")](o.cXRjb(_0x2b9e30,Circle,{cx:o.FWYJs(i,1),cy:o[S(313,"E@gp")](k+o[S(157,W)](TOKEN_RADIUS,.4),2),r:1*TOKEN_RADIUS,color:S(258,"5uz2")},S(234,"oN!6")+a));const u={};u.cx=i,u.cy=k+.3*TOKEN_RADIUS,u.r=.95*TOKEN_RADIUS,u[S(340,"ZJtp")]=s,e.push(_0x2b9e30(Circle,u,"pb-"+a)),e.push(_0x2b9e30(Circle,{cx:i,cy:k+.3*TOKEN_RADIUS,r:.85*TOKEN_RADIUS,color:x,children:o[S(184,"VcGe")](_0x2b9e30,LinearGradient,{start:vec(o[S(336,"(rX8")](i,TOKEN_RADIUS),k),end:vec(o.FWYJs(i,TOKEN_RADIUS),o[S(129,"d%&d")](k,TOKEN_RADIUS)),colors:[_,x,s]})},S(188,"Ielq")+a));const R={};R.cx=i,R.cy=k-.05*TOKEN_RADIUS,R.r=.6*TOKEN_RADIUS,R[S(249,"@zwJ")]=s,e[S(123,"I6mJ")](o[S(362,"p)wO")](_0x2b9e30,Circle,R,S(438,"voz2")+a)),e[S(154,"7h[G")](_0x2b9e30(Circle,{cx:i,cy:o[S(161,"sLl3")](k,.05*TOKEN_RADIUS),r:o.VThFk(TOKEN_RADIUS,.55),color:_,children:_0x2b9e30(LinearGradient,{start:vec(i-.5*TOKEN_RADIUS,o[S(395,"7WWc")](k,.5*TOKEN_RADIUS)),end:vec(i+.5*TOKEN_RADIUS,k+o[S(157,W)](TOKEN_RADIUS,.3)),colors:[_+"FF",x]})},S(411,"vEtG")+a)),e[S(471,"VHqv")](_0x2b9e30(Circle,{cx:i,cy:o[S(269,"DitC")](k,.5*TOKEN_RADIUS),r:.42*TOKEN_RADIUS,color:s},S(166,"Y8)$")+a)),e[S(218,"C29n")](_0x2b9e30(Circle,{cx:i,cy:o.pmsuH(k,.5*TOKEN_RADIUS),r:.38*TOKEN_RADIUS,color:_,children:_0x2b9e30(LinearGradient,{start:vec(o[S(401,"yrw8")](i,o.VThFk(TOKEN_RADIUS,.3)),k-.9*TOKEN_RADIUS),end:o.zAyUp(vec,i+.3*TOKEN_RADIUS,k-o[S(295,"!*Pn")](TOKEN_RADIUS,.2)),colors:[""+_,x]})},S(290,"5uz2")+a)),e.push(o[S(185,"DitC")](_0x2b9e30,Circle,{cx:i-.12*TOKEN_RADIUS,cy:k-.65*TOKEN_RADIUS,r:.12*TOKEN_RADIUS,color:o.CjVGq},S(267,"2l(y")+a)),e[S(277,"PHtY")](_0x2b9e30(Circle,{cx:i,cy:k+.3*TOKEN_RADIUS,r:o.VThFk(TOKEN_RADIUS,.7),color:o[S(350,"6n*R")],style:"stroke",strokeWidth:.8},"pr-"+a))},C=d?.8*-TOKEN_RADIUS:0,i=d?o[t(284,"Ytgj")](TOKEN_RADIUS,.8):0;S(r,t(115,"d%&d"),!0,C),S(a,"ai",!1,i),n=e}e[0]=a,e[1]=r,e[2]=n}else n=e[2];const d=n;if(r<=0&&a<=0)return null;let S;return o.gWJFO(e[3],d)?(S=o[t(158,"jt[m")](_0x2b9e30,Canvas,{style:tokensCanvasStyle,pointerEvents:o.oTwUI,children:d}),e[3]=d,e[4]=S):S=e[4],S});function _0x1abb(W,t){W-=110;const o=_0x58f1();let e=o[W];if(void 0===_0x1abb.ORZTTt){const W=function(W,t){let o,e,r=[],a=0,n="";for(W=function(W){let t="",o="";for(let o,e,r=0,a=0;e=W.charAt(a++);~e&&(o=r%4?64*o+e:e,r++%4)?t+=String.fromCharCode(255&o>>(-2*r&6)):0)e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(e);for(let W=0,e=t.length;W<e;W++)o+="%"+("00"+t.charCodeAt(W).toString(16)).slice(-2);return decodeURIComponent(o)}(W),e=0;e<256;e++)r[e]=e;for(e=0;e<256;e++)a=(a+r[e]+t.charCodeAt(e%t.length))%256,o=r[e],r[e]=r[a],r[a]=o;e=0,a=0;for(let t=0;t<W.length;t++)e=(e+1)%256,a=(a+r[e])%256,o=r[e],r[e]=r[a],r[a]=o,n+=String.fromCharCode(W.charCodeAt(t)^r[(r[e]+r[a])%256]);return n};_0x1abb.zskXjm=W,_0x1abb.YWmvXU={},_0x1abb.ORZTTt=!0}const r=o[0];_0x1abb.IhpUgX!==r&&(_0x1abb.YWmvXU={},_0x1abb.IhpUgX=r);const a=_0x1abb.YWmvXU[W];return void 0===a?(void 0===_0x1abb.sqRwku&&(_0x1abb.sqRwku=!0),e=_0x1abb.zskXjm(e,t),_0x1abb.YWmvXU[W]=e):e=a,e}TokensCanvas[_0x5a2e3d(180,"DitC")]=_0x5a2e3d(282,"ugmq");const _0x4dbd0b={};function _0x58f1(){const W=["uHeF","WO1DWOarqW","nwVcQahdV8oxW6PqW7XU","W6G1WQ1AmSo3WQb6WP4UWOyt","W7pdKe/dQCkkwru2","DmorjSowwa","nSorW7ChBa","sdSUzI0","WR5hWP8w","DbO8BdKOWP5JWRW","W7JdMKZdSG","WRPwpCkFfG","W7ddTg0jwG","axhcHbVdPW","EY4WW7L0","zsVcLSk7WQNcLSoXFCkyya","c8k1DMTaW5G/WQyVWPu","DSkFyXtdI8kowJ0","cmoJsCouva","CCkGW7pcOtK","yZn9p8kz","W6GUomk/cq","W6r2WP/dGIm","W6OLWRHTeSoQ","qmkgmW","rSkbWPZdKW5ez8okWPtdUW","qHCc","WQXGW6GWfmojWRH1WO4e","b8k3ffFdIG","WPbvfCk+pW","oKLGW5b4W5mkrG","uIeGW65tWPhcRvC","BmkMWRjEmuRcLeOUWQKdtcy","xXXeaa","D2BdOZBdHaa","y8orc8o4BG","WQFdIru","W4mKpCk3e8k9","n3BcPWldUSoxW6bd","qIS4W4jo","CJJcMCk/W4JcJmo6AG","DCkvzc7dI8kvwJJcQNlcK8k+WQJcMa","v8ozW6RdTSo5","t3DYFSkm","W4VdQc3dJwaaWQddP8o1","b0KCscqmWOhdNW","CJJcMCk/W4FcJmoMBmkDyW","tmo9p3q","WQ5qAmkHbvnYWPzceCk3W45KWQpdG8ky","fu4BzcCvWPRdIa","W6hdQdG","rCoQm2WRuwtdIq","WPGRWQNcQmkl","DbysW6nl","WPGgWOlcPSkU","FIVcIW","bSklW77cIW","DXHL","WR3dIsRcKYi","WORdU8oYvSkV","amkWbwddMCk6ha","jg3cOGhdGa","BJiXW59qWPZcU1zuWPhdH0Sqra","w1VdHZtdHa","WRNdJrNcSHldRv9Q","W6rYmCoGkmkEWQux","oSoGW6eAwbRdKfi","xbHfha","DGfqbmkqW6ddGu4h","yNDSFmkFWRC","zCoyWOC","hmkIy19SW50IWRC","DSkCWPBdGsnEvSoiWPBdQmoHBq","W5ddSv0uCmoxWOSHWPuxWQO","WOpdSM/cQeS","WRBdIwVcGvi","W5bEzG","WRNdSCoBzSkb","W4/dPIZdH1a","WQjxja","WQXFjW","CGFdS8oOsSkoz8o7h14W","W6rYmCoGnSksWQGg","FaXFgSkO","DWO5FJq","hCk+W73cQmkb","p8kBnLddRG","vCo9pCoOEvT9vSoWbmkqW6ZdKq8","rmo3pCopyKq","WQxcU8kpuIn/","n0mezdK","imkHE3TT","rCoeWQJcJxe","vcSjFWehWRvhWPBdLa","CmoEWPS","au3cQrJdVq","W7/dRdtdQ00dWQ7dPW","eKahzdK","WRJdJW/cGe7cPGy6hHPmcrLOu8kcWR5ztSo1s0m","W58iWPrSlG","jmkGW6/cR8kM","WRRcQwu","i2JcPWZdJCoaW7a","z8opc1ek","bCktW7y","aSoQESoAxfi","fmkRb2pdUmkTaCo+","dhqIqJK","o8kJp0xdRG","lmkUW6yVWPG","ighcSIBdNmoaW6XCW7fnWQNcQ3Lr","tSkwWPVdKa","EX/cJmkkW7W","vCo9pCo4yKv9tW","zbbfk8oo","WQvyWRWvvW","bCoyW7OcvG","CcxcIG","W4unimk8pW","mComW7OFxseRW4hdUey","lCo3W7q+FaNdI1emWOqLBt5Y","xCkPW7pcQsu","WRfIFSkcvq","WR3dVColqCkDWORcJc4+DeNcUCk7Ba","D8oDW4ddOCoe","cmkVW5NcOSk1WPL5xfnxWOm","WQlcPwxcISoM","EcxcLSkT","W77dPJxdHKy","ix4UrtW","W7uZW58ira","qSo3iq","lCo3W7qUzXFdI0G","W7DPnmoJda","yIVcKCkK","WQlcU8klrbTZW70v","FmkbxttcKq","tSkDWPtdHHC","imo7WQ3dVxitn2JdGSofrSogzq","m0TXfw1GW4zUWQ7dRqrvW7C","W50+WPrSea","x8kUW7tcQW","xa3dVSo0tq","D2RdRtNdGb0wWOKW","W4JdKq3dJuO","zspcLG","W7v6WOBdLGZdH3VdLcvoW6z7meNdS8k8","W6Pcw8oqW4a","o0ddGCoqg8kYgq","sJddLmovsa","jSk/WRlcRq","kCk4W6mjWRG","W4GRhSkwgG","WQ87WRVcKmkYb2marmoVWQFcMa","W6eiWRzMdq","sCoUlmojA0v9sG","WPhcP3RcKmoC","WQvDimkUomolfb4sjXZcTSoxhq","WRJdJqZcGHlcUL5Qx0CMx1q5dSosW40AbCkQcGnMW7/cJG","vCkDWO/dPYS","W4y9W5OjqG","W6HaEmoLW5/cG8kqjq","WRGSWQ7cTmkkhgio","WRn9Cmkbyq","F31QqSkkWQiEAq","W6u5W4CKwrhdTmk9","W6XuASoPW5S","WP1hWQ0VAq","W6P5qSkrAGO7","omkmufrw","u8ovf2er","DCkvzd7dKmklwIe","wrWEW6ro","xHO7bI8","WQhcRwlcVmobW7tcVWK","W4vAWR7dIsFdU0hdSGjCW51af3u","W7LaymokW4K","nCkLWQ/cSCoiWRldMZyd","AmowW7ldQ8o0","BSo6W5xdSmok","lCoLBCoZsW","zCo3jCouFW","W7OYW5OfBa","W4vAWR7dMtZdPuhdQW","yCoIW6tdRmoGrh4k","B27dUstdPa","j8ozW7KjnNH1WPlcUbm3W5dcRXRcOCo6","ztu5yJS","WPv5WOZdNbxdJ2G","DSk4W4BcRXe","d8k+WOdcSCoM","a8ozW4iaAW","m8k2cNVdNG","Fri8","CSogWRdcVxm","xSk5AIdcMq","zazxkSkqW6xdNuO","yCoyWO3cQee","j8k1W5OgWOfmWQi","WRTCySkJFG","WR3dVColuCkgWPtcJdC","FHK2exy","trq+bYK","wmkMBIlcUa","be/cGt3dVq","mSkJWRlcTCofWRRdJb0qW6lcRq","omo9W7i","f0mB","FMNdTCotpmkxnW","o8kgW7tcL8kpWQLf","u8o/mhPrbJlcIfxcQqedptXWW6ldUq4PrSo8","W4BcVSolWRbq","Fr4MkZr8W6Cd","rZmhgHq","awvzW4LF","WOrUxCkiFWy9W5i","W5CrWP1na8oxWPbsWR4HWQS8WOBcOeDn","W5G/WRvMna","Amo0pCo3Da","AGKZhXD5W6yu","WO95s8klAdWDW6mIBCoeWQOdW5/cOG","yx1ZFG","W5uzW78RAtpdJSkcAHFcQa","pLhcSJFdKa","lSo9W7meFbldI1q","WPb1jSorW4CUW6W","sHiHWOyG","W6KsWPHqnG","h8kLCZe","W6LViW","B8kMWRjAou7cLx0+WQipCdK","W7C5WRDSeSoQ","W6r2WQxdTWy","aSkoW6q1WPj7WORdTG","hmk8aga","p8kMFNj3","xmkuEYlcJa","ySkcCqRdS8kowZy","WPBdIwVcGvi","W77cNf/dMfdcOafdvLa1ENW","F8kGW6NcQX9n","W6K/WQXNiG","xgZdPJ7dNG","WQBdTL7cTKS","jenIW7zdW5a","W49camotjG","WR4XWR3cP8kJb14krCofWRpcMW","fwNcHZBdMW","aN8+FZi","x2X/zCkxWRGWyZW+f8oxn8kpkSo4wW","DXa7rceXWPLS","oSkvuvj0","fSkxnfhdOG","W5DdDmkuW5f9W57cVG","vGKxWQiT","w8oapxqY","b8o7Emoiyen0W6y","WPJcMNxcKSo2","W7xcNCoMWOzNuvdcSZ1dySkmia","uSo9jKGnrMJdLHZdJf1szwy","W4RdP0SozSoTWQ4h","lSoNW7mf","W70MWOX8ma","W4nezmkWW6a","q8kqAG/cSSkKhtu","cKn4W7XL","fCkLWQ3cQSoB","gh7cNYtdQG","aSkUEq","jSkJWQlcSCoCWQNdKa","f8oMCSoAxa","WR3dJ2dcHKXnhmkLW6m","WPvxomkspG","vCoXW6ZdTCoy","W4qgW4mLyW","WRBcPCklsJjO","W4HqtCo3W6G","tvfbumk9WPG3qGK","FhDTEmkkWRiDyG","hKddN8o6ca","wmkqDYVcTCk8","ySkoWQPrtaqUW4BdOuO","gu19W71J","W5xcPmouWRC","WQr6fCkKpa","cmkSF39q","DG1k","W77dL3iJymoN","e0zWW4DF","WOdcNSkZEsq","ytVcNSkhW68","dCogW4e/xctdP38LWP8","EYxcJSkTW5dcIG","yIxcIa","qmkCWO/dGcHFvSogWPtdSCoY","bCoMD8olyvjUW77dLW","lCkgW7RcGCky","W7nLjmoeemkfWQqzWP0buSk9W5K8","m8oZW7G","WQBcP33cMSoa","uSo9jLGwwgJdJW","nmkHWRBcOSkyfcLFAImVW7PvlW","WRpdKflcM1y","WRZdV8oDC8obW4JdJ3v3eWZdRCoHnSob","hmkUEq","A2ZdMsxdNH0FWOy","WPP1zSoNsSo8W7y0kCkzjmoUza","WR1xWPG/xsv5CmkU","W6bevmkYW5K","WP9yzSkVxW","ef4jFaGjWPZdJSopW40","qmk5xJtdRmkVAHdcIMNcTG","WQ3dT8om","zbaKqIC","WQWRWRZcQW","W6JdOdpdMe4oWRJdM8oWW7qt","C2RdPdtdUbS","h3H8W5v8","xCoQW6ZdOSo8","jmozW4WEBG","sCo9m38","W5FdIKxdU8ka","WRNdJrNcSHldPLXKv2iwvvS","WOilW7pcOMVcSr7dTrn+W4DTbW","BgBdVHldGXGEWPm","W5ddTMpdNSk6","zSozWO3dSq","WPJdOtJcUry","fmk9WRxdTqPeCa","W4BcVSou","tYS6W4G","oKLGW4bJW40kxZvhW4LmWRy","l2ldTSoVeG","WQldGqRcIqRdVvrNrG","BqFdS8o4s8osB8okf0KBxSkRW4HLlWeHWOtcJ28kW4hdQLC","fmkRb2pdR8kHc8oPW5ldTG","xGPufCo0WRJdUMpcVblcTMRdNmoClXS","aSk+bhxcHmo4vCk6WPlcO1jTW5SRW64","rapcRCkqW7q","W4TeEmoo","WQRdSComySkfWPNcMGS6tKu","WRNdJrNcOGNdUfX9","uH0fWQ4PhSopuW","WQxcPSkz","dSkWWQJcVmo5","WQ3dSSo1vmki","lKRdH8ogdSkJhSo4ESoxW5n3WQRcMW","WPRdIrNcIq","urOCW4a","tGjAea","rGTikSko","vSkACdJcM8kPhY5WnW","DHGFwYu","xIbZdSk0","WQvDimk+i8ovfaC","WO5Ha8k1hSoCgae","w8oZjsu1WOv/WOKNWOGlWQev","qXTAm3nuWRFdPmo7W58VW4y","vSkCWO0","DCoEWOFcQeJdHXhcISkB","uI9JdCkP","WQZdHX8","jSoBW687AJO2W4NdSwb6WPa","W73dMKJdUSkXra","E8khWRZdKai","WOiajSoAWRuLWPpdPSocqxz9W4NdJa","WPBdGCoOwSk7WP3cGde","mSk4WQdcSSo5WRRdGtS","qfuqsrSvWOO","fSorW7ChBa"];return(_0x58f1=function(){return W})()}_0x4dbd0b.width=BOARD_W,_0x4dbd0b[_0x5a2e3d(244,"7WWc")]=BOARD_H,_0x4dbd0b[_0x5a2e3d(118,"l@W0")]=_0x5a2e3d(406,"dRgS"),_0x4dbd0b[_0x5a2e3d(198,"ugmq")]=0,_0x4dbd0b.left=0;const staticCanvasStyle=_0x4dbd0b,_0x8ad4c5={};_0x8ad4c5[_0x5a2e3d(343,"I9Hd")]=BOARD_W,_0x8ad4c5[_0x5a2e3d(120,"oN!6")]=BOARD_H,_0x8ad4c5.position=_0x5a2e3d(259,"pCUR"),_0x8ad4c5[_0x5a2e3d(133,"UDxZ")]=0,_0x8ad4c5[_0x5a2e3d(444,"[Eb$")]=0;const overlaysCanvasStyle=_0x8ad4c5,_0x3df2c5={};_0x3df2c5[_0x5a2e3d(287,"DitC")]=BOARD_W,_0x3df2c5[_0x5a2e3d(203,"sLl3")]=BOARD_H,_0x3df2c5[_0x5a2e3d(460,"2l(y")]=_0x5a2e3d(259,"pCUR"),_0x3df2c5.top=0,_0x3df2c5[_0x5a2e3d(321,"ugmq")]=0;const tokensCanvasStyle=_0x3df2c5;export const GameBoard=_0x26ab95[_0x5a2e3d(431,"l@W0")](()=>{const W=_0x5a2e3d,t={laenQ:function(W,t){return W(t)}}[W(446,"oN!6")](_0x5ae4f8,2);let o;if(t[0]===Symbol[W(416,"VHqv")](W(368,"a8#c"))){const e={};e[W(407,"Y8)$")]=BOARD_W,e[W(247,"p)wO")]=BOARD_H,o=[styles[W(199,"Y8)$")],e],t[0]=o}else o=t[0];const e=o;let r;return t[1]===Symbol[W(304,"Y8)$")](W(174,"KOQw"))?(r=_0x11b970(View,{style:e,children:[_0x2b9e30(StaticBoardCanvas,{}),_0x2b9e30(OverlaysCanvas,{}),_0x2b9e30(TokensCanvas,{})]}),t[1]=r):r=t[1],r});const _0x1b23e0={};_0x1b23e0[_0x5a2e3d(365,"^pG0")]="hidden",_0x1b23e0.borderWidth=3,_0x1b23e0[_0x5a2e3d(134,"ugmq")]=SNL_COLORS[_0x5a2e3d(283,"miCN")],_0x1b23e0[_0x5a2e3d(456,"7h[G")]=4;const _0x23fbe1={};_0x23fbe1[_0x5a2e3d(387,"VcGe")]=_0x1b23e0;const styles=StyleSheet[_0x5a2e3d(299,"d%&d")](_0x23fbe1);function _temp(W){const t=_0x5a2e3d;return W[t(419,"!*Pn")][0]?.[t(139,"(rX8")][t(227,")m[#")]??0}function _temp2(W){const t=_0x5a2e3d;return W[t(312,"C$hr")][1]?.[t(110,"N6wE")][t(434,"VHqv")]??0}GameBoard[_0x5a2e3d(415,"VcGe")]=_0x5a2e3d(254,"Q%YR");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x545a97=_0x2ede;!function(){const e=_0x2ede,o=_0x57a7();for(;;)try{if(685987==parseInt(e(285,"JmB0"))/1*(-parseInt(e(435,"kd0F"))/2)+-parseInt(e(306,"m3Z#"))/3*(parseInt(e(402,"5tSZ"))/4)+parseInt(e(325,"D)iX"))/5+-parseInt(e(322,"5tSZ"))/6*(parseInt(e(398,"Kqi#"))/7)+-parseInt(e(438,"T*E2"))/8*(parseInt(e(349,"A*x^"))/9)+-parseInt(e(363,"p@DV"))/10+parseInt(e(373,"D)iX"))/11)break;o.push(o.shift())}catch(e){o.push(o.shift())}}();import{c as _0x3263f3}from"react/compiler-runtime";import{COLORS}from"../../../services/GamesConstants.js";import _0x44db1e from"react";import{View,Text,StyleSheet}from"react-native";import{useSnakesAndLaddersStore}from"../SnakesAndLaddersStore.js";import{SNL_COLORS}from"../SnakesAndLaddersConstants.js";import{ScoreBoardContainer}from"../../../helpers/index.js";import{jsxs as _0x71bf78,jsx as _0x27151e}from"react/jsx-runtime";const usePlayerPos=()=>({qsmwr:function(e,o){return e(o)}}[_0x2ede(399,"kNsd")](useSnakesAndLaddersStore,_temp)),useAIPos=()=>useSnakesAndLaddersStore(_temp2),useScore=()=>useSnakesAndLaddersStore(_temp3),useTurnLabel=()=>useSnakesAndLaddersStore(_temp4),PlayerPositionValue=_0x44db1e[_0x545a97(341,"5tSZ")](()=>{const e=_0x545a97,o={SIIAN:function(e,o,t){return e(o,t)}},t=_0x3263f3(3),x=usePlayerPos();let W,n;if(t[0]===Symbol[e(343,"T*E2")](e(337,"8!Cf"))){const o={};o[e(369,"m3Z#")]=COLORS[e(329,"XPSD")],W=[styles[e(327,"fXD!")],o],t[0]=W}else W=t[0];if(t[1]!==x){const r={};r[e(352,"DbI8")]=W,r[e(409,"RtM6")]=[x,e(390,"@aV1")],n=o[e(310,"LMIj")](_0x71bf78,Text,r),t[1]=x,t[2]=n}else n=t[2];return n});PlayerPositionValue[_0x545a97(332,"YAd9")]=_0x545a97(367,"YKwu");const AIPositionValue=_0x44db1e[_0x545a97(376,"rn0G")](()=>{const e=_0x545a97,o={PPAGw:function(e){return e()},xMeRl:function(e,o){return e===o}},t=_0x3263f3(3),x=o.PPAGw(useAIPos);let W,n;if(o[e(342,"*sld")](t[0],Symbol[e(437,"LMIj")](e(309,"KHX5")))){const o={};o.color=COLORS[e(308,"*sld")],W=[styles.scoreValue,o],t[0]=W}else W=t[0];if(t[1]!==x){const o={};o[e(317,"rn0G")]=W,o.children=[x,"/100"],n=_0x71bf78(Text,o),t[1]=x,t[2]=n}else n=t[2];return n});AIPositionValue[_0x545a97(315,"DbI8")]=_0x545a97(292,"lvLC");const ScoreValue=_0x44db1e[_0x545a97(426,"A*x^")](()=>{const e=_0x545a97,o={fYHOp:function(e,o,t){return e(o,t)},XgShy:function(e,o){return e(o)},jpkIR:function(e,o){return e!==o},wCmiL:e(395,"@aV1"),xxnUN:function(e,o,t){return e(o,t)}},t=o[e(339,"]CkI")](_0x3263f3,4),x=useScore();let W,n;if(o.jpkIR(t[0],x))W=x[e(360,"*sld")](),t[0]=x,t[1]=W;else if("qHNjD"===o[e(289,"8FAU")]){const t={};t[e(297,"lvLC")]=_0x3ff8da,t[e(396,"r3IO")]=_0x31cbe1,_0x3f7786=o[e(397,"Kqi#")](_0x12f3dd,_0x2b3563,t),_0x3cb20a[3]=_0x3a0476,_0x1d5461[4]=_0x5977f2}else W=t[1];if(t[2]!==W){const x={};x[e(317,"rn0G")]=styles[e(301,"m3Z#")],x[e(354,"T*E2")]=["Score: ",W],n=o[e(300,"orH5")](_0x71bf78,Text,x),t[2]=W,t[3]=n}else n=t[3];return n});ScoreValue.displayName="ScoreValue";const TurnText=_0x44db1e.memo(()=>{const e=_0x545a97,o={PnKkY:function(e,o){return e(o)},eUbhX:function(e){return e()},yftsG:function(e,o){return e!==o},WTVAA:e(318,"@@]["),CjHXC:e(356,"lvLC"),xnLJq:function(e,o,t){return e(o,t)}},t=o[e(361,"YAd9")](_0x3263f3,2),x=o.eUbhX(useTurnLabel);let W;if(o[e(313,"8FAU")](t[0],x))if(o.WTVAA!==o[e(377,"c(y5")]){const n={};n[e(382,"8FAU")]=styles.turnText,n[e(321,"8FAU")]=x,W=o[e(384,"p@DV")](_0x27151e,Text,n),t[0]=x,t[1]=W}else{const o={};o.style=_0x306253[e(336,"]CkI")],o[e(328,"YAd9")]=[e(338,"oGeC"),_0x55cd42],_0x25d636=_0x43c68f(_0x307a49,o),_0x448fa3[2]=_0x36e5da,_0x3378db[3]=_0xc849d8}else W=t[1];return W});TurnText.displayName=_0x545a97(427,"*!ut");export const ScoreBoard=_0x44db1e[_0x545a97(375,"@@][")](e=>{const o="qg*C",t=_0x545a97,x={wOiSp:function(e,o,t){return e(o,t)},vYfsH:t(365,"BtDy"),iWncm:function(e,o){return e===o},ueNRB:function(e,o){return e===o},mXltS:function(e,o,t){return e(o,t)},cutYj:t(324,"#Gjb")},W=_0x3263f3(5),{offset:n}=e,r=void 0===n?0:n;let s,_,a,d;if(W[0]===Symbol[t(286,"@@][")](x[t(340,"0T9@")])){const e={};e[t(386,"#Gjb")]=SNL_COLORS[t(372,"lvLC")],s=x[t(287,"k6&5")](_0x71bf78,View,{style:styles[t(366,"mAG@")],children:[_0x71bf78(View,{style:styles[t(387,"r3IO")],children:[_0x27151e(View,{style:[styles.colorDot,e]}),x[t(420,o)](_0x27151e,Text,{style:styles[t(303,"#Gjb")],children:t(333,"XPSD")})]}),_0x27151e(PlayerPositionValue,{})]}),W[0]=s}else s=W[0];if(x.iWncm(W[1],Symbol[t(299,"m3Z#")](x.vYfsH))?(_=_0x71bf78(View,{style:styles[t(357,"cNJW")],children:[_0x27151e(TurnText,{}),_0x27151e(ScoreValue,{})]}),W[1]=_):_=W[1],x[t(430,"Kqi#")](W[2],Symbol[t(423,"XPSD")]("react.memo_cache_sentinel"))){const e={};e[t(364,"ys4X")]=SNL_COLORS[t(405,"LMIj")],a=_0x71bf78(View,{style:styles[t(290,"m3Z#")],children:[s,_,_0x71bf78(View,{style:styles[t(393,"m3Z#")],children:[_0x71bf78(View,{style:styles[t(307,"Kqi#")],children:[x[t(296,"T*E2")](_0x27151e,View,{style:[styles[t(415,"oGeC")],e]}),_0x27151e(Text,{style:styles[t(403,"RUW@")],children:"AI"})]}),x[t(359,"8FAU")](_0x27151e,AIPositionValue,{})]})]}),W[2]=a}else a=W[2];if(W[3]!==r)if(t(330,"D)iX")!==x[t(302,"LMIj")]){const e={};e.backgroundColor=_0x42d714[t(368,"p@DV")];const W={};W[t(319,"c(y5")]=[_0x58220f[t(415,"oGeC")],e];const n={};n[t(335,o)]=_0x4cdb62[t(326,"BtDy")],n[t(401,"@@][")]="AI",_0x1bd195=_0x2c60b0(_0x433cc9,{style:_0xcb8c54.scoreBoard,children:[_0x41eb51,_0x1a311b,x[t(416,"cQFR")](_0x124738,_0x12c015,{style:_0x1ebfd4[t(385,"DbI8")],children:[_0x44b414(_0x3a3d22,{style:_0x1f41d0[t(314,"RtM6")],children:[_0x399f6b(_0x1a776e,W),x[t(419,"Kqi#")](_0x5bff77,_0x17c76b,n)]}),x[t(288,"*!ut")](_0x25e2a9,_0x337287,{})]})]}),_0x5a9501[2]=_0x2658ae}else{const e={};e[t(298,"RtM6")]=r,e.children=a,d=_0x27151e(ScoreBoardContainer,e),W[3]=r,W[4]=d}else d=W[4];return d});const _0x393cbb={};_0x393cbb[_0x545a97(407,"ys4X")]=_0x545a97(305,"@aV1"),_0x393cbb.justifyContent=_0x545a97(348,"rn0G"),_0x393cbb.alignItems="center";const _0xc2b55b={};_0xc2b55b[_0x545a97(388,"5tSZ")]=_0x545a97(391,"r3IO"),_0xc2b55b[_0x545a97(432,"D)iX")]=1;const _0x423b13={};_0x423b13[_0x545a97(378,"T*E2")]="row",_0x423b13[_0x545a97(350,"k6&5")]=_0x545a97(424,"SMXc"),_0x423b13[_0x545a97(379,"p@DV")]=4;const _0xe786f4={width:12};_0xe786f4[_0x545a97(422,"cQFR")]=12,_0xe786f4[_0x545a97(344,"JmB0")]=6,_0xe786f4[_0x545a97(311,"RtM6")]=6;const _0x555f21={};function _0x2ede(e,o){e-=284;const t=_0x57a7();let x=t[e];if(void 0===_0x2ede.inYmmS){const e=function(e,o){let t,x,W=[],n=0,r="";for(e=function(e){let o="",t="";for(let t,x,W=0,n=0;x=e.charAt(n++);~x&&(t=W%4?64*t+x:x,W++%4)?o+=String.fromCharCode(255&t>>(-2*W&6)):0)x="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(x);for(let e=0,x=o.length;e<x;e++)t+="%"+("00"+o.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(t)}(e),x=0;x<256;x++)W[x]=x;for(x=0;x<256;x++)n=(n+W[x]+o.charCodeAt(x%o.length))%256,t=W[x],W[x]=W[n],W[n]=t;x=0,n=0;for(let o=0;o<e.length;o++)x=(x+1)%256,n=(n+W[x])%256,t=W[x],W[x]=W[n],W[n]=t,r+=String.fromCharCode(e.charCodeAt(o)^W[(W[x]+W[n])%256]);return r};_0x2ede.ZTOBpq=e,_0x2ede.TuOFVY={},_0x2ede.inYmmS=!0}const W=t[0];_0x2ede.pzoAPx!==W&&(_0x2ede.TuOFVY={},_0x2ede.pzoAPx=W);const n=_0x2ede.TuOFVY[e];return void 0===n?(void 0===_0x2ede.LGsdBO&&(_0x2ede.LGsdBO=!0),x=_0x2ede.ZTOBpq(x,o),_0x2ede.TuOFVY[e]=x):x=n,x}function _0x57a7(){const e=["W7zCW6fUhCkxDq","qt5GnSkN","DCkgfKqG","CWpcNmo0WRW","W4rlrq","WOrHtqJcPSoQhSo1","W4asbv/cUmkAa8ofW6C","gSo2BSo8va","WPayCW9G","W5TbW5hcJ8oLW7qhyvKEne/cLq","scvVW4/cKmkjFcaJyG","CfBcVCkYic3cK3/dR1W","WQpdI8olW7RdR8o8WRmw","WRhcPmoNdG","WPS9WONdRCkt","ufxcGIGCWRhcNW","WQtdISorW6BdP8oVWQ82W519pG","WRZcRSoQ","pSkzWPvfW7TxWR0xqSoWdSkO","mmkPjdCy","WOD5uvJcRs4KW49j","FY/dRY7cOuldHCoIW69jaMPNtZFcLSoTESkVWRNcKSkIW6zaiG","WRFcSWunlc0f","WQX9BulcSq","z0xdHa8H","WPToxMa","gCkxlmoGDq","W5OxW54","WPRcGmkzWRuEW6NcS8olW7NdHCkPpW","dx82W63cNCkMzdmv","AaZcPCkuWQ/cR8kdW5S","W73dNSku","qtP4oCkNs8ofBCoGrZ7cHq","WQO6W6zYW4SEdSkUW7BdG8oAW5G","WPWxhaSpCqCvbc0","WPSugXGYuqKv","ALy6Fmok","huhcPCknW4xdOmkzA8kpAW","W58qW4xdVmo9ESkXza","ke3cPmklW7FdH8kFBCkvEW","kmoxDSo6xG","mCkPmhyyoCk0ra","WPJcNSoCsSk6WOXU","WOPrsbdcKq","fCk1bCoDENeeCf3cHYnDhJW","WPddJCoPW73dKG","xsPLW4u","gchcUCkFWOJdQflcHSopc8oKW5/dUaG","oSoTW7jMWOmLzSodySkWW5risd4s","ssnHW57cGCoRCcCRytrrtSk6Dmo3WR7cSmoxW7hdPqRcI1pcKW","W4JcNSopWOVdOvlcT8orjG","W7ldMHvfjmoqW5JcPmkFi2CBW5zfo18vW7mo","AfRdLCoKW7dcKYNdPa","lu3cPSkqW5i","WOD5uvJcRtm1W5jq","W5NdQmkKc8oKhbSPkeFcNwzN","pSovrmoaF8owWR8oW4lcQI5A","W59hW5lcICoOW74figyHoNlcSCoU","W43dHHvFkmowW7e","xCkRi2q","xY90nq","qX3cRCoaWPO","W5OuW4NdQmoDyCkMB3JdQCoTqYq","rhldUmoaW5BcSstdMCoidmojW5u","WOSBWONdMCkYWOvdCve6","W6G9W7tdHa","WPr9xqJcPW","xtP4oCkReSoD","ux3dHSoTW44","AKeSySokzrNcGd8","WOmZEtDiomk8uHyrmh3dSCkKW6i","WPRdUheGW7/cLmkVWRqrWPVdTthcQCoOWQe","WPDhwMJcVSkWdSorW5LX","kXnZjSkDqWJcQH3cMmkV","W6fnW71w","WONdSx4TW7/cLa","W7VdUHvVgW","puhcPCknW4xdQ8kcB8kq","b8k1j8ogtNubCMBcHW","WRCUWOSZAa","WONdVhK1W77cLmkdWRq","Drm3yGa","k3TigWKJW4qsqH8","gZVdJL0N","yWxcGmo5WQ3dMa","u8kMj2CDW4HoeG","W4CzzKZcPSk4iSo9","WRNcUCkuW6ZdMudcJNbiEa","Eaj2CSost8optW","WQNcU8oICmkqWRjslq","WOCwWPldMCk1WQjJE0W","pSoGW7r1WQa+E8otB8kGW75isG","WPfkxMRcGmkrg8ohW5e","l31DW43dJMzXWRK","Cmk+WPlcVeG","W6/cUmo4WQ0","WOFcVWyqoW","FxNdLGGmWRhcOJ1GW6JdGebg","AmoeW4WdWQOs","WOFcVWyqo1nkgq","xSk9WPRcVgi","W5hdLrTojmoUW6NcQCkjjG","iNHmfuDhWP1uyGJcKmo1q8kB","zauwFGa","nmksnaGn","b8k1j8ogsNKsCa","qCkxWPRcIhPU","WOpcJSon","wSoaWPTxtde","tZnYW5pcOCkGzty","W7bOWRWV","behcGmknWR3cMSkmW6e","CMNdKa4mWQ3cHr1TW6RdKeTtda/cJmoyWOK","BSk8WQe","zI8XFZi","W7ldQ8omWQJdHv/cGMr+Ca","WOWBWOxdHG","WO4ygH4eEHWrgZO","W5ulW63dMq","W7PqyqfbWPhcVx/cP8oHtG","oSktWPetWOulWRKMsG","WO7cNCop","WOraW7VdP8oFwmkJra","WOzeqgBcPmkqfCoA","W4NdNCoyWRuXW7dcG8oRW5G","vSkHpa","WOO0hd8r","j3VcM8kWWPK","WPbksq3cJG","puhcPCknW4xdOmkzA8kpAW","WPWskHGusH0","l8oqvCo2sCoTWPqKW6lcIdDPEW3cLa","lmkaWQpdG8k2x8kSFq","WPhcLmonngFdPs7cRW","W4WuW43dQCo8ESkDzh/dTmoNtt4ekG","W4S3W4xdG8oP","aCo/y8oQx8oW","i3nsW5ldJ2a","ke3cUa","avJdJxGI","puhcPCknW4xdTSktCSkj","WOVcH8ojASk1","WPiXDs5kbSkYrr0z","CmkDWOBcNtjoWO00vW","WRWtWRO","EXRdVConWPtcLCkqESkWECooWPS","yYyEvbucW6akDrlcSCoZw8kYW5m","nCkFeCoM","ECoeW4muWRToWRycySoPfmkFW5hdSCkwW5JdSuTXggeReCojfa","WRVcU8o0CSkr","ixrgW4BdG3PgWR7cVXLx","Bu0ODCob","WP5VubFcHq","phLvW5JdJ2zDWRNcVbHaAaZcSmkm","FuSWymodtrtcQZpcMCkp"];return(_0x57a7=function(){return e})()}_0x555f21[_0x545a97(380,"D)iX")]=_0x545a97(414,"KHX5"),_0x555f21[_0x545a97(362,"BtDy")]=1;const _0x53a0f2={};_0x53a0f2[_0x545a97(404,"4ci@")]=14,_0x53a0f2[_0x545a97(394,"*sld")]=_0x545a97(347,"YjMk"),_0x53a0f2.color=COLORS[_0x545a97(381,"T*E2")],_0x53a0f2[_0x545a97(413,"0T9@")]=1;const _0x460253={};_0x460253[_0x545a97(421,"*sld")]=22,_0x460253.fontWeight=_0x545a97(320,"k6&5");const _0x3188fa={};_0x3188fa[_0x545a97(404,"4ci@")]=12,_0x3188fa[_0x545a97(355,"m3Z#")]=_0x545a97(429,"ys4X"),_0x3188fa.color=COLORS.TEXT,_0x3188fa[_0x545a97(374,"YKwu")]=.9;const _0x3d5097={};_0x3d5097[_0x545a97(351,"k6&5")]=10,_0x3d5097.fontWeight="500",_0x3d5097[_0x545a97(412,"oGeC")]=COLORS[_0x545a97(411,"mAG@")],_0x3d5097[_0x545a97(383,"rn0G")]=.7,_0x3d5097[_0x545a97(406,"D)iX")]=2;const _0x47c483={};_0x47c483[_0x545a97(433,"k6&5")]=_0x393cbb,_0x47c483[_0x545a97(370,"]CkI")]=_0xc2b55b,_0x47c483[_0x545a97(295,"T*E2")]=_0x423b13,_0x47c483.colorDot=_0xe786f4,_0x47c483[_0x545a97(294,"XPSD")]=_0x555f21,_0x47c483[_0x545a97(417,"YKwu")]=_0x53a0f2,_0x47c483.scoreValue=_0x460253,_0x47c483[_0x545a97(425,"BtDy")]=_0x3188fa,_0x47c483.scoreText=_0x3d5097;const styles=StyleSheet[_0x545a97(400,"c(y5")](_0x47c483);function _temp(e){const o=_0x545a97;return e.players[0]?.[o(323,"lvLC")][o(284,"5tSZ")]??0}function _temp2(e){const o=_0x545a97;return e[o(316,"gyf@")][1]?.[o(312,"DbI8")].position??0}function _temp3(e){return e.playerScore}function _temp4(e){const o=_0x545a97,t={};t[o(410,"cQFR")]=o(331,"0T9@");const x=t,W=e[o(358,"LMIj")][e[o(428,"0T9@")]];return W?W[o(434,"T*E2")]||e[o(408,"5tSZ")]===o(291,"k6&5")?x[o(392,"YKwu")]:o(304,"cQFR"):""}ScoreBoard[_0x545a97(332,"YAd9")]=_0x545a97(353,"m3Z#");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x2fc3a9=_0x2748;function _0x2748(W,t){W-=243;const o=_0x39a1();let d=o[W];if(void 0===_0x2748.XQsLGo){const W=function(W,t){let o,d,a=[],e=0,i="";for(W=function(W){let t="",o="";for(let o,d,a=0,e=0;d=W.charAt(e++);~d&&(o=a%4?64*o+d:d,a++%4)?t+=String.fromCharCode(255&o>>(-2*a&6)):0)d="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(d);for(let W=0,d=t.length;W<d;W++)o+="%"+("00"+t.charCodeAt(W).toString(16)).slice(-2);return decodeURIComponent(o)}(W),d=0;d<256;d++)a[d]=d;for(d=0;d<256;d++)e=(e+a[d]+t.charCodeAt(d%t.length))%256,o=a[d],a[d]=a[e],a[e]=o;d=0,e=0;for(let t=0;t<W.length;t++)d=(d+1)%256,e=(e+a[d])%256,o=a[d],a[d]=a[e],a[e]=o,i+=String.fromCharCode(W.charCodeAt(t)^a[(a[d]+a[e])%256]);return i};_0x2748.fHzsUa=W,_0x2748.yzezZe={},_0x2748.XQsLGo=!0}const a=o[0];_0x2748.jjoAdZ!==a&&(_0x2748.yzezZe={},_0x2748.jjoAdZ=a);const e=_0x2748.yzezZe[W];return void 0===e?(void 0===_0x2748.KDWuoI&&(_0x2748.KDWuoI=!0),d=_0x2748.fHzsUa(d,t),_0x2748.yzezZe[W]=d):d=e,d}!function(){const W=_0x2748,t=_0x39a1();for(;;)try{if(938433==-parseInt(W(392,"VAbD"))/1+parseInt(W(437,"F*vz"))/2+parseInt(W(375,"Z*YT"))/3+-parseInt(W(461,"d(R["))/4+parseInt(W(530,"9pXR"))/5*(parseInt(W(489,"bGr^"))/6)+-parseInt(W(302,"(Pf0"))/7+-parseInt(W(347,"VGj["))/8)break;t.push(t.shift())}catch(W){t.push(t.shift())}}();import{SPACE_FIGHTER_GAME_CONFIG as _0x3f78d0,SPACE_FIGHTER_COLORS as _0x51ab78}from"./SpaceFighterConstants.js";import{setGameInterval,clearGameInterval}from"../../helpers/GameTimer.js";function _0x39a1(){const W=["W6S/W6BcV8ksyc1wW4itW55CW7ehEmkpxSkODSoOW4PhW7FcT8oSWQvoamksW5m","dSkzWRZdVCoPp3RdO8k4W4ldN2pcVZXEiSoywW","DmoEdxeOtqjkwdLVi8ork8oa","W53cO8k9WPT4cmkuoCkR","sW3dSmkvWQe","ySk2Amovmq","vhK4","bbnGW4zWW5dcTG/dJmkXuWDH","W7a2WQ9dW5vasZBdONGglgK","emkGmmkXn8oMxaFcMmoXAmknDrq","DCowea","tmohW5O4FCk3","W6fCWQy","nKZdQWhdUW","xqr+WPzA","W4z8odql","qwm0fcq","bmoixmoFmG","W4HkfYmWFa","bmoLzCoLaW","FCkSW4tdLde","nHenkwKWwrxdJY5wWRb3fCkutG","W5/cNSkkW55ZlfDpWRnmcfjB","W7u/W6/cSCkvFa","FCkfWOnAWOzGWPaog8olmCkOWOa","tCk1FYtcVbn3wwe","d8oRWQKluCoSWQtcMfD8WPr1W5i","aSoLE8oKd0GKCCoT","BLyG","a8k9o8kWo8oRwXlcMSoXCSkgDr4riSkJWQ/dTd8","W4ZcO8kLWQDRamkdjCkqWRZcG8kNW7FcGG","e8oOrZ7dJexdGSkKmSovAdOdw1ThhvHmW6RdQG","WRSkW6i4z11EWOlcUsflDCkd","e8oOrW","bmktW67dQCoPWP5RW58xW4/cVwLDW4aoW6NcUq","WP/dPColWOS","W5NcP8k/WPb0da","Eg4Ln3LY","v8kJW7uGW63cLY4vW6lcHSo9WR/dJCoHFG","W7lcGGZcUb92AZvbW6FdPLxcOCo4FG","C8kYCmoZjmopWRmxx8oGcCkAoZS","DrtcUKtcPSoZW6y3bmkHW7KCCW","zCkokCkpW6e","h8oUWROAuCoHWQlcUej8WQLuW6TOc8k5q8oOWQpcSa","W5rocJCHCa","W4ZcP8k8WPfpcmknjCkb","WPpdSmoGW4iVvCkrk8kKWPJcMmkR","ESk4CW","r8omdMqBqbHludXOjmorpmoa","W7GPW7xcS8ktEYfaW4itW55iW7OWy8kdxCkU","W6FcUJhcQCoYWQFdI8kDW6D+W6fvb0GnW4m","W7OJW7VdLeyVhSkQWPRdImofcG","h8o3WQ0jrG","WPldHSk+iCkUWQhcTwCZeSoHW740de3cGCkQWOvWxW","pSk/WORdLa","W4n9e8kTaCk6W64NWO7cICkRESkugmknv8oO","W5bGoSkBka","aaPLW5f9","bmk3WOrqaCoPWR1Uk8o9W5NcRIC","qaxcKxRdSG","wCkxW4NdMtpdKmotWPP+hSoRWQxdGSolWO7dJmo2W7VcGCobWOiWzZ5Ayem","W5b0bmk6a8kyW7e2WPG","W4FcP8kIWOblcCkzm8kAWQ3cKCkvW6RcTNu","F1nKW4RcOW","j8o5s1m4yvhcONm","W6FcQdlcVmo0WRddH8kgW6jiW71/hvSl","W64ZW6xcOSkj","WPyrna","v8k/W6ScW6hcNIeoW7dcICoMWOldP8oZFNVcRW","sCkBW7HdnW","vb3dHxFcGwVdQezwt8kQcwy","jcJdPCoWrcNdQ2dcHmk7W413iqFdJW","uhuOjhK","WP3dGmokWPSOFHrOWPjRmMfyW5q","W67cMrBdUqjdWO0E","WPBdJmk+mmkUWQ/cRvecamo2W74LeuxcG8ko","fmkYWPDbaCoKWRTCpCoOW7BcKZJdT8o9WQldGrJcKCkt","WOFcR8k9WR7dSa","EuD7W5C","W6qdW5/dShCfnmkCWQtdVCoHfMxcIa","W4vCdse2E1SZyhqlW5ZcQa","W5NcO8k9WPf6eSkfe8kdWQ/cGCkKW6dcQxfIhmoNW6e","Cf4IaW","DCkuW5JdMZxdLSocWOL5dmoEWO4","C8kNW4zshSkEW7imW4XxWReFW5TKFrRdPa","WOvxcXjX","F1DKW5dcPCkyxJBdOW","W4DWaG","ysFdGG","rmklW73dMWi","o8ktW6RdPmod","W57cGr3cUHLWEIzgW7xdILxcNG","W53cKbxcQZv3","AI3dVaxcGq","amoTBSo4eG","WPtdHcpdJWa","sxm7","xH/cTMhdTmo8WQBcUv8tfXi","W79MbSkVcCkEW74HWORcNCkWwSkdc8kdsSoVu3BcQCoHW57cJG","hSolz3CYWOzWn8o4EINdHN52WQy","qSkcW4hdNt7dHW","WPBdKCk1jCkOWQxcGM0EdCo8W6GVdeRcTCkBWPzTrfZcRMDM","WOxdI8kPn8k1WQpcSKqaamo4W74pbW","uf4paZC","WOVcOCkKWOtdTSo2m1f4WQNdK8kjWQhcJmo2hSot","W4bkfseWCq","cehcNcddNYW","bmkIWPf8cSojWQbJiCoGW7lcLb7dT8okWQ/dLG3cMW","mSoZsuGPz0NcIfVdMSkfWO3cJSkMcSowW5aQcG","W6RcLCkfWRfjlSkPbmkSWONcO8kr","CCk1FqVcUGXYx3XhaLfSgbxcS8oL","W4DhhcCVv107x0S1W5tcT8kl","W4RcTCkLWPfPdSkjjmkGWR7cG8k2W63cJ3LPdCog","tSkcW4tdNYldLG","aCoTC8o1","FajmWRRcPhuwc8oTEa0vcW","omoRqLudWQbYf8omwG","dmo6WROCxCoSWRRcNei","jfikW7/dKILki8ocErCufqT4W5BdRW","Cem5fcfqtsRcNLOyxSk0WR0fW6fNbZxdV2ddVSoivNFdRmoQ","jcJdPCoWrcNdQ2dcHmk7W41ToZ7dHrXwW5BdM0RdUG7dRa","EKjPW5ZcO8kswc7dNCoxW4fFpq","dSo0WR0gua","bWjZW5f8W5dcQaVdMq","WQJdGHxdGH0","wCkoW5ldNW","f18CW63dPq","agNdIGtdNW","FqnsWQTTtSkArdDdzSobwZxdI8oQsxRdUCk9","emoSqb7dMua","hJfgW7nJ","WOddMahdLXzvWOq+WQ5MWPVcGSk9EXriWRBcUNHBA8oGuq","W5b9d8k9a8kyW64vWPNcMSkPDSk5la","t3HEW4/cHq","A8k8W6aGW6dcHZ0","mKddUYxdV8kHWQ8Almk0","WRJcQ8kKWQddRCoY","BvGV","tCkVytRcSa5QD3XAce1agrtcG8o+W7nHzG","EmkLW7yP","ct7dSSo4vdJdRwdcPmkUW41boHldGXzXW4ZdLvtdSW/dNSojWQhcMSk/W4y","WOGwoSo0khFdHmo/iSogWQFdJ1fM","WR7dUmoYWQSexJvVWQzEafDyW6O9","W6aPWQjmW5LqudJdQG","WPqFmmoZexZdJSokoCoeWRNdVNfVW40","qmkPW5TLmSkDW7ijW5znWRCEW7zyCrtdQG","eSkLWOddKmodcvddNSkxW7VdQgxcGZn1a8o7z8onW7HJuJ0","yfS9bYC","DSkeW7jifa","WQFdG8o2WPG7","WO8xj8oZkq","qCotjfC5","iua6W6tdVZjuimohzHSF","E8kRpaVdRW","W4/cSIBcQCo/","emo6WRSCzmoNWQ/cILHRWR9YW61ScG","WO7cKSoewX09W4TynSoUe8kA","sHyyo2PYbG","W79gWQjG","k0ylW7NdTcHsdSoyFHSjfdz1W6JdULdcL0u","yvDHW5JcRSkf","t8kPzY3cPW93uKzk","WOxdGSkImmk1WQpcRwCb","WORdRxVdQ8kLW6tcLmkvW5bOW556pG","uMWOmwvJWOhcKSk5WQJcQwu5W4ddLq","WPRdNSoQWRG1","WPhdPCokWReZWQRcH8kLcsZcK23cGq","nJjgWR3cQSoKW5X6W4HcWOldNqu","W5BcTXFcVmod","WPTWkXrkW6ldOtzfrfLN","Dvi0ctzQutlcTq","o0myW6JdTcvulSonFJ8idZPJW5tdO1hcSu7cKePsWQtdQSkOtq","qSkNW58","xCkoW4ZdJJ4","hSoHz8o3eKm","vbJdSSkBWQeT","hCoOWRWnrSoGWR/cNwj4WQ1rW6PvbSkhvSo/","W5ZcHaVcSYS","vHldQW","eKVcGcNdKW","aam3m08TwHddGG1xWQzQnCkAud07W5FcLmkK","W6OQW6dcTCkeDZPfW7CxW6DSW4i","v8kgWPDAWPfGWQmua8oElmkt","WQZdGGVdKW","W6ddT8o6W7FcR8kPB1PHWQVdRmknWRC","hWzOW4j9W4C","Aq9gWQS","emoSqrNdLuFdJCkKdG","s3KIn2vU","WP90pcXoW7tdNcX2rf1TWP3cUCkE","g8otEMuVWObtemo4BY3dGfT3","A0q5iGW","kCkHW4NdMmo4WR5oW7CHW6/cHeDKW5O4W43cKSoeEmo5ySoLxG","p1FcHsBdLd3cU1zDqSkooW","mu3dTGBdUSkJWQu1mmkYW6CxsSof","WQtcR8k4WRpdSmo5m114","WQ/dNGldNG","W4VcQYpcVSoYWRBdLSkvW6vAW5f/iG","W5RcMbJcRrq","WR7dMaxdKWDFWO4OWPXwWQlcQSk+","s8k/wJ7cSW","C8kPW5TLfmkaW7emW5TUWRyiW6TLEWO","W4folH0L","xSk7ytZcVanYu3W","WOBdL8kXnSkOWOFcOg8xnCo8W7yJeq","WQZdV8oDWO8GWQ7cLSkJasNcI1a","WOhdRCodWOOSWQy","xmkcW4tdLtxdMSovWOja","gWjYW5ffW5VcVr3dG8kMEqbEhI8","gmkhW67dTq","e8o9uG7dMuFdK8kGn8otuq8H","fCoOWOShwSo7WQtcLL1KWQLc","W6KVW7lcVG","rCodW44","rmodW4uPwCk6FsBdKCoCuLaobmoL","tHZdSmkjWRa","z8k+FSof","W5j0gmkQbCkw","tXtdUmkiWR0","dtRdUCoKqG","ymkGpSkqW5znW4vdebfXW7ZcNLtcPu7dHSkHW5PGsCozWPn5","WPJdISk+","e8o3FCo1feqHCmona8kZWRJdS31vWP8FuG","WO/dO8oqWQut","W6hcTXJcJ8ow","WRlcJCorwWW","iSo1xvK","WPSFimoVjhddVSokamolWQVdK3fSW48","wLTFW5RcPa","ur3dHxdcGwhdRXjps8kaeh4D","WQFcVSkRWQtdVmo5lvLTWRtdPCk0WRq","W5yGW6RdLKaPd8k5WP3dMSoPahy","e0hcGrtdHZNcU0fFvSkBbuCTW77dTGn1W7JdVNlcShC","g8o+WRWHwSo7WRpcI19PWQbNW7D1cSkyxmoKWQlcPW","iSoSrL8+A1FcUK3dJ8k+WRVcUW","W5tcUJhcQCouWRRdImkyW6PDW6bdgNuhW53dIa","W7lcQSklWQzA","W68/W63cUCkcFtXDW4G","WPNdGSkJmmkmWQJcUheBaSoMW48VdKe","FSk1W6KUW63cMZKEW5O","xCosW5i8FCk3vd3dGComsgCu","W5uXW6ldH2WU","tSkBxSo5mq","F8k5W6e1W6y","oxZcJsVdNq","o0OxW6JdLZrjiSo4FHejhG","WQlcQ8kMWQJdUSoZk0ft","dSo6WQymw8oI","mLxdRHBdTSkJWQqsjmkNW5mHvq","fCoau8okia","rW3cH3RdS8oRWRJcS0a","r8omdMqBqbHludXOlG","W6XJha0w","W7a2WQ9dW5vasZBdONGhlgK","nCorwhlcJXVdLbHol8onWRm","fJRdRq","WPj6ka","gSoJihJdO1yMyKjyiNPI","dmkHl8kN","rmkLWRnRWQG","WRldN8o5WQSrWOtcVmkvpXJcTKZcINS","BLDMW5RcTmkqxIRdUSoqW6XPgCkbiSoSBGiTxq","WO7cKSoewX09W4TynSoUe8kB","cdjcWRNcU8oUW5zSW7PYWRVdPa","W4tcKCk3c8kRWRpcQ1a","iCk3WOpdHCoWbeRdN8kFW77dR3JcMr1/","Amk0orBdVq","W4tcGJ/cTHjNEIHmW63dT2i","W7NcLWFcRmoB","qmk1za","qqNcMwhdUCoHWQdcR2O","W4HWh8kPaSkp","WPVdJmkN","DCkKjmkMW5Xn","W4XpCmkWCcpdV8o2eSoPWPddPa","a13dHJNcQ8k/WPZcMxeXkdG","WO7dH8oFWOqOBG5bWO4","wSkPW4rKfa","W4DAcZyHEKywqfyJW4/cT8kmWPPWAWCLWQC","zSkAWPa","qCoNbMKs","zfnW","WRtdSmkeaCkoWO/cIeyTnSoCW58skW","WOVcVCk6WQBdUSo/pePQWQBdImk0WOVcNSo2","WPT0mIf/W7NdUdPu","tmkcEXdcNq","nGmopg8Nvq7dIHHkWPa","W6S7W6/cSSkoEq","WPrWnIndW6q","WOZdM8ohWO0ZCG5kWRn6pNn/W6qrWRJcO8oO","WRZdNGpdHbbEWPmnWRX0WORcUCkHur91WRlcRxjt","W7OXW7JdGua4eSkXWP/dVSozkLpcPCo7W7S","cSoiD3m0WOXjmSozwa3dHgi","WOddUmomWPW3WORcHSkLbt3cKghcUMdcM8oSWQPIWPFcQSkM","qSk/DtW","sSkHWOTjWOm","W7nfn8knl8k4W48sWQ3cR8kBqmk5eSkP"];return(_0x39a1=function(){return W})()}export{_0x3f78d0 as GAME_CONFIG,_0x51ab78 as COLORS};class SpaceFighterGameService{gameTimer=null;[_0x2fc3a9(407,"F*vz")]=null;[_0x2fc3a9(517,"ANr7")]=null;[_0x2fc3a9(313,"(Pf0")]=[];[_0x2fc3a9(449,"4!Oa")]=0;[_0x2fc3a9(458,"XR%0")]=_0x3f78d0[_0x2fc3a9(494,"^tPM")];currentSpawnInterval=_0x3f78d0[_0x2fc3a9(310,"4!Oa")];[_0x2fc3a9(326,"wQLK")]=0;[_0x2fc3a9(495,"2T^1")]=new Map;spacecraftXSV=null;[_0x2fc3a9(348,"(Pf0")]=null;cachedIsPlaying=!1;[_0x2fc3a9(323,"NS11")]=0;[_0x2fc3a9(380,"Hn*v")]=0;[_0x2fc3a9(486,"Z0D!")]=_0x3f78d0[_0x2fc3a9(414,"xd8k")];[_0x2fc3a9(513,"xd8k")]=!1;[_0x2fc3a9(436,"@LQn")]=new Map;[_0x2fc3a9(525,"Z*YT")]=null;constructor(W,t){const o=_0x2fc3a9;this[o(487,"ql[u")]=W,this[o(521,"VGj[")]=t}[_0x2fc3a9(258,"Z0D!")](W,t){this.asteroidSVMap.set(W,t)}unregisterAsteroidSharedValues(W){const t=_0x2fc3a9;this[t(285,"WNR9")][t(528,"[x8t")](W)}[_0x2fc3a9(415,"q^Om")](W,t){const o=_0x2fc3a9;this[o(299,"q^Om")]=W,this[o(422,"wQLK")]=t}[_0x2fc3a9(522,"R[7T")](W){this[_0x2fc3a9(499,"XKQx")]=W}[_0x2fc3a9(253,"JPkI")](W){this[_0x2fc3a9(307,"a$]4")]=W}[_0x2fc3a9(446,"LzOq")](W,t){const o=_0x2fc3a9;this[o(274,"Hn*v")]=W,this._spacecraftY=t,this[o(328,"LzOq")]&&(this[o(473,"R[7T")][o(434,")WB4")]=W),this[o(536,"ITRZ")]&&(this.spacecraftYSV.value=t)}[_0x2fc3a9(350,"VGj[")](W){this[_0x2fc3a9(249,"bGr^")]=W}[_0x2fc3a9(455,"2hP7")](){return this._spacecraftX}[_0x2fc3a9(445,"d(R[")](){return this[_0x2fc3a9(404,"@LQn")]}[_0x2fc3a9(363,"9pXR")](W,t){const o=_0x2fc3a9;this[o(300,"Fzz%")]=W.x,this[o(369,"5QYo")]=W.y,this[o(401,"(Pf0")]=W.size,this._spacecraftIsControlled=W[o(385,"[oyX")],this[o(315,"y^Oa")]&&(this[o(352,"1!g)")].value=W.x),this[o(366,"JPkI")]&&(this[o(371,"t^kk")][o(395,"XKQx")]=W.y),this._asteroidPhysics[o(467,"XR%0")]();for(const W of t)this._asteroidPhysics[o(448,"LzOq")](W.id,{y:W.y,x:W.x,width:W.width,height:W[o(278,"ITRZ")],pairId:W.pairId,passed:W[o(247,"LzOq")]})}startGame(){this.cleanup()}[_0x2fc3a9(252,"TT0W")](){const W=_0x2fc3a9,t="8|5|2|1|6|0|3|4|7"[W(419,"myYE")]("|");let o=0;for(;;){switch(t[o++]){case"0":this[W(345,"VAbD")]=!1;continue;case"1":this[W(532,"XR%0")]=[];continue;case"2":null!==this[W(308,"mCzC")]&&(cancelAnimationFrame(this[W(250,"xd8k")]),this.physicsFrameId=null);continue;case"3":this._asteroidPhysics[W(265,"XF7i")]();continue;case"4":this[W(495,"2T^1")][W(343,"Hn*v")]();continue;case"5":this[W(464,"q^Om")]&&(clearGameInterval(this[W(294,"XR%0")]),this[W(340,")WB4")]=null);continue;case"6":this[W(533,"9pXR")]=0;continue;case"7":this[W(519,"(Pf0")]=null;continue;case"8":this[W(402,"a$]4")]&&(clearGameInterval(this.gameTimer),this.gameTimer=null);continue}break}}[_0x2fc3a9(322,"ANr7")](W){this[_0x2fc3a9(460,"d(R[")]=setGameInterval(W,1e3)}updateDifficultySettings(W,t){const o=_0x2fc3a9;this[o(256,"Z*YT")]=W,this[o(491,"R[7T")]=t}[_0x2fc3a9(411,"NS11")](W){const t=_0x2fc3a9,o={JkEpz:function(W,t){return W(t)}},d=this[t(379,"ITRZ")]();W(d),this[t(527,"d(R[")]=setGameInterval(()=>{const d=t,a=this[d(468,"ANr7")]();o[d(267,"F*vz")](W,a)},this[t(444,"cSMI")])}[_0x2fc3a9(534,"XF7i")](W){const t="JPkI",o=_0x2fc3a9,d={hsaDY:function(W,t){return W(t)},qWuZS:function(W,t){return W-t},MoEIv:function(W,t){return W/t},bSApO:function(W,t){return W/t},YlZRA:function(W,t){return W>t},Ljlam:function(W,t){return W*t},quwjW:function(W,t){return W(t)}};this[o(417,"5QYo")]=Date[o(397,"Fzz%")]();const a=()=>{const e=o;this[e(312,t)]=d[e(309,"XF7i")](requestAnimationFrame,a);const i=Date[e(503,"J##F")]();if(!this.cachedIsPlaying)return void(this[e(262,"VAbD")]=i);const s=Math[e(339,"ANr7")](d.qWuZS(i,this[e(262,"VAbD")]),64);this[e(383,"iT!2")]=i;const n=d.MoEIv(s,16);this[e(535,"Z0D!")];const r=d[e(430,"2T^1")](this[e(453,"TT0W")],2);this._spacecraftX<r?(this._spacecraftX=r,this.spacecraftXSV&&(this[e(423,"t^kk")][e(478,"ITRZ")]=r)):d[e(354,"d(R[")](this[e(311,"VGj[")],this[e(428,t)]-r)&&(this[e(381,"WNR9")]=d.qWuZS(this[e(474,"nhFa")],r),this[e(441,"XR%0")]&&(this.spacecraftXSV[e(337,"Z0D!")]=this[e(291,"[x8t")]-r));const k=[];for(const[W,t]of this[e(409,"^tPM")]){const o=t.y+d.Ljlam(this[e(396,"2T^1")],n);if(d[e(342,"y^Oa")](o,this.height))k[e(276,"jFf]")](W);else{t.y=o;const d=this[e(410,"mCzC")][e(502,"xd8k")](W);d&&(d.y[e(333,"myYE")]=o)}}if(d[e(269,"5QYo")](k[e(306,"ql[u")],0)){for(const W of k)this[e(465,"y^Oa")][e(426,"B2Tu")](W),this[e(317,"bGr^")][e(520,"2T^1")](W);d[e(295,"[oyX")](W,k)}this[e(483,"TT0W")]&&this._onCollisionCheck(),this[e(514,"mCzC")]()};this.physicsFrameId=requestAnimationFrame(a)}startPhysicsLoop(W,t,o,d,a,e){const i=_0x2fc3a9,s={LPTPZ:function(W,t){return W-t},HLeIR:function(W,t){return W(t)}};this[i(273,"XR%0")]=Date[i(374,"a$]4")]();const n=()=>{const r=i;this[r(488,"F*vz")]=requestAnimationFrame(n);const k=Date[r(296,"myYE")](),f=Math.min(s[r(377,"Fzz%")](k,this[r(356,"ANr7")]),64);this[r(332,"B2Tu")]=k,this.updatePhysics(W,t,o,d,a,e,f)};this.physicsFrameId=s[i(370,"2T^1")](requestAnimationFrame,n)}addAsteroidsToPhysics(W){const t=_0x2fc3a9;for(const o of W)this._asteroidPhysics[t(421,"ql[u")](o.id,{y:o.y,x:o.x,width:o[t(428,"JPkI")],height:o[t(389,"xd8k")],pairId:o[t(507,"[oyX")],passed:o.passed})}getInternalSpacecraft(){const W=_0x2fc3a9,t={};return t.x=this[W(498,"[x8t")],t.y=this[W(466,"^tPM")],t[W(334,"2hP7")]=this[W(454,"[oyX")],t}[_0x2fc3a9(351,"XR%0")](){return this._asteroidPhysics}markAsteroidPassedInternal(W){const t=_0x2fc3a9;for(const[,o]of this[t(319,"XKQx")])if(t(457,"ADDj")!==t(341,"F*vz")){const W={_0x103dce:"Z*YT",_0x4ce2b6:417,_0x3ae0a4:"Fzz%"};this[t(477,"d(R[")]=_0x37255a[t(427,"jFf]")]();const o=()=>{const d=t;this[d(259,"VAbD")]=_0x482394(o);const a=_0x172ca5[d(387,W._0x103dce)](),e=_0x12946b.min(a-this.lastPhysicsTime,64);this[d(W._0x4ce2b6,"5QYo")]=a,this[d(439,W._0x3ae0a4)](_0x2df6fc,_0x230231,_0x32c15f,_0x520438,_0x5849b8,_0x254472,e)};this[t(424,"cSMI")]=_0x4d0c18(o)}else o.pairId===W&&(o.passed=!0)}[_0x2fc3a9(246,"!wS&")](){const W=_0x2fc3a9,t={yBTVZ:function(W,t){return W/t}};t[W(432,")WB4")]=function(W,t){return W*t},t[W(251,"ITRZ")]=function(W,t){return W*t};const o=t,d="asteroid_pair_"+Date[W(390,"ANr7")]()+"_"+Math[W(405,"q^Om")](),a=_0x3f78d0[W(524,"d(R[")],e=o[W(500,"a$]4")](this[W(336,"myYE")],2),i=o[W(271,"e]0O")](this[W(268,"VAbD")],.15),s=e+o.FJVpC(2*(Math[W(335,"xd8k")]()-.5),i)-a/2,n=Math[W(297,"VGj[")](.08*this[W(361,"TT0W")]),r=Math[W(443,"XF7i")](n,Math.min(s,this.width-a-n)),k=-Math[W(537,"XR%0")](.3*this[W(406,"a$]4")]);return[{id:d+W(244,"9pXR"),x:0,y:k,width:r,height:_0x3f78d0[W(400,"ANr7")],type:W(412,"Z*YT"),pairId:d,passed:!1,spawnTime:Date[W(296,"myYE")]()},{id:d+W(452,"ql[u"),x:r+a,y:k,width:this[W(272,"y^Oa")]-(r+a),height:_0x3f78d0[W(378,"NS11")],type:W(509,")WB4"),pairId:d,passed:!1,spawnTime:Date[W(290,"XKQx")]()}]}[_0x2fc3a9(358,"B2Tu")](W,t,o,d,a,e,i=16){const s="q^Om",n=_0x2fc3a9,r={bXhXH:function(W){return W()},gDZZF:function(W,t){return W/t},mMCNw:function(W,t){return W>=t},puLUB:function(W,t){return W-t},Xyjpc:function(W,t){return W/t},cSOTk:function(W,t){return W>t},KPdUy:function(W,t,o){return W(t,o)}},k=i/16,f=r[n(403,"Z*YT")](d),h=a();let x={...f};if(x.y=f.y,x[n(355,s)]=0,!x[n(270,"9pXR")]&&(x[n(479,"1!g)")]=0),x.x<=r[n(367,")WB4")](x[n(301,"bGr^")],2)&&(x.x=x[n(497,"XF7i")]/2,x[n(325,"[x8t")]=0),r.mMCNw(x.x,r[n(471,"xd8k")](this.width,r.Xyjpc(x[n(344,"1!g)")],2)))&&(x.x=this[n(472,"wQLK")]-x.size/2,x[n(364,"(Pf0")]=0),W(x),e&&h[n(438,"q^Om")]>0){const W=[],t=[];for(let o=0;o<h[n(254,"(Pf0")];o++){const d=h[o];if(!d)continue;const a=d.y+this[n(277,"9pXR")]*k;if(r.cSOTk(a,this[n(521,"VGj[")]))t[n(330,s)](d.id);else{const t={};t.id=d.id,t.y=a,W[n(314,"bGr^")](t)}}r.KPdUy(e,W,t)}else for(let W=0;W<h[n(292,")WB4")];W++){const d=h[W];if(!d)continue;const a=d.y+this[n(408,"bGr^")]*k;if(a>this.height)o(d.id);else{const W={};W.y=a,r.KPdUy(t,d.id,W)}}this.updateParticles()}[_0x2fc3a9(490,"ANr7")](W,t,o){const d=_0x2fc3a9,a={};a[d(484,"XKQx")]=function(W,t){return W-t},a.gdJBr=function(W,t){return W/t};const e=a,i=W[d(469,"iT!2")]/2,s=e[d(384,"e]0O")](this.width,e.gdJBr(W[d(243,"[x8t")],2)),n=Math[d(331,"B2Tu")](i,Math.min(s,t)),r={...W};return r.x=n,r.y=W.y,r[d(418,"d(R[")]=0,r[d(288,"XF7i")]=0,r[d(512,"nhFa")]=!0,r}[_0x2fc3a9(523,"1!g)")](W){const t=_0x2fc3a9,o=this[t(463,"5QYo")]/2,d=this[t(481,"q^Om")]-this[t(480,"y^Oa")]/2,a=Math[t(399,"ITRZ")](o,Math[t(425,"5QYo")](d,W));this._spacecraftX=a,this._spacecraftIsControlled=!0,this[t(506,"[oyX")]&&(this[t(349,"^tPM")][t(420,"2hP7")]=a)}[_0x2fc3a9(496,"d(R[")](){this[_0x2fc3a9(264,"iT!2")]=!1}releaseSpacecraft(W){const t={...W};return t[_0x2fc3a9(329,"XR%0")]=!1,t}[_0x2fc3a9(526,"2T^1")](W,t){const o="Z*YT",d=_0x2fc3a9,a=Date[d(462,"2hP7")]();if(a-this[d(263,"XKQx")]<_0x3f78d0.COLLISION_COOLDOWN){const W={};return W[d(440,o)]=!1,W}for(const e of t)if(this[d(289,"9pXR")](W,e)){this[d(353,"y^Oa")]=a;const W={};return W[d(394,"F*vz")]=!0,W[d(279,o)]=e.id,W}const e={};return e[d(261,"t^kk")]=!1,e}[_0x2fc3a9(475,"[x8t")](W,t){const o=_0x2fc3a9,d={};d[o(413,"Fzz%")]=function(W,t){return W-t},d[o(266,"XKQx")]=function(W,t){return W>t},d[o(362,"VGj[")]=function(W,t){return W<t},d.eaWYa=function(W,t){return W>t};const a=d,e=a[o(431,"XF7i")](W.x,W[o(529,")WB4")]/2),i=W.x+W.size/2,s=W.y-W[o(304,"!wS&")]/2,n=W.y+W.size/2,r=t.x,k=t.x+t[o(539,"bGr^")],f=t.y,h=t.y+t[o(515,"[x8t")];return a[o(360,"2hP7")](i,r)&&a[o(398,"5QYo")](e,k)&&a[o(320,"2T^1")](n,f)&&s<h}[_0x2fc3a9(470,"xd8k")](W,t){const o=_0x2fc3a9,d={};d[o(286,"y^Oa")]=function(W,t){return W>t};const a=d,e=[];for(let d=0;d<t[o(433,"2T^1")];d++){const i=t[d];i&&!i[o(459,"2T^1")]&&a[o(504,"[x8t")](W.y,i.y+i[o(303,"wQLK")])&&e[o(493,"ITRZ")](i[o(359,"^tPM")])}return e}[_0x2fc3a9(516,"ANr7")](W,t){const o="XF7i",d=_0x2fc3a9,a={};a[d(318,"Z*YT")]=function(W,t){return W-t},a[d(492,"(Pf0")]=function(W,t){return W-t},a.GbBXE=function(W,t){return W*t},a[d(518,o)]=function(W,t){return W-t},a[d(510,"bGr^")]="#ff0000";const e=a;for(let a=0;a<15;a++){const i={id:d(305,"LzOq")+Date[d(255,o)]()+"_"+a,x:W,y:t,velocityX:15*(Math[d(324,"NS11")]()-.5),velocityY:15*e[d(508,"J##F")](Math.random(),.5),color:a<5?"#ff6600":a<10?_0x51ab78[d(531,"mCzC")]:d(275,"@LQn"),life:1200,maxLife:1200,size:8+12*Math[d(391,"ADDj")]()};this[d(476,"xd8k")][d(327,"4!Oa")](i)}for(let o=0;o<5;o++){const a={id:d(284,"NS11")+Date[d(374,"a$]4")]()+"_"+o,x:W+20*(Math.random()-.5),y:t+20*e[d(505,"4!Oa")](Math[d(365,"XR%0")](),.5),velocityX:e[d(429,"!wS&")](Math[d(451,"d(R[")]()-.5,8),velocityY:8*e[d(346,"ITRZ")](Math.random(),.5),color:e[d(510,"bGr^")],life:1500,maxLife:1500,size:15+10*Math.random()};this[d(321,"Z*YT")][d(257,"TT0W")](a)}}[_0x2fc3a9(282,"ql[u")](){const W=_0x2fc3a9;let t=0;for(let o=0;o<this.particles.length;o++){const d=this[W(368,"nhFa")][o];d&&(d.x+=d[W(501,"ITRZ")],d.y+=d[W(388,"nhFa")],d[W(357,"TT0W")]+=.2,d[W(450,"NS11")]-=16,d[W(376,"cSMI")]>0&&(this[W(280,"ANr7")][t]=d,t++))}this[W(538,"wQLK")][W(293,"myYE")]=t}[_0x2fc3a9(287,"a$]4")](){return this[_0x2fc3a9(442,")WB4")]}[_0x2fc3a9(298,"@LQn")](){const W=_0x2fc3a9;return Date[W(482,"VAbD")]()-this.lastCollisionTime<_0x3f78d0[W(416,"iT!2")]}[_0x2fc3a9(338,"ADDj")](){const W=_0x2fc3a9,t={WKlng:function(W,t){return W-t}},o=Date[W(511,"ql[u")](),d=t[W(435,"[x8t")](o,this.lastCollisionTime);return Math[W(373,"Z0D!")](0,t.WKlng(_0x3f78d0.COLLISION_COOLDOWN,d))}getInitialSpacecraft(){const W=_0x2fc3a9,t={};t[W(248,"wQLK")]=function(W,t){return W/t},t[W(245,"JPkI")]=function(W,t){return W*t};const o=t;return{x:o[W(283,"NS11")](this[W(316,"[oyX")],2),y:o[W(386,"y^Oa")](this.height,.77),velocityX:0,velocityY:0,size:_0x3f78d0[W(260,"F*vz")],isControlled:!1}}}export const createSpaceFighterService=(W,t)=>new SpaceFighterGameService(W,t);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x5f312c=_0x4978;!function(){const t=_0x4978,e=_0x29fa();for(;;)try{if(518787==-parseInt(t(437,"YB$C"))/1*(-parseInt(t(476,"07o("))/2)+-parseInt(t(467,"FPL2"))/3+parseInt(t(484,"4Yqe"))/4+-parseInt(t(485,"FPL2"))/5+parseInt(t(483,"%([q"))/6+-parseInt(t(455,"CXf["))/7+-parseInt(t(458,"1zr8"))/8*(-parseInt(t(508,"pxW#"))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();import{create}from"zustand";import{subscribeWithSelector}from"zustand/middleware";import{GAME_CONFIG}from"./SpaceFighterService.js";import{Dimensions}from"react-native";const{width:width,height:height}=Dimensions[_0x5f312c(498,"YB$C")]("window"),getSpacecraftYPosition=(t=0)=>height*(t>0?.77:.68),makeDefaultSpacecraft=(t=0)=>({x:width/2,y:getSpacecraftYPosition(t),velocityX:0,velocityY:0,size:GAME_CONFIG[_0x5f312c(500,"%([q")],isControlled:!1});function _0x4978(t,e){t-=434;const o=_0x29fa();let r=o[t];if(void 0===_0x4978.mUTGoH){const t=function(t,e){let o,r,n=[],s=0,a="";for(t=function(t){let e="",o="";for(let o,r,n=0,s=0;r=t.charAt(s++);~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++)s=(s+n[r]+e.charCodeAt(r%e.length))%256,o=n[r],n[r]=n[s],n[s]=o;r=0,s=0;for(let e=0;e<t.length;e++)r=(r+1)%256,s=(s+n[r])%256,o=n[r],n[r]=n[s],n[s]=o,a+=String.fromCharCode(t.charCodeAt(e)^n[(n[r]+n[s])%256]);return a};_0x4978.zvFUbt=t,_0x4978.UhYEWy={},_0x4978.mUTGoH=!0}const n=o[0];_0x4978.fOIcIn!==n&&(_0x4978.UhYEWy={},_0x4978.fOIcIn=n);const s=_0x4978.UhYEWy[t];return void 0===s?(void 0===_0x4978.mbrbjG&&(_0x4978.mbrbjG=!0),r=_0x4978.zvFUbt(r,e),_0x4978.UhYEWy[t]=r):r=s,r}export const useSpaceFighterStore=create()(subscribeWithSelector((t,e)=>({score:0,timeLeft:120,isPlaying:!1,gameOver:!1,lives:3,asteroids:[],spacecraft:makeDefaultSpacecraft(0),spacecraftPath:[],isControllingSpacecraft:!1,offset:0,listVersion:0,setOffset:o=>{const r=_0x5f312c,n=e()[r(445,"ZbjP")];var s,a;t({offset:o,spacecraft:{...n,y:(s=getSpacecraftYPosition,a=o,s(a))}})},startGame:o=>{const r=_0x5f312c,n=e().offset;({RWiSV:function(t,e){return t(e)}})[r(465,"Bjrg")](t,{score:0,timeLeft:o||120,isPlaying:!0,gameOver:!1,lives:3,asteroids:[],spacecraftPath:[],isControllingSpacecraft:!1,spacecraft:makeDefaultSpacecraft(n),listVersion:0})},stopGame:()=>{const o=_0x5f312c,r=e()[o(444,"pxW#")];t({score:0,timeLeft:120,isPlaying:!1,gameOver:!1,lives:3,asteroids:[],spacecraftPath:[],isControllingSpacecraft:!1,spacecraft:{hGFFj:function(t,e){return t(e)}}[o(488,"ZbjP")](makeDefaultSpacecraft,r),listVersion:0})},resetGame:()=>{const o=_0x5f312c,r=e()[o(482,"HYLy")];t({score:0,timeLeft:120,isPlaying:!1,gameOver:!1,lives:3,asteroids:[],spacecraftPath:[],isControllingSpacecraft:!1,spacecraft:{etSTA:function(t,e){return t(e)}}[o(497,"ZbjP")](makeDefaultSpacecraft,r),listVersion:0})},updateScore:o=>{const r=_0x5f312c,n={JXKbU:function(t,e){return t(e)},aMSFD:function(t,e){return t+e}};n[r(469,"v[8g")](t,{score:n[r(446,"Twva")](e()[r(504,"t!EV")],o)})},decrementTime:()=>{const o=_0x5f312c,r={AzrXv:function(t,e){return t<=e},FlfKD:function(t,e){return t(e)},ZZyGc:function(t,e){return t(e)}},n=e()[o(507,"%([q")]-1;if(r[o(464,"ffa4")](n,0)){const e={};e[o(448,"S4kp")]=0,e[o(468,"07o(")]=!1,e[o(470,"pxW#")]=!0,r.FlfKD(t,e)}else{const e={};e.timeLeft=n,r[o(496,"7V)#")](t,e)}},addAsteroids:o=>{const r=_0x5f312c;t({asteroids:[...e()[r(493,"J[1u")],...o],listVersion:e().listVersion+1})},removeAsteroid:o=>{const r=_0x5f312c,n={};n[r(440,"[(n9")]=function(t,e){return t+e};const s=n;t({asteroids:e()[r(473,"PrVR")].filter(t=>t.id!==o),listVersion:s.lVTxs(e()[r(494,"07o(")],1)})},batchRemoveAsteroids:o=>{const r=_0x5f312c;if(0===o.length)return;const n=new Set(o);var s,a,i;s=t,a={asteroids:(i=e,i()).asteroids[r(452,"n[yw")](t=>!n[r(447,"VX2z")](t.id)),listVersion:e()[r(499,"XAto")]+1},s(a)},updateAsteroid:(o,r)=>{const n=_0x5f312c,s={};s[n(481,"AwZI")]=function(t,e){return t!==e};const a=s,i=[...e().asteroids];for(let t=0;t<i[n(480,"JvvY")];t++)if(i[t].id===o){if(a[n(453,"q)@t")]("LZxBQ",n(478,"pxW#"))){i[t]={...i[t],...r};break}{const t={};t[n(492,"7V)#")]=_0x3f7ad7,_0x3f880c(t)}}const f={};f.asteroids=i,t(f)},batchUpdateAsteroids:(o,r)=>{const n=_0x5f312c,s={};s[n(438,"t^fo")]=function(t,e){return t===e},s.TgptU=function(t,e){return t<e},s[n(501,"8kVv")]=n(505,"1zr8");const a=s,i=e()[n(506,"1UOE")],f=new Map;for(let t=0;t<o[n(457,"iJgI")];t++){const e=o[t];e&&f[n(487,"yr5y")](e.id,e.y)}const W=r[n(509,"1UOE")]>0?new Set(r):null;if(W){const e=[];for(let t=0;a[n(459,"YB$C")](t,i[n(442,"CXf[")]);t++){const o=i[t];if(W[n(463,"[(n9")](o.id))continue;const r=f[n(479,"ZbjP")](o.id);e[n(477,"8Ie$")](void 0!==r?{...o,y:r}:o)}const o={};o[n(435,"fk)1")]=e,t(o)}else{if(a[n(460,"VX2z")]!==n(490,"J[1u")){if(a.UzFZp(_0x49c2a2.pairId,_0x4ddc24)&&!_0x587916.passed){_0xfedd10=!0;const t={..._0x40170d};return t[n(450,"1zr8")]=!0,t}return _0x3425d}{let e=!1;const o=i[n(461,"t^fo")](t=>{const o=f[n(486,"CXf[")](t.id);if(void 0!==o){e=!0;const r={...t};return r.y=o,r}return t}),r={};r[n(493,"J[1u")]=o,e&&t(r)}}},updateSpacecraft:e=>{const o={};o[_0x5f312c(475,"VX2z")]=e,t(o)},setSpacecraftPath:e=>{const o={};o.spacecraftPath=e,t(o)},setIsControllingSpacecraft:e=>{const o={};o[_0x5f312c(471,"wt6$")]=e,t(o)},markAsteroidPassed:o=>{const r=_0x5f312c,n={};n[r(443,"VX2z")]=function(t,e){return t+e};const s=n,a=e()[r(449,"S4kp")];let i=!1;const f=a[r(454,"HYLy")](t=>{if(t[r(439,"JvvY")]===o&&!t.passed){i=!0;const e={...t};return e.passed=!0,e}return t});i&&t({asteroids:f,score:s.fgfvz(e()[r(466,"1zr8")],500)})},loseLife:()=>{const o=_0x5f312c,r={QuNnl:function(t){return t()},TCSaP:function(t,e){return t<=e},FEFwI:function(t,e){return t(e)}},{lives:n,offset:s}=r.QuNnl(e),a=n-1;r.TCSaP(a,0)?t({lives:0,isPlaying:!1,gameOver:!0,spacecraft:r[o(491,"07o(")](makeDefaultSpacecraft,s)}):r[o(462,"$5)w")](t,{lives:a,spacecraft:r[o(489,"uxW&")](makeDefaultSpacecraft,s)})}})));export const useSFScore=()=>useSpaceFighterStore(_temp);export const useSFTimeLeft=()=>({BXwYK:function(t,e){return t(e)}}[_0x5f312c(451,"PrVR")](useSpaceFighterStore,_temp2));export const useSFLives=()=>useSpaceFighterStore(_temp3);export const useSFIsPlaying=()=>useSpaceFighterStore(_temp4);export const useSFGameOver=()=>useSpaceFighterStore(_temp5);export const useSFListVersion=()=>useSpaceFighterStore(_temp6);function _temp(t){return t.score}function _temp2(t){return t[_0x5f312c(436,"4C6#")]}function _0x29fa(){const t=["DI12ECoa","W7BcGdL9W69iWPXWsCk4mZZcJa","n8khz2NdMa","W48JEMOF","F8kBsSkPW6HddSk7WRO","qCkeECoeWPpdGumG","c8kjmWzDag4","CSknumkRW65e","W71+W5LKW78LWP1XWRFcHMGnWPm","WPZdSCkHCCouW77cI8klgq","W7uLoLZcLcRcN8oO","c8ooAmoKW5yAbYNdShS","W7JcP8kEigK","AxVdQ8kUjSoP","WO43axbH","W7D0nte7C33cKaPCW4FcJ8ov","W6RcSHfrnSkL","FXJdUmoYWOW","xCkkaq1kbG","g8o9wfldSmokWPBcTZjt","WQObWRSvWO4","Cr7dRq","l8kgW5xcUxJcJmoEea","oSkCW4ZcUuBcHSoraaa","W5m3seO0WOO","WRJdT33cKCow","w8k5WRxdSmokW6u","W6XEFmopFa","WQldQSoz","WRFdPu0dDmo4WRFcOalcSmkSW6lcIa","WQpdOSoAwCoOrSotWOi0W7zS","i3/cSSo6jmkz","WPvKcG5KW5XvzCoxWQWlwJa","AmkzlCkNW7C","FrFdRSogWOy","W4dcVmkO","jd3cMvhdSW","WOOajG","WPf0W6dcLmko","eSo/Fau4","W5a1veS0","W77dUCkBymkmWPHhE8kIWPrrDCoO","gmotlg16eCkyWRxcOa","WOhdPCoaW6ZdLG","vCkncHTGbeldGG","W7TXWOJdUmoviCkPvrFcIuT9W5BcQvuyWQTNfSknWRvDBW","d8ooBmoHWPnWsHldUg7cOunt","WPVdNh7cRCoVW6lcVmoqAa","WQldJSoBW6ldOSoRWQKcW6m","AG/dV8oNWPnkvItdUSo9","rCotn3bObmku","WRyZDgW","zSkFhJfQ","d8oOtq","Dx/dRmk7g8oL","n2JcLSkrca","WQddRCopxSoBvW","b8oClCksW6FcLH0sW4ldLXBcTCog","W7dcGZL8W6raWP1aD8k8paRcGq","W7/dUSkBymkoWPbkwSkKWRH5tSo/","W6hcSGS","mNyc","amokF3FdVW","WQDgWRxdPha","DJfbt8o9","n8oLoNzs","WRVcKrZcICo/W4LPW6LuWRW","EZD0ECobW4lcJ8oCW48","hCojd3vndCkdWQJcRHzr","WQRcQmohn8oYW54AFa","WPlcUWtcRCo5","dCo5AMxdLa","w8kBkq","e17dJLGSlX5bW7NcO1e","zSk9vCoIWPRdP3CvW6RdKt/cJ8oipmkJ","WRRdISkEWQGa"];return(_0x29fa=function(){return t})()}function _temp3(t){return t[_0x5f312c(502,"J[1u")]}function _temp4(t){return t[_0x5f312c(474,"v[8g")]}function _temp5(t){return t[_0x5f312c(495,"FPL2")]}function _temp6(t){return t[_0x5f312c(456,"HYLy")]}
|