react-native-games 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (341) hide show
  1. package/README.md +148 -23
  2. package/lib/module/games/balloon-blaster/BalloonBlaster.js +5 -8
  3. package/lib/module/games/balloon-blaster/BalloonBlaster.js.map +1 -1
  4. package/lib/module/games/candy-crush/CandyCrush.js +121 -0
  5. package/lib/module/games/candy-crush/CandyCrush.js.map +1 -0
  6. package/lib/module/games/candy-crush/CandyCrushConstants.js +125 -0
  7. package/lib/module/games/candy-crush/CandyCrushConstants.js.map +1 -0
  8. package/lib/module/games/candy-crush/CandyCrushService.js +370 -0
  9. package/lib/module/games/candy-crush/CandyCrushService.js.map +1 -0
  10. package/lib/module/games/candy-crush/CandyCrushStore.js +305 -0
  11. package/lib/module/games/candy-crush/CandyCrushStore.js.map +1 -0
  12. package/lib/module/games/candy-crush/components/CandyItem.js +191 -0
  13. package/lib/module/games/candy-crush/components/CandyItem.js.map +1 -0
  14. package/lib/module/games/candy-crush/components/GameBackground.js +85 -0
  15. package/lib/module/games/candy-crush/components/GameBackground.js.map +1 -0
  16. package/lib/module/games/candy-crush/components/GameGrid.js +314 -0
  17. package/lib/module/games/candy-crush/components/GameGrid.js.map +1 -0
  18. package/lib/module/games/candy-crush/components/ScoreBoard.js +112 -0
  19. package/lib/module/games/candy-crush/components/ScoreBoard.js.map +1 -0
  20. package/lib/module/games/candy-crush/components/index.js +7 -0
  21. package/lib/module/games/candy-crush/components/index.js.map +1 -0
  22. package/lib/module/games/candy-crush/index.js +6 -0
  23. package/lib/module/games/candy-crush/index.js.map +1 -0
  24. package/lib/module/games/color-sort/ColorSort.js +130 -0
  25. package/lib/module/games/color-sort/ColorSort.js.map +1 -0
  26. package/lib/module/games/color-sort/ColorSortConstants.js +68 -0
  27. package/lib/module/games/color-sort/ColorSortConstants.js.map +1 -0
  28. package/lib/module/games/color-sort/ColorSortService.js +255 -0
  29. package/lib/module/games/color-sort/ColorSortService.js.map +1 -0
  30. package/lib/module/games/color-sort/ColorSortStore.js +258 -0
  31. package/lib/module/games/color-sort/ColorSortStore.js.map +1 -0
  32. package/lib/module/games/color-sort/components/ColorContainer.js +140 -0
  33. package/lib/module/games/color-sort/components/ColorContainer.js.map +1 -0
  34. package/lib/module/games/color-sort/components/GameBackground.js +135 -0
  35. package/lib/module/games/color-sort/components/GameBackground.js.map +1 -0
  36. package/lib/module/games/color-sort/components/ScoreBoard.js +78 -0
  37. package/lib/module/games/color-sort/components/ScoreBoard.js.map +1 -0
  38. package/lib/module/games/color-sort/components/index.js +6 -0
  39. package/lib/module/games/color-sort/components/index.js.map +1 -0
  40. package/lib/module/games/dino-jump/DinoJump.js +209 -0
  41. package/lib/module/games/dino-jump/DinoJump.js.map +1 -0
  42. package/lib/module/games/dino-jump/DinoJumpConstants.js +179 -0
  43. package/lib/module/games/dino-jump/DinoJumpConstants.js.map +1 -0
  44. package/lib/module/games/dino-jump/DinoJumpService.js +268 -0
  45. package/lib/module/games/dino-jump/DinoJumpService.js.map +1 -0
  46. package/lib/module/games/dino-jump/DinoJumpStore.js +387 -0
  47. package/lib/module/games/dino-jump/DinoJumpStore.js.map +1 -0
  48. package/lib/module/games/dino-jump/components/DinoSprite.js +409 -0
  49. package/lib/module/games/dino-jump/components/DinoSprite.js.map +1 -0
  50. package/lib/module/games/dino-jump/components/GameArea.js +68 -0
  51. package/lib/module/games/dino-jump/components/GameArea.js.map +1 -0
  52. package/lib/module/games/dino-jump/components/GameBackground.js +421 -0
  53. package/lib/module/games/dino-jump/components/GameBackground.js.map +1 -0
  54. package/lib/module/games/dino-jump/components/ObstacleSprite.js +306 -0
  55. package/lib/module/games/dino-jump/components/ObstacleSprite.js.map +1 -0
  56. package/lib/module/games/dino-jump/components/ScoreBoard.js +107 -0
  57. package/lib/module/games/dino-jump/components/ScoreBoard.js.map +1 -0
  58. package/lib/module/games/dino-jump/components/StarSprite.js +45 -0
  59. package/lib/module/games/dino-jump/components/StarSprite.js.map +1 -0
  60. package/lib/module/games/dino-jump/components/index.js +9 -0
  61. package/lib/module/games/dino-jump/components/index.js.map +1 -0
  62. package/lib/module/games/flappy-bird/FlappyBird.js +131 -0
  63. package/lib/module/games/flappy-bird/FlappyBird.js.map +1 -0
  64. package/lib/module/games/flappy-bird/FlappyBirdConstants.js +90 -0
  65. package/lib/module/games/flappy-bird/FlappyBirdConstants.js.map +1 -0
  66. package/lib/module/games/flappy-bird/FlappyBirdStore.js +276 -0
  67. package/lib/module/games/flappy-bird/FlappyBirdStore.js.map +1 -0
  68. package/lib/module/games/flappy-bird/components/Bird.js +87 -0
  69. package/lib/module/games/flappy-bird/components/Bird.js.map +1 -0
  70. package/lib/module/games/flappy-bird/components/GameArea.js +86 -0
  71. package/lib/module/games/flappy-bird/components/GameArea.js.map +1 -0
  72. package/lib/module/games/flappy-bird/components/GameBackground.js +112 -0
  73. package/lib/module/games/flappy-bird/components/GameBackground.js.map +1 -0
  74. package/lib/module/games/flappy-bird/components/Pipes.js +175 -0
  75. package/lib/module/games/flappy-bird/components/Pipes.js.map +1 -0
  76. package/lib/module/games/flappy-bird/components/ScoreBoard.js +72 -0
  77. package/lib/module/games/flappy-bird/components/ScoreBoard.js.map +1 -0
  78. package/lib/module/games/flappy-bird/components/index.js +8 -0
  79. package/lib/module/games/flappy-bird/components/index.js.map +1 -0
  80. package/lib/module/games/fruit-merger/FruitMerger.js +112 -0
  81. package/lib/module/games/fruit-merger/FruitMerger.js.map +1 -0
  82. package/lib/module/games/fruit-merger/FruitMergerConstants.js +119 -0
  83. package/lib/module/games/fruit-merger/FruitMergerConstants.js.map +1 -0
  84. package/lib/module/games/fruit-merger/FruitMergerService.js +13 -0
  85. package/lib/module/games/fruit-merger/FruitMergerService.js.map +1 -0
  86. package/lib/module/games/fruit-merger/FruitMergerStore.js +318 -0
  87. package/lib/module/games/fruit-merger/FruitMergerStore.js.map +1 -0
  88. package/lib/module/games/fruit-merger/components/FruitItem.js +102 -0
  89. package/lib/module/games/fruit-merger/components/FruitItem.js.map +1 -0
  90. package/lib/module/games/fruit-merger/components/GameArea.js +123 -0
  91. package/lib/module/games/fruit-merger/components/GameArea.js.map +1 -0
  92. package/lib/module/games/fruit-merger/components/GameBackground.js +477 -0
  93. package/lib/module/games/fruit-merger/components/GameBackground.js.map +1 -0
  94. package/lib/module/games/fruit-merger/components/ScoreBoard.js +66 -0
  95. package/lib/module/games/fruit-merger/components/ScoreBoard.js.map +1 -0
  96. package/lib/module/games/fruit-merger/components/index.js +7 -0
  97. package/lib/module/games/fruit-merger/components/index.js.map +1 -0
  98. package/lib/module/games/fruit-ninja/FruitNinja.js +6 -9
  99. package/lib/module/games/fruit-ninja/FruitNinja.js.map +1 -1
  100. package/lib/module/games/game-2048/Game2048.js +120 -0
  101. package/lib/module/games/game-2048/Game2048.js.map +1 -0
  102. package/lib/module/games/game-2048/Game2048Constants.js +263 -0
  103. package/lib/module/games/game-2048/Game2048Constants.js.map +1 -0
  104. package/lib/module/games/game-2048/Game2048Service.js +457 -0
  105. package/lib/module/games/game-2048/Game2048Service.js.map +1 -0
  106. package/lib/module/games/game-2048/Game2048Store.js +238 -0
  107. package/lib/module/games/game-2048/Game2048Store.js.map +1 -0
  108. package/lib/module/games/game-2048/components/GameBackground.js +247 -0
  109. package/lib/module/games/game-2048/components/GameBackground.js.map +1 -0
  110. package/lib/module/games/game-2048/components/GameGrid.js +139 -0
  111. package/lib/module/games/game-2048/components/GameGrid.js.map +1 -0
  112. package/lib/module/games/game-2048/components/GameTile.js +72 -0
  113. package/lib/module/games/game-2048/components/GameTile.js.map +1 -0
  114. package/lib/module/games/game-2048/components/ScoreBoard.js +70 -0
  115. package/lib/module/games/game-2048/components/ScoreBoard.js.map +1 -0
  116. package/lib/module/games/game-2048/components/index.js +7 -0
  117. package/lib/module/games/game-2048/components/index.js.map +1 -0
  118. package/lib/module/games/maze-runner/MazeRunner.js +33 -31
  119. package/lib/module/games/maze-runner/MazeRunner.js.map +1 -1
  120. package/lib/module/games/popit-fidget/PopitFidget.js +34 -32
  121. package/lib/module/games/popit-fidget/PopitFidget.js.map +1 -1
  122. package/lib/module/games/sliding-numbers/SlidingNumbers.js +161 -0
  123. package/lib/module/games/sliding-numbers/SlidingNumbers.js.map +1 -0
  124. package/lib/module/games/sliding-numbers/SlidingNumbersConstants.js +207 -0
  125. package/lib/module/games/sliding-numbers/SlidingNumbersConstants.js.map +1 -0
  126. package/lib/module/games/sliding-numbers/SlidingNumbersService.js +248 -0
  127. package/lib/module/games/sliding-numbers/SlidingNumbersService.js.map +1 -0
  128. package/lib/module/games/sliding-numbers/SlidingNumbersStore.js +275 -0
  129. package/lib/module/games/sliding-numbers/SlidingNumbersStore.js.map +1 -0
  130. package/lib/module/games/sliding-numbers/components/GameBackground.js +259 -0
  131. package/lib/module/games/sliding-numbers/components/GameBackground.js.map +1 -0
  132. package/lib/module/games/sliding-numbers/components/NumbersGrid.js +174 -0
  133. package/lib/module/games/sliding-numbers/components/NumbersGrid.js.map +1 -0
  134. package/lib/module/games/sliding-numbers/components/NumbersTile.js +116 -0
  135. package/lib/module/games/sliding-numbers/components/NumbersTile.js.map +1 -0
  136. package/lib/module/games/sliding-numbers/components/ScoreBoard.js +66 -0
  137. package/lib/module/games/sliding-numbers/components/ScoreBoard.js.map +1 -0
  138. package/lib/module/games/sliding-numbers/components/index.js +7 -0
  139. package/lib/module/games/sliding-numbers/components/index.js.map +1 -0
  140. package/lib/module/games/snake/Snake.js +192 -0
  141. package/lib/module/games/snake/Snake.js.map +1 -0
  142. package/lib/module/games/snake/SnakeConstants.js +138 -0
  143. package/lib/module/games/snake/SnakeConstants.js.map +1 -0
  144. package/lib/module/games/snake/SnakeService.js +148 -0
  145. package/lib/module/games/snake/SnakeService.js.map +1 -0
  146. package/lib/module/games/snake/SnakeStore.js +184 -0
  147. package/lib/module/games/snake/SnakeStore.js.map +1 -0
  148. package/lib/module/games/snake/components/GameBackground.js +221 -0
  149. package/lib/module/games/snake/components/GameBackground.js.map +1 -0
  150. package/lib/module/games/snake/components/GameGrid.js +153 -0
  151. package/lib/module/games/snake/components/GameGrid.js.map +1 -0
  152. package/lib/module/games/snake/components/ScoreBoard.js +57 -0
  153. package/lib/module/games/snake/components/ScoreBoard.js.map +1 -0
  154. package/lib/module/games/snake/components/index.js +6 -0
  155. package/lib/module/games/snake/components/index.js.map +1 -0
  156. package/lib/module/games/snake/index.js +6 -0
  157. package/lib/module/games/snake/index.js.map +1 -0
  158. package/lib/module/games/space-fighter/SpaceFighter.js +7 -10
  159. package/lib/module/games/space-fighter/SpaceFighter.js.map +1 -1
  160. package/lib/module/games/whack-a-mole/WhackAMole.js +6 -6
  161. package/lib/module/games/whack-a-mole/WhackAMole.js.map +1 -1
  162. package/lib/module/index.js +8 -0
  163. package/lib/module/index.js.map +1 -1
  164. package/lib/module/services/GamesConstants.js +58 -2
  165. package/lib/module/services/GamesConstants.js.map +1 -1
  166. package/lib/module/services/GamesService.js +40 -0
  167. package/lib/module/services/GamesService.js.map +1 -1
  168. package/lib/module/services/SoundsService.js +132 -1
  169. package/lib/module/services/SoundsService.js.map +1 -1
  170. package/lib/module/shared/helpers/GameOverModal.js +6 -3
  171. package/lib/module/shared/helpers/GameOverModal.js.map +1 -1
  172. package/lib/module/shared/helpers/GameSettingsModal.js +3 -3
  173. package/lib/module/shared/helpers/GameSettingsModal.js.map +1 -1
  174. package/lib/module/shared/helpers/ParticleBlast.js +3 -2
  175. package/lib/module/shared/helpers/ParticleBlast.js.map +1 -1
  176. package/lib/typescript/src/games/balloon-blaster/BalloonBlaster.d.ts.map +1 -1
  177. package/lib/typescript/src/games/candy-crush/CandyCrush.d.ts +4 -0
  178. package/lib/typescript/src/games/candy-crush/CandyCrush.d.ts.map +1 -0
  179. package/lib/typescript/src/games/candy-crush/CandyCrushConstants.d.ts +104 -0
  180. package/lib/typescript/src/games/candy-crush/CandyCrushConstants.d.ts.map +1 -0
  181. package/lib/typescript/src/games/candy-crush/CandyCrushService.d.ts +40 -0
  182. package/lib/typescript/src/games/candy-crush/CandyCrushService.d.ts.map +1 -0
  183. package/lib/typescript/src/games/candy-crush/CandyCrushStore.d.ts +48 -0
  184. package/lib/typescript/src/games/candy-crush/CandyCrushStore.d.ts.map +1 -0
  185. package/lib/typescript/src/games/candy-crush/components/CandyItem.d.ts +13 -0
  186. package/lib/typescript/src/games/candy-crush/components/CandyItem.d.ts.map +1 -0
  187. package/lib/typescript/src/games/candy-crush/components/GameBackground.d.ts +5 -0
  188. package/lib/typescript/src/games/candy-crush/components/GameBackground.d.ts.map +1 -0
  189. package/lib/typescript/src/games/candy-crush/components/GameGrid.d.ts +3 -0
  190. package/lib/typescript/src/games/candy-crush/components/GameGrid.d.ts.map +1 -0
  191. package/lib/typescript/src/games/candy-crush/components/ScoreBoard.d.ts +3 -0
  192. package/lib/typescript/src/games/candy-crush/components/ScoreBoard.d.ts.map +1 -0
  193. package/lib/typescript/src/games/candy-crush/components/index.d.ts +5 -0
  194. package/lib/typescript/src/games/candy-crush/components/index.d.ts.map +1 -0
  195. package/lib/typescript/src/games/candy-crush/index.d.ts +4 -0
  196. package/lib/typescript/src/games/candy-crush/index.d.ts.map +1 -0
  197. package/lib/typescript/src/games/color-sort/ColorSort.d.ts +4 -0
  198. package/lib/typescript/src/games/color-sort/ColorSort.d.ts.map +1 -0
  199. package/lib/typescript/src/games/color-sort/ColorSortConstants.d.ts +52 -0
  200. package/lib/typescript/src/games/color-sort/ColorSortConstants.d.ts.map +1 -0
  201. package/lib/typescript/src/games/color-sort/ColorSortService.d.ts +66 -0
  202. package/lib/typescript/src/games/color-sort/ColorSortService.d.ts.map +1 -0
  203. package/lib/typescript/src/games/color-sort/ColorSortStore.d.ts +48 -0
  204. package/lib/typescript/src/games/color-sort/ColorSortStore.d.ts.map +1 -0
  205. package/lib/typescript/src/games/color-sort/components/ColorContainer.d.ts +11 -0
  206. package/lib/typescript/src/games/color-sort/components/ColorContainer.d.ts.map +1 -0
  207. package/lib/typescript/src/games/color-sort/components/GameBackground.d.ts +7 -0
  208. package/lib/typescript/src/games/color-sort/components/GameBackground.d.ts.map +1 -0
  209. package/lib/typescript/src/games/color-sort/components/ScoreBoard.d.ts +3 -0
  210. package/lib/typescript/src/games/color-sort/components/ScoreBoard.d.ts.map +1 -0
  211. package/lib/typescript/src/games/color-sort/components/index.d.ts +4 -0
  212. package/lib/typescript/src/games/color-sort/components/index.d.ts.map +1 -0
  213. package/lib/typescript/src/games/dino-jump/DinoJump.d.ts +4 -0
  214. package/lib/typescript/src/games/dino-jump/DinoJump.d.ts.map +1 -0
  215. package/lib/typescript/src/games/dino-jump/DinoJumpConstants.d.ts +95 -0
  216. package/lib/typescript/src/games/dino-jump/DinoJumpConstants.d.ts.map +1 -0
  217. package/lib/typescript/src/games/dino-jump/DinoJumpService.d.ts +40 -0
  218. package/lib/typescript/src/games/dino-jump/DinoJumpService.d.ts.map +1 -0
  219. package/lib/typescript/src/games/dino-jump/DinoJumpStore.d.ts +103 -0
  220. package/lib/typescript/src/games/dino-jump/DinoJumpStore.d.ts.map +1 -0
  221. package/lib/typescript/src/games/dino-jump/components/DinoSprite.d.ts +3 -0
  222. package/lib/typescript/src/games/dino-jump/components/DinoSprite.d.ts.map +1 -0
  223. package/lib/typescript/src/games/dino-jump/components/GameArea.d.ts +8 -0
  224. package/lib/typescript/src/games/dino-jump/components/GameArea.d.ts.map +1 -0
  225. package/lib/typescript/src/games/dino-jump/components/GameBackground.d.ts +7 -0
  226. package/lib/typescript/src/games/dino-jump/components/GameBackground.d.ts.map +1 -0
  227. package/lib/typescript/src/games/dino-jump/components/ObstacleSprite.d.ts +3 -0
  228. package/lib/typescript/src/games/dino-jump/components/ObstacleSprite.d.ts.map +1 -0
  229. package/lib/typescript/src/games/dino-jump/components/ScoreBoard.d.ts +3 -0
  230. package/lib/typescript/src/games/dino-jump/components/ScoreBoard.d.ts.map +1 -0
  231. package/lib/typescript/src/games/dino-jump/components/StarSprite.d.ts +3 -0
  232. package/lib/typescript/src/games/dino-jump/components/StarSprite.d.ts.map +1 -0
  233. package/lib/typescript/src/games/dino-jump/components/index.d.ts +7 -0
  234. package/lib/typescript/src/games/dino-jump/components/index.d.ts.map +1 -0
  235. package/lib/typescript/src/games/flappy-bird/FlappyBird.d.ts +4 -0
  236. package/lib/typescript/src/games/flappy-bird/FlappyBird.d.ts.map +1 -0
  237. package/lib/typescript/src/games/flappy-bird/FlappyBirdConstants.d.ts +83 -0
  238. package/lib/typescript/src/games/flappy-bird/FlappyBirdConstants.d.ts.map +1 -0
  239. package/lib/typescript/src/games/flappy-bird/FlappyBirdStore.d.ts +53 -0
  240. package/lib/typescript/src/games/flappy-bird/FlappyBirdStore.d.ts.map +1 -0
  241. package/lib/typescript/src/games/flappy-bird/components/Bird.d.ts +8 -0
  242. package/lib/typescript/src/games/flappy-bird/components/Bird.d.ts.map +1 -0
  243. package/lib/typescript/src/games/flappy-bird/components/GameArea.d.ts +8 -0
  244. package/lib/typescript/src/games/flappy-bird/components/GameArea.d.ts.map +1 -0
  245. package/lib/typescript/src/games/flappy-bird/components/GameBackground.d.ts +7 -0
  246. package/lib/typescript/src/games/flappy-bird/components/GameBackground.d.ts.map +1 -0
  247. package/lib/typescript/src/games/flappy-bird/components/Pipes.d.ts +8 -0
  248. package/lib/typescript/src/games/flappy-bird/components/Pipes.d.ts.map +1 -0
  249. package/lib/typescript/src/games/flappy-bird/components/ScoreBoard.d.ts +3 -0
  250. package/lib/typescript/src/games/flappy-bird/components/ScoreBoard.d.ts.map +1 -0
  251. package/lib/typescript/src/games/flappy-bird/components/index.d.ts +6 -0
  252. package/lib/typescript/src/games/flappy-bird/components/index.d.ts.map +1 -0
  253. package/lib/typescript/src/games/fruit-merger/FruitMerger.d.ts +4 -0
  254. package/lib/typescript/src/games/fruit-merger/FruitMerger.d.ts.map +1 -0
  255. package/lib/typescript/src/games/fruit-merger/FruitMergerConstants.d.ts +115 -0
  256. package/lib/typescript/src/games/fruit-merger/FruitMergerConstants.d.ts.map +1 -0
  257. package/lib/typescript/src/games/fruit-merger/FruitMergerService.d.ts +5 -0
  258. package/lib/typescript/src/games/fruit-merger/FruitMergerService.d.ts.map +1 -0
  259. package/lib/typescript/src/games/fruit-merger/FruitMergerStore.d.ts +43 -0
  260. package/lib/typescript/src/games/fruit-merger/FruitMergerStore.d.ts.map +1 -0
  261. package/lib/typescript/src/games/fruit-merger/components/FruitItem.d.ts +10 -0
  262. package/lib/typescript/src/games/fruit-merger/components/FruitItem.d.ts.map +1 -0
  263. package/lib/typescript/src/games/fruit-merger/components/GameArea.d.ts +8 -0
  264. package/lib/typescript/src/games/fruit-merger/components/GameArea.d.ts.map +1 -0
  265. package/lib/typescript/src/games/fruit-merger/components/GameBackground.d.ts +7 -0
  266. package/lib/typescript/src/games/fruit-merger/components/GameBackground.d.ts.map +1 -0
  267. package/lib/typescript/src/games/fruit-merger/components/ScoreBoard.d.ts +3 -0
  268. package/lib/typescript/src/games/fruit-merger/components/ScoreBoard.d.ts.map +1 -0
  269. package/lib/typescript/src/games/fruit-merger/components/index.d.ts +5 -0
  270. package/lib/typescript/src/games/fruit-merger/components/index.d.ts.map +1 -0
  271. package/lib/typescript/src/games/fruit-ninja/FruitNinja.d.ts.map +1 -1
  272. package/lib/typescript/src/games/game-2048/Game2048.d.ts +4 -0
  273. package/lib/typescript/src/games/game-2048/Game2048.d.ts.map +1 -0
  274. package/lib/typescript/src/games/game-2048/Game2048Constants.d.ts +163 -0
  275. package/lib/typescript/src/games/game-2048/Game2048Constants.d.ts.map +1 -0
  276. package/lib/typescript/src/games/game-2048/Game2048Service.d.ts +113 -0
  277. package/lib/typescript/src/games/game-2048/Game2048Service.d.ts.map +1 -0
  278. package/lib/typescript/src/games/game-2048/Game2048Store.d.ts +48 -0
  279. package/lib/typescript/src/games/game-2048/Game2048Store.d.ts.map +1 -0
  280. package/lib/typescript/src/games/game-2048/components/GameBackground.d.ts +7 -0
  281. package/lib/typescript/src/games/game-2048/components/GameBackground.d.ts.map +1 -0
  282. package/lib/typescript/src/games/game-2048/components/GameGrid.d.ts +7 -0
  283. package/lib/typescript/src/games/game-2048/components/GameGrid.d.ts.map +1 -0
  284. package/lib/typescript/src/games/game-2048/components/GameTile.d.ts +13 -0
  285. package/lib/typescript/src/games/game-2048/components/GameTile.d.ts.map +1 -0
  286. package/lib/typescript/src/games/game-2048/components/ScoreBoard.d.ts +3 -0
  287. package/lib/typescript/src/games/game-2048/components/ScoreBoard.d.ts.map +1 -0
  288. package/lib/typescript/src/games/game-2048/components/index.d.ts +5 -0
  289. package/lib/typescript/src/games/game-2048/components/index.d.ts.map +1 -0
  290. package/lib/typescript/src/games/maze-runner/MazeRunner.d.ts.map +1 -1
  291. package/lib/typescript/src/games/popit-fidget/PopitFidget.d.ts.map +1 -1
  292. package/lib/typescript/src/games/sliding-numbers/SlidingNumbers.d.ts +4 -0
  293. package/lib/typescript/src/games/sliding-numbers/SlidingNumbers.d.ts.map +1 -0
  294. package/lib/typescript/src/games/sliding-numbers/SlidingNumbersConstants.d.ts +108 -0
  295. package/lib/typescript/src/games/sliding-numbers/SlidingNumbersConstants.d.ts.map +1 -0
  296. package/lib/typescript/src/games/sliding-numbers/SlidingNumbersService.d.ts +34 -0
  297. package/lib/typescript/src/games/sliding-numbers/SlidingNumbersService.d.ts.map +1 -0
  298. package/lib/typescript/src/games/sliding-numbers/SlidingNumbersStore.d.ts +56 -0
  299. package/lib/typescript/src/games/sliding-numbers/SlidingNumbersStore.d.ts.map +1 -0
  300. package/lib/typescript/src/games/sliding-numbers/components/GameBackground.d.ts +7 -0
  301. package/lib/typescript/src/games/sliding-numbers/components/GameBackground.d.ts.map +1 -0
  302. package/lib/typescript/src/games/sliding-numbers/components/NumbersGrid.d.ts +7 -0
  303. package/lib/typescript/src/games/sliding-numbers/components/NumbersGrid.d.ts.map +1 -0
  304. package/lib/typescript/src/games/sliding-numbers/components/NumbersTile.d.ts +11 -0
  305. package/lib/typescript/src/games/sliding-numbers/components/NumbersTile.d.ts.map +1 -0
  306. package/lib/typescript/src/games/sliding-numbers/components/ScoreBoard.d.ts +3 -0
  307. package/lib/typescript/src/games/sliding-numbers/components/ScoreBoard.d.ts.map +1 -0
  308. package/lib/typescript/src/games/sliding-numbers/components/index.d.ts +5 -0
  309. package/lib/typescript/src/games/sliding-numbers/components/index.d.ts.map +1 -0
  310. package/lib/typescript/src/games/snake/Snake.d.ts +4 -0
  311. package/lib/typescript/src/games/snake/Snake.d.ts.map +1 -0
  312. package/lib/typescript/src/games/snake/SnakeConstants.d.ts +93 -0
  313. package/lib/typescript/src/games/snake/SnakeConstants.d.ts.map +1 -0
  314. package/lib/typescript/src/games/snake/SnakeService.d.ts +30 -0
  315. package/lib/typescript/src/games/snake/SnakeService.d.ts.map +1 -0
  316. package/lib/typescript/src/games/snake/SnakeStore.d.ts +43 -0
  317. package/lib/typescript/src/games/snake/SnakeStore.d.ts.map +1 -0
  318. package/lib/typescript/src/games/snake/components/GameBackground.d.ts +5 -0
  319. package/lib/typescript/src/games/snake/components/GameBackground.d.ts.map +1 -0
  320. package/lib/typescript/src/games/snake/components/GameGrid.d.ts +3 -0
  321. package/lib/typescript/src/games/snake/components/GameGrid.d.ts.map +1 -0
  322. package/lib/typescript/src/games/snake/components/ScoreBoard.d.ts +3 -0
  323. package/lib/typescript/src/games/snake/components/ScoreBoard.d.ts.map +1 -0
  324. package/lib/typescript/src/games/snake/components/index.d.ts +4 -0
  325. package/lib/typescript/src/games/snake/components/index.d.ts.map +1 -0
  326. package/lib/typescript/src/games/snake/index.d.ts +4 -0
  327. package/lib/typescript/src/games/snake/index.d.ts.map +1 -0
  328. package/lib/typescript/src/games/space-fighter/SpaceFighter.d.ts.map +1 -1
  329. package/lib/typescript/src/games/whack-a-mole/WhackAMole.d.ts.map +1 -1
  330. package/lib/typescript/src/index.d.ts +8 -0
  331. package/lib/typescript/src/index.d.ts.map +1 -1
  332. package/lib/typescript/src/services/GamesConstants.d.ts +156 -0
  333. package/lib/typescript/src/services/GamesConstants.d.ts.map +1 -1
  334. package/lib/typescript/src/services/GamesService.d.ts +10 -2
  335. package/lib/typescript/src/services/GamesService.d.ts.map +1 -1
  336. package/lib/typescript/src/services/SoundsService.d.ts +103 -0
  337. package/lib/typescript/src/services/SoundsService.d.ts.map +1 -1
  338. package/lib/typescript/src/shared/helpers/GameOverModal.d.ts +2 -0
  339. package/lib/typescript/src/shared/helpers/GameOverModal.d.ts.map +1 -1
  340. package/lib/typescript/src/shared/helpers/ParticleBlast.d.ts.map +1 -1
  341. package/package.json +1 -1
