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
@@ -1 +1 @@
1
- {"version":3,"file":"BalloonBlaster.d.ts","sourceRoot":"","sources":["../../../../../src/games/balloon-blaster/BalloonBlaster.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAQ/D,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAEvE,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAqJ7C,CAAC"}
1
+ {"version":3,"file":"BalloonBlaster.d.ts","sourceRoot":"","sources":["../../../../../src/games/balloon-blaster/BalloonBlaster.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAQ/D,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAE9F,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAqJ7C,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type GameProps } from '../../services/GamesService';
3
+ export declare const CandyCrush: React.FC<GameProps>;
4
+ //# sourceMappingURL=CandyCrush.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CandyCrush.d.ts","sourceRoot":"","sources":["../../../../../src/games/candy-crush/CandyCrush.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAU9F,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAiGzC,CAAC"}
@@ -0,0 +1,104 @@
1
+ export declare const CANDY_CRUSH_GAME_CONFIG: {
2
+ readonly GRID_SIZE: 8;
3
+ readonly CANDY_TYPES: 6;
4
+ readonly MIN_MATCH: 3;
5
+ readonly ANIMATION_DURATION: 300;
6
+ readonly FALL_DURATION: 400;
7
+ readonly SWAP_DURATION: 200;
8
+ readonly POINTS_PER_CANDY: 10;
9
+ readonly COMBO_MULTIPLIER: 1.5;
10
+ readonly SPECIAL_CANDY_THRESHOLD: 4;
11
+ };
12
+ export declare const CANDY_COLORS: readonly ["#FF3B30", "#34C759", "#007AFF", "#FFCC00", "#9D4EDD", "#FF6B9D"];
13
+ export declare const CANDY_TYPES: {
14
+ readonly NORMAL: "normal";
15
+ readonly STRIPED_HORIZONTAL: "striped_h";
16
+ readonly STRIPED_VERTICAL: "striped_v";
17
+ readonly WRAPPED: "wrapped";
18
+ readonly COLOR_BOMB: "color_bomb";
19
+ };
20
+ export declare const CANDY_CRUSH_COLORS: {
21
+ readonly BACKGROUND: "#2C3E50";
22
+ readonly GRID_BACKGROUND: "rgba(255, 149, 0, 0.1)";
23
+ readonly GRID_BORDER: "rgba(255, 149, 0, 0.3)";
24
+ readonly SELECTED: "rgba(255, 149, 0, 0.5)";
25
+ readonly BUTTON_PRIMARY: "#FF9500";
26
+ readonly BUTTON_SECONDARY: "#E68600";
27
+ readonly SCORE_BACKGROUND: "rgba(255, 149, 0, 0.4)";
28
+ readonly SCORE_TEXT: "#FFFFFF";
29
+ readonly TIME_GOOD: "#FF9500";
30
+ readonly TIME_WARNING: "#FF9500";
31
+ readonly TIME_CRITICAL: "#FF9500";
32
+ readonly COMBO_TEXT: "#FF9500";
33
+ readonly MODAL_PRIMARY: "rgba(255, 149, 0, 0.95)";
34
+ readonly MODAL_BORDER: "rgba(230, 134, 0, 0.9)";
35
+ readonly MODAL_BUTTON: "#FF9500";
36
+ readonly MODAL_BUTTON_BORDER: "#E68600";
37
+ };
38
+ export declare const DIFFICULTY_CONFIG: {
39
+ readonly easy: {
40
+ readonly gameDuration: 60;
41
+ readonly candyTypes: 4;
42
+ };
43
+ readonly medium: {
44
+ readonly gameDuration: 180;
45
+ readonly candyTypes: 5;
46
+ };
47
+ readonly hard: {
48
+ readonly gameDuration: 300;
49
+ readonly candyTypes: 6;
50
+ };
51
+ };
52
+ export declare const CANDY_CRUSH_SOUNDS: {
53
+ readonly MATCH: {
54
+ readonly text: "Pop!";
55
+ readonly pitch: 1.2;
56
+ readonly rate: 1.5;
57
+ };
58
+ readonly SWAP: {
59
+ readonly text: "Swap";
60
+ readonly pitch: 1;
61
+ readonly rate: 1.8;
62
+ };
63
+ readonly SPECIAL: {
64
+ readonly text: "Boom!";
65
+ readonly pitch: 1.5;
66
+ readonly rate: 2;
67
+ };
68
+ readonly COMBO: {
69
+ readonly text: "Combo!";
70
+ readonly pitch: 1.8;
71
+ readonly rate: 2.2;
72
+ };
73
+ readonly WIN: {
74
+ readonly text: "Victory!";
75
+ readonly pitch: 1.6;
76
+ readonly rate: 1.8;
77
+ };
78
+ readonly LOSE: {
79
+ readonly text: "Game Over";
80
+ readonly pitch: 0.8;
81
+ readonly rate: 1.2;
82
+ };
83
+ };
84
+ export declare const CANDY_CRUSH_THEME: {
85
+ readonly backgroundColor: "#2C3E50";
86
+ readonly headerBackgroundColor: "#FF9500";
87
+ readonly headerTextColor: "#FFFFFF";
88
+ readonly sectionBackgroundColor: "rgba(255, 149, 0, 0.15)";
89
+ readonly sectionTitleColor: "#FF9500";
90
+ readonly buttonSelectedColor: "#FF9500";
91
+ readonly buttonUnselectedColor: "rgba(255, 149, 0, 0.2)";
92
+ readonly buttonSelectedTextColor: "#FFFFFF";
93
+ readonly buttonUnselectedTextColor: "#FF9500";
94
+ readonly switchTrackColorFalse: "rgba(255, 149, 0, 0.3)";
95
+ readonly switchTrackColorTrue: "#FF9500";
96
+ readonly switchThumbColor: "#FFFFFF";
97
+ readonly infoTextColor: "rgba(255, 255, 255, 0.7)";
98
+ };
99
+ export declare const CANDY_CRUSH_DIFFICULTY_DESCRIPTIONS: {
100
+ readonly easy: "1 minute • 4 candy types";
101
+ readonly medium: "3 minutes • 5 candy types";
102
+ readonly hard: "5 minutes • 6 candy types";
103
+ };
104
+ //# sourceMappingURL=CandyCrushConstants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CandyCrushConstants.d.ts","sourceRoot":"","sources":["../../../../../src/games/candy-crush/CandyCrushConstants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,uBAAuB;;;;;;;;;;CAU1B,CAAC;AAEX,eAAO,MAAM,YAAY,6EAOf,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;CAMd,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;CAiBrB,CAAC;AAEX,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;CAapB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOrB,CAAC;AAGX,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;CAcpB,CAAC;AAGX,eAAO,MAAM,mCAAmC;;;;CAItC,CAAC"}
@@ -0,0 +1,40 @@
1
+ import { Animated } from 'react-native';
2
+ import { CANDY_TYPES } from './CandyCrushConstants';
3
+ export type CandyType = typeof CANDY_TYPES[keyof typeof CANDY_TYPES];
4
+ export interface Candy {
5
+ id: number;
6
+ row: number;
7
+ col: number;
8
+ type: number;
9
+ specialType: CandyType;
10
+ animatedValue: Animated.Value;
11
+ scaleValue: Animated.Value;
12
+ isMatched: boolean;
13
+ isFalling: boolean;
14
+ }
15
+ export type CandyGrid = (Candy | null)[][];
16
+ export interface MatchResult {
17
+ matches: Candy[];
18
+ score: number;
19
+ hasMatches: boolean;
20
+ }
21
+ export interface SwapResult {
22
+ isValid: boolean;
23
+ matches: Candy[];
24
+ }
25
+ export declare class CandyCrushService {
26
+ private nextCandyId;
27
+ createGrid(): CandyGrid;
28
+ initializeGrid(candyTypes: number): CandyGrid;
29
+ private wouldCreateMatch;
30
+ canSwap(candy1: Candy, candy2: Candy): boolean;
31
+ swapCandies(grid: CandyGrid, candy1: Candy, candy2: Candy): void;
32
+ findMatches(grid: CandyGrid): MatchResult;
33
+ removeMatches(grid: CandyGrid, matches: Candy[]): void;
34
+ applyGravity(grid: CandyGrid): boolean;
35
+ fillEmptySpaces(grid: CandyGrid, candyTypes: number): Candy[];
36
+ hasPossibleMoves(grid: CandyGrid): boolean;
37
+ getCandyColor(type: number): string;
38
+ resetIdCounter(): void;
39
+ }
40
+ //# sourceMappingURL=CandyCrushService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CandyCrushService.d.ts","sourceRoot":"","sources":["../../../../../src/games/candy-crush/CandyCrushService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAyC,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAE3F,MAAM,MAAM,SAAS,GAAG,OAAO,WAAW,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAErE,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,SAAS,CAAC;IACvB,aAAa,EAAE,QAAQ,CAAC,KAAK,CAAC;IAC9B,UAAU,EAAE,QAAQ,CAAC,KAAK,CAAC;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,SAAS,GAAG,CAAC,KAAK,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;AAE3C,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,KAAK,EAAE,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,KAAK,EAAE,CAAC;CAClB;AAED,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,WAAW,CAAK;IAGxB,UAAU,IAAI,SAAS;IAOvB,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS;IAsC7C,OAAO,CAAC,gBAAgB;IA2DxB,OAAO,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAG,OAAO;IAS9C,WAAW,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAG,IAAI;IA+BhE,WAAW,CAAC,IAAI,EAAE,SAAS,GAAG,WAAW;IAqGzC,aAAa,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,IAAI;IAUtD,YAAY,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO;IA2CtC,eAAe,CAAC,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,GAAG,KAAK,EAAE;IAyC7D,gBAAgB,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO;IA8C1C,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAKnC,cAAc,IAAI,IAAI;CAGvB"}
@@ -0,0 +1,48 @@
1
+ import type { CandyGrid, Candy } from './CandyCrushService';
2
+ export interface CandyCrushState {
3
+ grid: CandyGrid;
4
+ score: number;
5
+ timeRemaining: number;
6
+ gameDuration: number;
7
+ isPlaying: boolean;
8
+ isGameOver: boolean;
9
+ selectedCandy: Candy | null;
10
+ isProcessing: boolean;
11
+ difficulty: 'easy' | 'medium' | 'hard';
12
+ candyTypes: number;
13
+ enableSounds: boolean;
14
+ enableHaptics: boolean;
15
+ comboCount: number;
16
+ gameTimer: NodeJS.Timeout | null;
17
+ matchedCandyIds: Set<number>;
18
+ fallingCandyIds: Set<number>;
19
+ }
20
+ export interface CandyCrushStore extends CandyCrushState {
21
+ startGame: () => void;
22
+ stopGame: () => void;
23
+ resetGame: () => void;
24
+ initializeGame: (difficulty?: 'easy' | 'medium' | 'hard') => void;
25
+ selectCandy: (candy: Candy) => void;
26
+ processMatches: () => Promise<void>;
27
+ updateSettings: (enableSounds: boolean, enableHaptics: boolean) => void;
28
+ }
29
+ export declare const useCandyCrushStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<CandyCrushStore>, "subscribe"> & {
30
+ subscribe: {
31
+ (listener: (selectedState: CandyCrushStore, previousSelectedState: CandyCrushStore) => void): () => void;
32
+ <U>(selector: (state: CandyCrushStore) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
33
+ equalityFn?: ((a: U, b: U) => boolean) | undefined;
34
+ fireImmediately?: boolean;
35
+ } | undefined): () => void;
36
+ };
37
+ }>;
38
+ export declare const useGrid: () => CandyGrid;
39
+ export declare const useScore: () => number;
40
+ export declare const useTimeRemaining: () => number;
41
+ export declare const useGameDuration: () => number;
42
+ export declare const useIsPlaying: () => boolean;
43
+ export declare const useIsGameOver: () => boolean;
44
+ export declare const useSelectedCandy: () => Candy | null;
45
+ export declare const useComboCount: () => number;
46
+ export declare const useMatchedCandyIds: () => Set<number>;
47
+ export declare const useFallingCandyIds: () => Set<number>;
48
+ //# sourceMappingURL=CandyCrushStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CandyCrushStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/candy-crush/CandyCrushStore.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAO5D,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,KAAK,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC;IACjC,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAC9B;AAED,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACtD,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,cAAc,EAAE,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,KAAK,IAAI,CAAC;IAClE,WAAW,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACpC,cAAc,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACpC,cAAc,EAAE,CAAC,YAAY,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,KAAK,IAAI,CAAC;CACzE;AAID,eAAO,MAAM,kBAAkB;;;;;;;;EAkT9B,CAAC;AAGF,eAAO,MAAM,OAAO,iBAAgD,CAAC;AACrE,eAAO,MAAM,QAAQ,cAAiD,CAAC;AACvE,eAAO,MAAM,gBAAgB,cAAyD,CAAC;AACvF,eAAO,MAAM,eAAe,cAAwD,CAAC;AACrF,eAAO,MAAM,YAAY,eAAqD,CAAC;AAC/E,eAAO,MAAM,aAAa,eAAsD,CAAC;AACjF,eAAO,MAAM,gBAAgB,oBAAyD,CAAC;AACvF,eAAO,MAAM,aAAa,cAAsD,CAAC;AACjF,eAAO,MAAM,kBAAkB,mBAA2D,CAAC;AAC3F,eAAO,MAAM,kBAAkB,mBAA2D,CAAC"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import type { Candy } from '../CandyCrushService';
3
+ interface CandyItemProps {
4
+ candy: Candy;
5
+ size: number;
6
+ isSelected: boolean;
7
+ isMatched: boolean;
8
+ isFalling: boolean;
9
+ onSwipe: (direction: 'up' | 'down' | 'left' | 'right') => void;
10
+ }
11
+ export declare const CandyItem: React.NamedExoticComponent<CandyItemProps>;
12
+ export {};
13
+ //# sourceMappingURL=CandyItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CandyItem.d.ts","sourceRoot":"","sources":["../../../../../../src/games/candy-crush/components/CandyItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAWjD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAGlD,UAAU,cAAc;IACtB,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,CAAC,SAAS,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,KAAK,IAAI,CAAC;CAChE;AAqLD,eAAO,MAAM,SAAS,4CAWpB,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/candy-crush/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAmC1B,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CA+BjE,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/candy-crush/components/GameGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;AA+H1D,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAyL3B,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/candy-crush/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EA2C7B,CAAC"}
@@ -0,0 +1,5 @@
1
+ export { GameBackground } from './GameBackground';
2
+ export { GameGrid } from './GameGrid';
3
+ export { ScoreBoard } from './ScoreBoard';
4
+ export { CandyItem } from './CandyItem';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/games/candy-crush/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { CandyCrush } from './CandyCrush';
2
+ export { useCandyCrushStore } from './CandyCrushStore';
3
+ export * from './CandyCrushConstants';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/games/candy-crush/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type GameProps } from '../../services/GamesService';
3
+ export declare const ColorSort: React.FC<GameProps>;
4
+ //# sourceMappingURL=ColorSort.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorSort.d.ts","sourceRoot":"","sources":["../../../../../src/games/color-sort/ColorSort.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAO/D,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAK9F,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAyGxC,CAAC"}
@@ -0,0 +1,52 @@
1
+ export declare const COLOR_SORT_COLORS: {
2
+ BACKGROUND: string;
3
+ PIECE_ORANGE: string;
4
+ PIECE_PINK: string;
5
+ PIECE_GREEN: string;
6
+ PIECE_RED: string;
7
+ PIECE_YELLOW: string;
8
+ PIECE_BLUE: string;
9
+ PIECE_PURPLE: string;
10
+ BASE_SILVER: string;
11
+ BASE_DARK: string;
12
+ SCREW_WHITE: string;
13
+ BUTTON_PRIMARY: string;
14
+ BUTTON_SECONDARY: string;
15
+ SCORE_TEXT: string;
16
+ SELECTED_GLOW: string;
17
+ };
18
+ export declare const COLOR_SORT_GAME_CONFIG: {
19
+ SCREEN_WIDTH: number;
20
+ SCREEN_HEIGHT: number;
21
+ PIECE_SIZE: number;
22
+ CONTAINER_SIZE: number;
23
+ CONTAINER_SPACING: number;
24
+ PIECE_SPACING: number;
25
+ };
26
+ export declare const COLOR_SORT_CONSTANTS: {
27
+ baseScore: number;
28
+ moveScore: number;
29
+ perfectBonus: number;
30
+ };
31
+ export declare const PIECE_COLORS: string[];
32
+ export declare const COLOR_SORT_THEME: {
33
+ backgroundColor: string;
34
+ headerBackgroundColor: string;
35
+ headerTextColor: string;
36
+ sectionBackgroundColor: string;
37
+ sectionTitleColor: string;
38
+ buttonSelectedColor: string;
39
+ buttonUnselectedColor: string;
40
+ buttonSelectedTextColor: string;
41
+ buttonUnselectedTextColor: string;
42
+ switchTrackColorFalse: string;
43
+ switchTrackColorTrue: string;
44
+ switchThumbColor: string;
45
+ infoTextColor: string;
46
+ };
47
+ export declare const COLOR_SORT_DIFFICULTY_DESCRIPTIONS: {
48
+ easy: string;
49
+ medium: string;
50
+ hard: string;
51
+ };
52
+ //# sourceMappingURL=ColorSortConstants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorSortConstants.d.ts","sourceRoot":"","sources":["../../../../../src/games/color-sort/ColorSortConstants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;CAgB7B,CAAC;AAGF,eAAO,MAAM,sBAAsB;;;;;;;CAOlC,CAAC;AAGF,eAAO,MAAM,oBAAoB;;;;CAIhC,CAAC;AAEF,eAAO,MAAM,YAAY,UAQxB,CAAC;AAGF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;CAc5B,CAAC;AAGF,eAAO,MAAM,kCAAkC;;;;CAI9C,CAAC"}
@@ -0,0 +1,66 @@
1
+ /**
2
+ * ColorSort Game Service
3
+ * Handles all utility functions, game logic, and background generation
4
+ */
5
+ export interface FloatingBlock {
6
+ key: string;
7
+ type: 'square' | 'rect' | 'wide' | 'circle';
8
+ x: number;
9
+ y: number;
10
+ size: number;
11
+ color: string;
12
+ }
13
+ export interface DecorativeBlock {
14
+ key: string;
15
+ x: number;
16
+ y: number;
17
+ size: number;
18
+ color: string;
19
+ r: number;
20
+ }
21
+ export interface DecorativeCircle {
22
+ key: string;
23
+ cx: number;
24
+ cy: number;
25
+ r: number;
26
+ color: string;
27
+ }
28
+ export declare const SORT_COLORS: readonly ["#FF6B35", "#FF4444", "#FF8C42", "#FFD700", "#32CD32", "#4169E1", "#FF1493", "#9370DB", "#00BCD4", "#FFA366", "#CDDC39", "#E91E63"];
29
+ /**
30
+ * Format time in seconds to MM:SS format
31
+ */
32
+ export declare const formatTime: (seconds: number) => string;
33
+ /**
34
+ * Get grid layout style based on difficulty
35
+ */
36
+ export declare const getGridLayout: (difficulty: "easy" | "medium" | "hard") => {
37
+ maxWidth: number;
38
+ };
39
+ /**
40
+ * Get piece height based on difficulty
41
+ */
42
+ export declare const getPieceHeight: (difficulty: "easy" | "medium" | "hard", baseSize: number) => number;
43
+ /**
44
+ * Generate floating color blocks for background
45
+ */
46
+ export declare const generateFloatingBlocks: () => FloatingBlock[];
47
+ /**
48
+ * Get decorative blocks positioned around the screen
49
+ */
50
+ export declare const getDecorativeBlocks: () => DecorativeBlock[];
51
+ /**
52
+ * Get decorative circles for variety
53
+ */
54
+ export declare const getDecorativeCircles: () => DecorativeCircle[];
55
+ /**
56
+ * Get gradient colors for background layers
57
+ */
58
+ export declare const getGradientColors: () => {
59
+ main: string[];
60
+ overlay: string[];
61
+ diagonal: string[];
62
+ };
63
+ export declare class ColorSortService {
64
+ cleanup(): void;
65
+ }
66
+ //# sourceMappingURL=ColorSortService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorSortService.d.ts","sourceRoot":"","sources":["../../../../../src/games/color-sort/ColorSortService.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAQH,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;IAC5C,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,EAAE,MAAM,CAAC;CACX;AAED,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;CACf;AAKD,eAAO,MAAM,WAAW,+IAad,CAAC;AAIX;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,SAAS,MAAM,KAAG,MAI5C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,YAAY,MAAM,GAAG,QAAQ,GAAG,MAAM;;CAWnE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,YAAY,MAAM,GAAG,QAAQ,GAAG,MAAM,EAAE,UAAU,MAAM,KAAG,MAWzF,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,sBAAsB,QAAO,aAAa,EAqCtD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,QAAO,eAAe,EASrD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,QAAO,gBAAgB,EAIvD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;CAwB5B,CAAC;AAIH,qBAAa,gBAAgB;IAC3B,OAAO;CAGR"}
@@ -0,0 +1,48 @@
1
+ import { type GameSettings } from '../../services/GamesService';
2
+ export interface Piece {
3
+ id: string;
4
+ color: string;
5
+ }
6
+ export interface Container {
7
+ id: string;
8
+ pieces: Piece[];
9
+ maxCapacity: number;
10
+ x: number;
11
+ y: number;
12
+ }
13
+ export interface ColorSortState {
14
+ isPlaying: boolean;
15
+ isGameOver: boolean;
16
+ isPaused: boolean;
17
+ containers: Container[];
18
+ selectedContainerId: string | null;
19
+ time: number;
20
+ timerInterval: NodeJS.Timeout | null;
21
+ startGame: () => void;
22
+ stopGame: () => void;
23
+ resetGame: () => void;
24
+ pauseGame: () => void;
25
+ resumeGame: () => void;
26
+ initializeGame: (difficulty: 'easy' | 'medium' | 'hard') => void;
27
+ selectContainer: (containerId: string, settings: GameSettings) => void;
28
+ canMovePiece: (fromContainerId: string, toContainerId: string) => boolean;
29
+ movePiece: (fromContainerId: string, toContainerId: string, settings: GameSettings) => void;
30
+ checkWinCondition: () => boolean;
31
+ incrementTime: () => void;
32
+ }
33
+ export declare const useColorSortStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<ColorSortState>, "subscribe"> & {
34
+ subscribe: {
35
+ (listener: (selectedState: ColorSortState, previousSelectedState: ColorSortState) => void): () => void;
36
+ <U>(selector: (state: ColorSortState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
37
+ equalityFn?: ((a: U, b: U) => boolean) | undefined;
38
+ fireImmediately?: boolean;
39
+ } | undefined): () => void;
40
+ };
41
+ }>;
42
+ export declare const useIsPlaying: () => boolean;
43
+ export declare const useIsGameOver: () => boolean;
44
+ export declare const useIsPaused: () => boolean;
45
+ export declare const useTime: () => number;
46
+ export declare const useContainers: () => Container[];
47
+ export declare const useSelectedContainerId: () => string | null;
48
+ //# sourceMappingURL=ColorSortStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorSortStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/color-sort/ColorSortStore.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAKjF,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC;IAErC,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,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,KAAK,IAAI,CAAC;IACjE,eAAe,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAC;IACvE,YAAY,EAAE,CAAC,eAAe,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,KAAK,OAAO,CAAC;IAC1E,SAAS,EAAE,CAAC,eAAe,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAC;IAC5F,iBAAiB,EAAE,MAAM,OAAO,CAAC;IACjC,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAcD,eAAO,MAAM,iBAAiB;;;;;;;;EAwQ7B,CAAC;AAGF,eAAO,MAAM,YAAY,eAAsD,CAAC;AAChF,eAAO,MAAM,aAAa,eAAuD,CAAC;AAClF,eAAO,MAAM,WAAW,eAAqD,CAAC;AAC9E,eAAO,MAAM,OAAO,cAAiD,CAAC;AACtE,eAAO,MAAM,aAAa,mBAAuD,CAAC;AAClF,eAAO,MAAM,sBAAsB,qBAAgE,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import type { Container } from '../ColorSortStore';
3
+ interface ColorContainerProps {
4
+ container: Container;
5
+ isSelected: boolean;
6
+ onPress: () => void;
7
+ difficulty: 'easy' | 'medium' | 'hard';
8
+ }
9
+ export declare const ColorContainer: React.FC<ColorContainerProps>;
10
+ export {};
11
+ //# sourceMappingURL=ColorContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorContainer.d.ts","sourceRoot":"","sources":["../../../../../../src/games/color-sort/components/ColorContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAInD,UAAU,mBAAmB;IAC3B,SAAS,EAAE,SAAS,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;CACxC;AA+BD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAoCvD,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/color-sort/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAmBvC,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA+IvD,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/color-sort/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAMvC,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAc7B,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from './ColorContainer';
2
+ export * from './ScoreBoard';
3
+ export * from './GameBackground';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/games/color-sort/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type GameProps } from '../../services/GamesService';
3
+ export declare const DinoJump: React.FC<GameProps>;
4
+ //# sourceMappingURL=DinoJump.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DinoJump.d.ts","sourceRoot":"","sources":["../../../../../src/games/dino-jump/DinoJump.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AASvE,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAI9F,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA8NvC,CAAC"}
@@ -0,0 +1,95 @@
1
+ import type { GameSettingsTheme } from '../../services/GamesConstants';
2
+ export declare const DINO_JUMP_CONSTANTS: {
3
+ readonly gravity: 1;
4
+ readonly jumpForce: -20;
5
+ readonly gameSpeed: {
6
+ readonly easy: 4;
7
+ readonly medium: 6;
8
+ readonly hard: 8;
9
+ };
10
+ readonly baseScore: {
11
+ readonly easy: 1;
12
+ readonly medium: 1;
13
+ readonly hard: 1;
14
+ };
15
+ readonly scoreMultiplier: {
16
+ readonly easy: 1;
17
+ readonly medium: 1.5;
18
+ readonly hard: 2;
19
+ };
20
+ readonly speedIncreaseRate: 0.001;
21
+ readonly maxSpeed: 12;
22
+ readonly timeLimit: {
23
+ readonly easy: 60;
24
+ readonly medium: 120;
25
+ readonly hard: 180;
26
+ };
27
+ };
28
+ export declare const DINO_JUMP_GAME_CONFIG: {
29
+ readonly SCREEN_WIDTH: number;
30
+ readonly SCREEN_HEIGHT: number;
31
+ readonly GROUND_HEIGHT: 250;
32
+ readonly DINOSAUR_WIDTH: 55;
33
+ readonly DINOSAUR_HEIGHT: 58;
34
+ readonly DINOSAUR_X: 80;
35
+ readonly OBSTACLE_WIDTH: 20;
36
+ readonly OBSTACLE_HEIGHT: 40;
37
+ readonly OBSTACLE_SPAWN_DISTANCE: 600;
38
+ readonly GAME_DURATION: 120;
39
+ readonly PHYSICS_FRAME_RATE: 60;
40
+ readonly OBSTACLE_SPAWN_INTERVAL: 2000;
41
+ readonly JUMP_DURATION: 600;
42
+ readonly GROUND_SCROLL_SPEED: 4;
43
+ };
44
+ export declare const DINO_JUMP_ANIMATION_CONFIG: {
45
+ readonly DINO_JUMP: {
46
+ readonly damping: 15;
47
+ readonly stiffness: 300;
48
+ readonly mass: 1;
49
+ };
50
+ readonly OBSTACLE_MOVE: {
51
+ readonly duration: 3000;
52
+ };
53
+ readonly COLLISION_FEEDBACK: {
54
+ readonly duration: 200;
55
+ readonly intensity: 0.1;
56
+ };
57
+ };
58
+ export declare const DINO_JUMP_COLORS: {
59
+ readonly SKY_TOP: "#FF9A9E";
60
+ readonly SKY_BOTTOM: "#FECFEF";
61
+ readonly GROUND: "#FFD93D";
62
+ readonly GROUND_LINE: "#FF6B6B";
63
+ readonly DINOSAUR_PRIMARY: "#4ECDC4";
64
+ readonly DINOSAUR_SECONDARY: "#45B7D1";
65
+ readonly DINOSAUR_OUTLINE: "#2C3E50";
66
+ readonly OBSTACLE_PRIMARY: "#2ECC71";
67
+ readonly OBSTACLE_SECONDARY: "#27AE60";
68
+ readonly OBSTACLE_OUTLINE: "#1E8449";
69
+ readonly SCORE_TEXT: "#2C3E50";
70
+ readonly GAME_OVER_OVERLAY: "rgba(231, 76, 60, 0.8)";
71
+ readonly BUTTON_PRIMARY: "#E74C3C";
72
+ readonly BUTTON_SECONDARY: "#C0392B";
73
+ readonly TEXT_PRIMARY: "#FFFFFF";
74
+ readonly TEXT_SECONDARY: "#ECF0F1";
75
+ readonly CLOUD_COLOR: "#FFFFFF";
76
+ readonly CLOUD_SHADOW: "rgba(52, 152, 219, 0.2)";
77
+ };
78
+ export declare const DINOSAUR_STATES: {
79
+ readonly RUNNING: "running";
80
+ readonly JUMPING: "jumping";
81
+ readonly DUCKING: "ducking";
82
+ readonly DEAD: "dead";
83
+ };
84
+ export declare const OBSTACLE_TYPES: {
85
+ readonly CACTUS_SMALL: "cactus_small";
86
+ readonly CACTUS_LARGE: "cactus_large";
87
+ readonly BIRD: "bird";
88
+ };
89
+ export declare const DINO_JUMP_THEME: GameSettingsTheme;
90
+ export declare const DINO_JUMP_DIFFICULTY_DESCRIPTIONS: {
91
+ readonly easy: "Slow speed, easy obstacles, perfect for beginners";
92
+ readonly medium: "Medium speed, moderate challenge with mixed obstacles";
93
+ readonly hard: "Fast speed, frequent obstacles, expert level challenge";
94
+ };
95
+ //# sourceMappingURL=DinoJumpConstants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DinoJumpConstants.d.ts","sourceRoot":"","sources":["../../../../../src/games/dino-jump/DinoJumpConstants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAMvE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;CA6BtB,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;CAwBxB,CAAC;AAEX,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;CAa7B,CAAC;AAEX,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;CA4BnB,CAAC;AAGX,eAAO,MAAM,eAAe;;;;;CAKlB,CAAC;AAGX,eAAO,MAAM,cAAc;;;;CAIjB,CAAC;AAGX,eAAO,MAAM,eAAe,EAAE,iBAc7B,CAAC;AAGF,eAAO,MAAM,iCAAiC;;;;CAIpC,CAAC"}