@@ -0,0 +1,34 @@
1
+ import type { PuzzleTile } from './SlidingNumbersStore';
2
+ export declare class SlidingNumbersService {
3
+ private gameTimer;
4
+ createSolvedPuzzle(gridSize: number): PuzzleTile[];
5
+ canMoveTile(tile: PuzzleTile, emptyPosition: {
6
+ row: number;
7
+ col: number;
8
+ }): boolean;
9
+ getMovableTiles(tiles: PuzzleTile[], emptyPosition: {
10
+ row: number;
11
+ col: number;
12
+ }): PuzzleTile[];
13
+ isPuzzleSolvable(tiles: PuzzleTile[], gridSize: number): boolean;
14
+ shufflePuzzle(tiles: PuzzleTile[], gridSize: number): PuzzleTile[];
15
+ private shuffleWithValidMoves;
16
+ isPuzzleCompleted(tiles: PuzzleTile[], gridSize: number): boolean;
17
+ calculateScore(timeElapsed: number, difficulty: 'easy' | 'medium' | 'hard'): number;
18
+ getOptimalMoveCount(difficulty: 'easy' | 'medium' | 'hard'): number;
19
+ startTimer(onTick: () => void): void;
20
+ stopTimer(): void;
21
+ getHint(tiles: PuzzleTile[], emptyPosition: {
22
+ row: number;
23
+ col: number;
24
+ }): PuzzleTile | null;
25
+ formatTime(seconds: number): string;
26
+ getDifficultySettings(difficulty: 'easy' | 'medium' | 'hard'): {
27
+ gridSize: 3 | 4 | 5;
28
+ maxNumbers: 8 | 15 | 24;
29
+ baseScore: 2000 | 1000 | 3000;
30
+ scoreMultiplier: 10 | 15 | 5;
31
+ };
32
+ cleanup(): void;
33
+ }
34
+ //# sourceMappingURL=SlidingNumbersService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SlidingNumbersService.d.ts","sourceRoot":"","sources":["../../../../../src/games/sliding-numbers/SlidingNumbersService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAExD,qBAAa,qBAAqB;IAChC,OAAO,CAAC,SAAS,CAA+B;IAGzC,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,EAAE;IAqBlD,WAAW,CAChB,IAAI,EAAE,UAAU,EAChB,aAAa,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAC1C,OAAO;IAOH,eAAe,CACpB,KAAK,EAAE,UAAU,EAAE,EACnB,aAAa,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAC1C,UAAU,EAAE;IAOR,gBAAgB,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO;IA6ChE,aAAa,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,UAAU,EAAE;IAkDzE,OAAO,CAAC,qBAAqB;IAiCtB,iBAAiB,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO;IASjE,cAAc,CACnB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GACrC,MAAM;IAQF,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM;IAcnE,UAAU,CAAC,MAAM,EAAE,MAAM,IAAI,GAAG,IAAI;IAMpC,SAAS,IAAI,IAAI;IAQjB,OAAO,CACZ,KAAK,EAAE,UAAU,EAAE,EACnB,aAAa,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAC1C,UAAU,GAAG,IAAI;IAab,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM;IAOnC,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM;;;;;;IAU5D,OAAO,IAAI,IAAI;CAGvB"}
@@ -0,0 +1,56 @@
1
+ export interface PuzzleTile {
2
+ id: number;
3
+ value: number;
4
+ position: {
5
+ row: number;
6
+ col: number;
7
+ };
8
+ isCorrect: boolean;
9
+ }
10
+ export interface SlidingNumbersState {
11
+ isPlaying: boolean;
12
+ isCompleted: boolean;
13
+ tiles: PuzzleTile[];
14
+ gridSize: number;
15
+ emptyPosition: {
16
+ row: number;
17
+ col: number;
18
+ };
19
+ score: number;
20
+ timeLeft: number;
21
+ timeElapsed: number;
22
+ startTime: number | null;
23
+ initializePuzzle: (gridSize: number) => void;
24
+ moveTile: (tileId: number) => boolean;
25
+ moveTileInDirection: (tileId: number, direction: 'up' | 'down' | 'left' | 'right') => boolean;
26
+ shufflePuzzle: () => void;
27
+ startGame: () => void;
28
+ stopGame: () => void;
29
+ resetGame: () => void;
30
+ decrementTime: () => void;
31
+ checkCompletion: (difficulty: 'easy' | 'medium' | 'hard') => void;
32
+ updateScore: (points: number) => void;
33
+ }
34
+ export declare const useSlidingNumbersStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<SlidingNumbersState>, "subscribe"> & {
35
+ subscribe: {
36
+ (listener: (selectedState: SlidingNumbersState, previousSelectedState: SlidingNumbersState) => void): () => void;
37
+ <U>(selector: (state: SlidingNumbersState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
38
+ equalityFn?: ((a: U, b: U) => boolean) | undefined;
39
+ fireImmediately?: boolean;
40
+ } | undefined): () => void;
41
+ };
42
+ }>;
43
+ export declare const useGameState: () => {
44
+ isPlaying: boolean;
45
+ isCompleted: boolean;
46
+ };
47
+ export declare const useScore: () => number;
48
+ export declare const useTimeLeft: () => number;
49
+ export declare const useTimeElapsed: () => number;
50
+ export declare const useTiles: () => PuzzleTile[];
51
+ export declare const useGridSize: () => number;
52
+ export declare const useEmptyPosition: () => {
53
+ row: number;
54
+ col: number;
55
+ };
56
+ //# sourceMappingURL=SlidingNumbersStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SlidingNumbersStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/sliding-numbers/SlidingNumbersStore.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IACvC,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAElC,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IAGrB,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAG5C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,gBAAgB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC;IACtC,mBAAmB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,KAAK,OAAO,CAAC;IAC9F,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,eAAe,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,KAAK,IAAI,CAAC;IAClE,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC;AAED,eAAO,MAAM,sBAAsB;;;;;;;;EAyQlC,CAAC;AAGF,eAAO,MAAM,YAAY;;;CAGtB,CAAC;AAEJ,eAAO,MAAM,QAAQ,cAAuD,CAAC;AAC7E,eAAO,MAAM,WAAW,cAA0D,CAAC;AACnF,eAAO,MAAM,cAAc,cAA6D,CAAC;AACzF,eAAO,MAAM,QAAQ,oBAAuD,CAAC;AAC7E,eAAO,MAAM,WAAW,cAA0D,CAAC;AACnF,eAAO,MAAM,gBAAgB;SA3SL,MAAM;SAAO,MAAM;CA2SiD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface GameBackgroundProps {
3
+ children: React.ReactNode;
4
+ }
5
+ export declare const GameBackground: React.FC<GameBackgroundProps>;
6
+ export {};
7
+ //# sourceMappingURL=GameBackground.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/sliding-numbers/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA6B1B,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAqQvD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface NumbersGridProps {
3
+ difficulty: 'easy' | 'medium' | 'hard';
4
+ }
5
+ export declare const NumbersGrid: React.FC<NumbersGridProps>;
6
+ export {};
7
+ //# sourceMappingURL=NumbersGrid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NumbersGrid.d.ts","sourceRoot":"","sources":["../../../../../../src/games/sliding-numbers/components/NumbersGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAoBvC,UAAU,gBAAgB;IACxB,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;CACxC;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAsJjD,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import type { PuzzleTile as PuzzleTileType } from '../SlidingNumbersStore';
3
+ interface NumbersTileProps {
4
+ tile: PuzzleTileType;
5
+ onPress: (tileId: number) => void;
6
+ isMovable: boolean;
7
+ tileSize: number;
8
+ }
9
+ export declare const NumbersTile: React.FC<NumbersTileProps>;
10
+ export {};
11
+ //# sourceMappingURL=NumbersTile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NumbersTile.d.ts","sourceRoot":"","sources":["../../../../../../src/games/sliding-numbers/components/NumbersTile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE3E,UAAU,gBAAgB;IACxB,IAAI,EAAE,cAAc,CAAC;IACrB,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAID,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA4EjD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const ScoreBoard: React.FC;
3
+ //# sourceMappingURL=ScoreBoard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/sliding-numbers/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAMvC,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAgB7B,CAAC"}
@@ -0,0 +1,5 @@
1
+ export { NumbersTile } from './NumbersTile';
2
+ export { NumbersGrid } from './NumbersGrid';
3
+ export { ScoreBoard } from './ScoreBoard';
4
+ export { GameBackground } from './GameBackground';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/games/sliding-numbers/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type GameProps } from '../../services/GamesService';
3
+ export declare const Snake: React.FC<GameProps>;
4
+ //# sourceMappingURL=Snake.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Snake.d.ts","sourceRoot":"","sources":["../../../../../src/games/snake/Snake.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAW9F,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAsKpC,CAAC"}
@@ -0,0 +1,93 @@
1
+ import type { GameSettingsTheme } from '../../services/GamesConstants';
2
+ export declare const SNAKE_GAME_CONFIG: {
3
+ readonly GRID_SIZE: 20;
4
+ readonly CELL_SIZE: number;
5
+ readonly GAME_SPEED: {
6
+ readonly easy: 400;
7
+ readonly medium: 300;
8
+ readonly hard: 200;
9
+ };
10
+ readonly POINTS_PER_FOOD: 10;
11
+ readonly POINTS_PER_SPECIAL_FOOD: 25;
12
+ readonly DIFFICULTY_MULTIPLIER: {
13
+ readonly easy: 1;
14
+ readonly medium: 2;
15
+ readonly hard: 3;
16
+ };
17
+ readonly SPECIAL_FOOD_CHANCE: 0.15;
18
+ readonly SPECIAL_FOOD_DURATION: 5000;
19
+ readonly INITIAL_SNAKE_LENGTH: 3;
20
+ };
21
+ export declare const SNAKE_COLORS: {
22
+ readonly BACKGROUND: "#252541";
23
+ readonly GRID_LINE: "rgba(255, 255, 255, 0.15)";
24
+ readonly SNAKE_HEAD: "#00ff88";
25
+ readonly SNAKE_BODY: "#00cc6a";
26
+ readonly SNAKE_TAIL: "#00994d";
27
+ readonly SNAKE_OUTLINE: "#004d26";
28
+ readonly FOOD_NORMAL: "#ff4757";
29
+ readonly FOOD_SPECIAL: "#ffa502";
30
+ readonly FOOD_GLOW: "rgba(255, 71, 87, 0.5)";
31
+ readonly SCORE_TEXT: "#ffffff";
32
+ readonly SCORE_BACKGROUND: "rgba(0, 255, 136, 0.2)";
33
+ readonly BUTTON_PRIMARY: "#00ff88";
34
+ readonly BUTTON_SECONDARY: "#00cc6a";
35
+ readonly MODAL_PRIMARY: "rgba(0, 255, 136, 0.95)";
36
+ readonly MODAL_BORDER: "rgba(0, 204, 106, 0.9)";
37
+ readonly MODAL_BUTTON: "#00ff88";
38
+ readonly MODAL_BUTTON_BORDER: "#00cc6a";
39
+ readonly COLLISION_COLOR: "#ff4757";
40
+ };
41
+ export declare const DIRECTIONS: {
42
+ readonly UP: {
43
+ readonly x: 0;
44
+ readonly y: -1;
45
+ };
46
+ readonly DOWN: {
47
+ readonly x: 0;
48
+ readonly y: 1;
49
+ };
50
+ readonly LEFT: {
51
+ readonly x: -1;
52
+ readonly y: 0;
53
+ };
54
+ readonly RIGHT: {
55
+ readonly x: 1;
56
+ readonly y: 0;
57
+ };
58
+ };
59
+ export type Direction = keyof typeof DIRECTIONS;
60
+ export declare const SNAKE_THEME: GameSettingsTheme;
61
+ export declare const SNAKE_DIFFICULTY_DESCRIPTIONS: {
62
+ readonly easy: "Slow speed • 1x points • Perfect for beginners";
63
+ readonly medium: "Medium speed • 2x points • Balanced challenge";
64
+ readonly hard: "Fast speed • 3x points • Expert level";
65
+ };
66
+ export declare const SNAKE_SOUNDS: {
67
+ readonly EAT: {
68
+ readonly text: "Nom!";
69
+ readonly pitch: 1.2;
70
+ readonly rate: 1.5;
71
+ };
72
+ readonly SPECIAL: {
73
+ readonly text: "Bonus!";
74
+ readonly pitch: 1.5;
75
+ readonly rate: 2;
76
+ };
77
+ readonly COLLISION: {
78
+ readonly text: "Ouch!";
79
+ readonly pitch: 0.8;
80
+ readonly rate: 1.2;
81
+ };
82
+ readonly WIN: {
83
+ readonly text: "Victory!";
84
+ readonly pitch: 1.6;
85
+ readonly rate: 1.8;
86
+ };
87
+ readonly LOSE: {
88
+ readonly text: "Game Over";
89
+ readonly pitch: 0.8;
90
+ readonly rate: 1.2;
91
+ };
92
+ };
93
+ //# sourceMappingURL=SnakeConstants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SnakeConstants.d.ts","sourceRoot":"","sources":["../../../../../src/games/snake/SnakeConstants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAKvE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;CA2BpB,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;CA4Bf,CAAC;AAGX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;CAKb,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,UAAU,CAAC;AAGhD,eAAO,MAAM,WAAW,EAAE,iBAczB,CAAC;AAGF,eAAO,MAAM,6BAA6B;;;;CAIhC,CAAC;AAGX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;CAMf,CAAC"}
@@ -0,0 +1,30 @@
1
+ import { type Direction } from './SnakeConstants';
2
+ export interface Position {
3
+ x: number;
4
+ y: number;
5
+ }
6
+ export interface SnakeSegment extends Position {
7
+ id: number;
8
+ }
9
+ export interface Food extends Position {
10
+ id: number;
11
+ isSpecial: boolean;
12
+ expiresAt?: number;
13
+ }
14
+ export declare class SnakeService {
15
+ private nextId;
16
+ initializeSnake(): SnakeSegment[];
17
+ generateFood(snake: SnakeSegment[], isSpecial?: boolean): Food;
18
+ isPositionOnSnake(position: Position, snake: SnakeSegment[]): boolean;
19
+ moveSnake(snake: SnakeSegment[], direction: Direction): SnakeSegment[];
20
+ checkWallCollision(head: SnakeSegment): boolean;
21
+ checkSelfCollision(snake: SnakeSegment[]): boolean;
22
+ checkFoodCollision(head: SnakeSegment, food: Food): boolean;
23
+ growSnake(snake: SnakeSegment[]): SnakeSegment[];
24
+ isValidDirectionChange(currentDirection: Direction, newDirection: Direction): boolean;
25
+ getOppositeDirection(direction: Direction): Direction;
26
+ resetIdCounter(): void;
27
+ isSpecialFoodExpired(food: Food): boolean;
28
+ calculateScore(isSpecialFood: boolean, difficulty: 'easy' | 'medium' | 'hard'): number;
29
+ }
30
+ //# sourceMappingURL=SnakeService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SnakeService.d.ts","sourceRoot":"","sources":["../../../../../src/games/snake/SnakeService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAEjF,MAAM,WAAW,QAAQ;IACvB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,MAAM,WAAW,YAAa,SAAQ,QAAQ;IAC5C,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,IAAK,SAAQ,QAAQ;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,YAAY;IACvB,OAAO,CAAC,MAAM,CAAK;IAGnB,eAAe,IAAI,YAAY,EAAE;IAgBjC,YAAY,CAAC,KAAK,EAAE,YAAY,EAAE,EAAE,SAAS,GAAE,OAAe,GAAG,IAAI;IA+BrE,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,GAAG,OAAO;IAKrE,SAAS,CAAC,KAAK,EAAE,YAAY,EAAE,EAAE,SAAS,EAAE,SAAS,GAAG,YAAY,EAAE;IAoBtE,kBAAkB,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO;IAU/C,kBAAkB,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,OAAO;IAelD,kBAAkB,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,IAAI,GAAG,OAAO;IAK3D,SAAS,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,YAAY,EAAE;IAehD,sBAAsB,CAAC,gBAAgB,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,GAAG,OAAO;IAYrF,oBAAoB,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS;IAWrD,cAAc,IAAI,IAAI;IAKtB,oBAAoB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAMzC,cAAc,CAAC,aAAa,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM;CASvF"}
@@ -0,0 +1,43 @@
1
+ import { type SnakeSegment, type Food } from './SnakeService';
2
+ import { type Direction } from './SnakeConstants';
3
+ export interface SnakeState {
4
+ snake: SnakeSegment[];
5
+ food: Food | null;
6
+ direction: Direction;
7
+ nextDirection: Direction;
8
+ score: number;
9
+ isPlaying: boolean;
10
+ isGameOver: boolean;
11
+ isPaused: boolean;
12
+ difficulty: 'easy' | 'medium' | 'hard';
13
+ enableSounds: boolean;
14
+ enableHaptics: boolean;
15
+ moveTimer: NodeJS.Timeout | null;
16
+ }
17
+ export interface SnakeStore extends SnakeState {
18
+ startGame: () => void;
19
+ stopGame: () => void;
20
+ resetGame: () => void;
21
+ pauseGame: () => void;
22
+ resumeGame: () => void;
23
+ initializeGame: (difficulty?: 'easy' | 'medium' | 'hard') => void;
24
+ changeDirection: (direction: Direction) => void;
25
+ updateSettings: (enableSounds: boolean, enableHaptics: boolean) => void;
26
+ gameLoop: () => void;
27
+ }
28
+ export declare const useSnakeStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<SnakeStore>, "subscribe"> & {
29
+ subscribe: {
30
+ (listener: (selectedState: SnakeStore, previousSelectedState: SnakeStore) => void): () => void;
31
+ <U>(selector: (state: SnakeStore) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
32
+ equalityFn?: ((a: U, b: U) => boolean) | undefined;
33
+ fireImmediately?: boolean;
34
+ } | undefined): () => void;
35
+ };
36
+ }>;
37
+ export declare const useSnake: () => SnakeSegment[];
38
+ export declare const useFood: () => Food | null;
39
+ export declare const useScore: () => number;
40
+ export declare const useIsPlaying: () => boolean;
41
+ export declare const useIsGameOver: () => boolean;
42
+ export declare const useIsPaused: () => boolean;
43
+ //# sourceMappingURL=SnakeStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SnakeStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/snake/SnakeStore.ts"],"names":[],"mappings":"AAGA,OAAO,EAAgB,KAAK,YAAY,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EAAmC,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAInF,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;IACrB,aAAa,EAAE,SAAS,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IACvC,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC;CAClC;AAED,MAAM,WAAW,UAAW,SAAQ,UAAU;IAC5C,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,cAAc,EAAE,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,KAAK,IAAI,CAAC;IAClE,eAAe,EAAE,CAAC,SAAS,EAAE,SAAS,KAAK,IAAI,CAAC;IAChD,cAAc,EAAE,CAAC,YAAY,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,KAAK,IAAI,CAAC;IACxE,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAID,eAAO,MAAM,aAAa;;;;;;;;EAwLzB,CAAC;AAGF,eAAO,MAAM,QAAQ,sBAA4C,CAAC;AAClE,eAAO,MAAM,OAAO,mBAA2C,CAAC;AAChE,eAAO,MAAM,QAAQ,cAA4C,CAAC;AAClE,eAAO,MAAM,YAAY,eAAgD,CAAC;AAC1E,eAAO,MAAM,aAAa,eAAiD,CAAC;AAC5E,eAAO,MAAM,WAAW,eAA+C,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const GameBackground: React.FC<{
3
+ children: React.ReactNode;
4
+ }>;
5
+ //# sourceMappingURL=GameBackground.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/snake/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAkOjE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const GameGrid: React.FC;
3
+ //# sourceMappingURL=GameGrid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GameGrid.d.ts","sourceRoot":"","sources":["../../../../../../src/games/snake/components/GameGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAkK3B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const ScoreBoard: React.FC;
3
+ //# sourceMappingURL=ScoreBoard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/snake/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAa7B,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { GameBackground } from './GameBackground';
2
+ export { GameGrid } from './GameGrid';
3
+ export { ScoreBoard } from './ScoreBoard';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/games/snake/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { Snake } from './Snake';
2
+ export { useSnakeStore } from './SnakeStore';
3
+ export * from './SnakeConstants';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/games/snake/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,cAAc,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SpaceFighter.d.ts","sourceRoot":"","sources":["../../../../../src/games/space-fighter/SpaceFighter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAS/D,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAIvE,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA0J5C,CAAC"}
1
+ {"version":3,"file":"SpaceFighter.d.ts","sourceRoot":"","sources":["../../../../../src/games/space-fighter/SpaceFighter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAS/D,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAI9F,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA0J5C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"WhackAMole.d.ts","sourceRoot":"","sources":["../../../../../src/games/whack-a-mole/WhackAMole.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAUvE,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAEvE,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA0P1C,CAAC"}
1
+ {"version":3,"file":"WhackAMole.d.ts","sourceRoot":"","sources":["../../../../../src/games/whack-a-mole/WhackAMole.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAUvE,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAE9F,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA0P1C,CAAC"}
@@ -4,5 +4,13 @@ export * from './games/whack-a-mole/WhackAMole';
4
4
  export * from './games/fruit-ninja/FruitNinja';
5
5
  export * from './games/maze-runner/MazeRunner';
6
6
  export * from './games/space-fighter/SpaceFighter';
7
+ export * from './games/sliding-numbers/SlidingNumbers';
8
+ export * from './games/game-2048/Game2048';
9
+ export * from './games/dino-jump/DinoJump';
10
+ export * from './games/color-sort/ColorSort';
11
+ export * from './games/fruit-merger/FruitMerger';
12
+ export * from './games/flappy-bird/FlappyBird';
13
+ export * from './games/candy-crush/CandyCrush';
14
+ export * from './games/snake/Snake';
7
15
  export * from './services/GamesService';
8
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AACA,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AAGnD,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AACA,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AAGpC,cAAc,yBAAyB,CAAC"}
@@ -20,6 +20,70 @@ export declare const GAME_THEMES: {
20
20
  readonly whackAMole: GameSettingsTheme;
21
21
  readonly spaceFighter: GameSettingsTheme;
22
22
  readonly popitFidget: GameSettingsTheme;
23
+ readonly slidingNumbers: GameSettingsTheme;
24
+ readonly game2048: GameSettingsTheme;
25
+ readonly dinoJump: GameSettingsTheme;
26
+ readonly colorSort: {
27
+ backgroundColor: string;
28
+ headerBackgroundColor: string;
29
+ headerTextColor: string;
30
+ sectionBackgroundColor: string;
31
+ sectionTitleColor: string;
32
+ buttonSelectedColor: string;
33
+ buttonUnselectedColor: string;
34
+ buttonSelectedTextColor: string;
35
+ buttonUnselectedTextColor: string;
36
+ switchTrackColorFalse: string;
37
+ switchTrackColorTrue: string;
38
+ switchThumbColor: string;
39
+ infoTextColor: string;
40
+ };
41
+ readonly fruitMerger: {
42
+ backgroundColor: string;
43
+ headerBackgroundColor: string;
44
+ headerTextColor: string;
45
+ sectionBackgroundColor: string;
46
+ sectionTitleColor: string;
47
+ buttonSelectedColor: string;
48
+ buttonUnselectedColor: string;
49
+ buttonSelectedTextColor: string;
50
+ buttonUnselectedTextColor: string;
51
+ switchTrackColorFalse: string;
52
+ switchTrackColorTrue: string;
53
+ switchThumbColor: string;
54
+ infoTextColor: string;
55
+ };
56
+ readonly flappyBird: {
57
+ backgroundColor: string;
58
+ headerBackgroundColor: string;
59
+ headerTextColor: string;
60
+ sectionBackgroundColor: string;
61
+ sectionTitleColor: string;
62
+ buttonSelectedColor: string;
63
+ buttonUnselectedColor: string;
64
+ buttonSelectedTextColor: string;
65
+ buttonUnselectedTextColor: string;
66
+ switchTrackColorFalse: string;
67
+ switchTrackColorTrue: string;
68
+ switchThumbColor: string;
69
+ infoTextColor: string;
70
+ };
71
+ readonly candyCrush: {
72
+ readonly backgroundColor: "#2C3E50";
73
+ readonly headerBackgroundColor: "#FF9500";
74
+ readonly headerTextColor: "#FFFFFF";
75
+ readonly sectionBackgroundColor: "rgba(255, 149, 0, 0.15)";
76
+ readonly sectionTitleColor: "#FF9500";
77
+ readonly buttonSelectedColor: "#FF9500";
78
+ readonly buttonUnselectedColor: "rgba(255, 149, 0, 0.2)";
79
+ readonly buttonSelectedTextColor: "#FFFFFF";
80
+ readonly buttonUnselectedTextColor: "#FF9500";
81
+ readonly switchTrackColorFalse: "rgba(255, 149, 0, 0.3)";
82
+ readonly switchTrackColorTrue: "#FF9500";
83
+ readonly switchThumbColor: "#FFFFFF";
84
+ readonly infoTextColor: "rgba(255, 255, 255, 0.7)";
85
+ };
86
+ readonly snake: GameSettingsTheme;
23
87
  };
24
88
  export declare const GAME_DIFFICULTY_DESCRIPTIONS: {
25
89
  readonly balloonBlaster: {
@@ -52,6 +116,58 @@ export declare const GAME_DIFFICULTY_DESCRIPTIONS: {
52
116
  readonly medium: "Medium grids, satisfying pops";
53
117
  readonly hard: "Large complex shapes, ultimate satisfaction!";
54
118
  };
119
+ readonly slidingNumbers: {
120
+ readonly easy: "3x3 grid with numbers 1-8, perfect for beginners";
121
+ readonly medium: "4x4 grid with numbers 1-15, moderate challenge";
122
+ readonly hard: "5x5 grid with numbers 1-24, expert level puzzle";
123
+ };
124
+ readonly game2048: {
125
+ readonly easy: "Reach 1024 tile on 4x4 grid";
126
+ readonly medium: "Reach 2048 tile on 4x4 grid";
127
+ readonly hard: "Reach 4096 tile on 4x4 grid";
128
+ };
129
+ readonly dinoJump: {
130
+ readonly easy: "Slow speed, easy obstacles, perfect for beginners";
131
+ readonly medium: "Medium speed, moderate challenge with mixed obstacles";
132
+ readonly hard: "Fast speed, frequent obstacles, expert level challenge";
133
+ };
134
+ readonly colorSort: {
135
+ easy: string;
136
+ medium: string;
137
+ hard: string;
138
+ };
139
+ readonly fruitMerger: {
140
+ easy: string;
141
+ medium: string;
142
+ hard: string;
143
+ };
144
+ readonly flappyBird: {
145
+ easy: {
146
+ title: string;
147
+ description: string;
148
+ features: string[];
149
+ };
150
+ medium: {
151
+ title: string;
152
+ description: string;
153
+ features: string[];
154
+ };
155
+ hard: {
156
+ title: string;
157
+ description: string;
158
+ features: string[];
159
+ };
160
+ };
161
+ readonly candyCrush: {
162
+ readonly easy: "1 minute • 4 candy types";
163
+ readonly medium: "3 minutes • 5 candy types";
164
+ readonly hard: "5 minutes • 6 candy types";
165
+ };
166
+ readonly snake: {
167
+ readonly easy: "Slow speed • 1x points • Perfect for beginners";
168
+ readonly medium: "Medium speed • 2x points • Balanced challenge";
169
+ readonly hard: "Fast speed • 3x points • Expert level";
170
+ };
55
171
  };
56
172
  export declare const DIFFICULTY_LEVELS: readonly ["easy", "medium", "hard"];
57
173
  export type DifficultyLevel = typeof DIFFICULTY_LEVELS[number];
@@ -84,6 +200,46 @@ export declare const getGameDifficultyDescriptions: (gameId: string) => {
84
200
  readonly easy: "Smaller fidget grids, relaxing pace";
85
201
  readonly medium: "Medium grids, satisfying pops";
86
202
  readonly hard: "Large complex shapes, ultimate satisfaction!";
203
+ } | {
204
+ readonly easy: "3x3 grid with numbers 1-8, perfect for beginners";
205
+ readonly medium: "4x4 grid with numbers 1-15, moderate challenge";
206
+ readonly hard: "5x5 grid with numbers 1-24, expert level puzzle";
207
+ } | {
208
+ readonly easy: "Reach 1024 tile on 4x4 grid";
209
+ readonly medium: "Reach 2048 tile on 4x4 grid";
210
+ readonly hard: "Reach 4096 tile on 4x4 grid";
211
+ } | {
212
+ readonly easy: "Slow speed, easy obstacles, perfect for beginners";
213
+ readonly medium: "Medium speed, moderate challenge with mixed obstacles";
214
+ readonly hard: "Fast speed, frequent obstacles, expert level challenge";
215
+ } | {
216
+ easy: string;
217
+ medium: string;
218
+ hard: string;
219
+ } | {
220
+ easy: {
221
+ title: string;
222
+ description: string;
223
+ features: string[];
224
+ };
225
+ medium: {
226
+ title: string;
227
+ description: string;
228
+ features: string[];
229
+ };
230
+ hard: {
231
+ title: string;
232
+ description: string;
233
+ features: string[];
234
+ };
235
+ } | {
236
+ readonly easy: "1 minute • 4 candy types";
237
+ readonly medium: "3 minutes • 5 candy types";
238
+ readonly hard: "5 minutes • 6 candy types";
239
+ } | {
240
+ readonly easy: "Slow speed • 1x points • Perfect for beginners";
241
+ readonly medium: "Medium speed • 2x points • Balanced challenge";
242
+ readonly hard: "Fast speed • 3x points • Expert level";
87
243
  } | {
88
244
  readonly easy: "Balloons spawn slower, more forgiving";
89
245
  readonly medium: "Balanced gameplay and balloon speed";
@@ -1 +1 @@
1
- {"version":3,"file":"GamesConstants.d.ts","sourceRoot":"","sources":["../../../../src/services/GamesConstants.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,iBAAiB;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,uBAAuB,EAAE,MAAM,CAAC;IAChC,yBAAyB,EAAE,MAAM,CAAC;IAClC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;CACvB;AAGD,eAAO,MAAM,WAAW;;;;;;;CAOd,CAAC;AAGX,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO/B,CAAC;AAGX,eAAO,MAAM,iBAAiB,qCAAsC,CAAC;AACrE,MAAM,MAAM,eAAe,GAAG,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAC;AAG/D,eAAO,MAAM,UAAU;;;;;;CAMb,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAGlE,eAAO,MAAM,YAAY,GAAI,QAAQ,MAAM,KAAG,iBAiB7C,CAAC;AAEF,eAAO,MAAM,6BAA6B,GAAI,QAAQ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;CAiB3D,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,QAAQ,MAAM,KAAG,MAG7C,CAAC"}
1
+ {"version":3,"file":"GamesConstants.d.ts","sourceRoot":"","sources":["../../../../src/services/GamesConstants.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,iBAAiB;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,uBAAuB,EAAE,MAAM,CAAC;IAChC,yBAAyB,EAAE,MAAM,CAAC;IAClC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;CACvB;AAGD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAed,CAAC;AAGX,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe/B,CAAC;AAGX,eAAO,MAAM,iBAAiB,qCAAsC,CAAC;AACrE,MAAM,MAAM,eAAe,GAAG,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAC;AAG/D,eAAO,MAAM,UAAU;;;;;;CAMb,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAGlE,eAAO,MAAM,YAAY,GAAI,QAAQ,MAAM,KAAG,iBAiC7C,CAAC;AAEF,eAAO,MAAM,6BAA6B,GAAI,QAAQ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiC3D,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,QAAQ,MAAM,KAAG,MAG7C,CAAC"}