react-native-games 0.8.0 → 1.0.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 (334) hide show
  1. package/README.md +474 -176
  2. package/lib/module/games/balloon-blaster/BalloonBlaster.js +9 -14
  3. package/lib/module/games/balloon-blaster/BalloonBlaster.js.map +1 -1
  4. package/lib/module/games/balloon-blaster/BalloonBlasterStore.js +1 -1
  5. package/lib/module/games/balloon-blaster/components/GameArea.js +1 -1
  6. package/lib/module/games/balloon-blaster/components/GameArea.js.map +1 -1
  7. package/lib/module/games/balloon-blaster/components/GameBackground.js +24 -17
  8. package/lib/module/games/balloon-blaster/components/GameBackground.js.map +1 -1
  9. package/lib/module/games/balloon-blaster/components/ScoreBoard.js +47 -47
  10. package/lib/module/games/balloon-blaster/components/ScoreBoard.js.map +1 -1
  11. package/lib/module/games/candy-crush/CandyCrush.js +16 -6
  12. package/lib/module/games/candy-crush/CandyCrush.js.map +1 -1
  13. package/lib/module/games/candy-crush/CandyCrushStore.js +4 -6
  14. package/lib/module/games/candy-crush/CandyCrushStore.js.map +1 -1
  15. package/lib/module/games/candy-crush/components/ScoreBoard.js +32 -65
  16. package/lib/module/games/candy-crush/components/ScoreBoard.js.map +1 -1
  17. package/lib/module/games/{color-sort/ColorSort.js → colors-sort/ColorsSort.js} +37 -24
  18. package/lib/module/games/colors-sort/ColorsSort.js.map +1 -0
  19. package/lib/module/games/{color-sort/ColorSortConstants.js → colors-sort/ColorsSortConstants.js} +11 -7
  20. package/lib/module/games/colors-sort/ColorsSortConstants.js.map +1 -0
  21. package/lib/module/games/{color-sort/ColorSortService.js → colors-sort/ColorsSortService.js} +1 -1
  22. package/lib/module/games/colors-sort/ColorsSortService.js.map +1 -0
  23. package/lib/module/games/{color-sort/ColorSortStore.js → colors-sort/ColorsSortStore.js} +20 -21
  24. package/lib/module/games/colors-sort/ColorsSortStore.js.map +1 -0
  25. package/lib/module/games/{color-sort → colors-sort}/components/ColorContainer.js +4 -4
  26. package/lib/module/games/colors-sort/components/ColorContainer.js.map +1 -0
  27. package/lib/module/games/{color-sort → colors-sort}/components/GameBackground.js +1 -1
  28. package/lib/module/games/colors-sort/components/GameBackground.js.map +1 -0
  29. package/lib/module/games/{color-sort → colors-sort}/components/ScoreBoard.js +14 -22
  30. package/lib/module/games/colors-sort/components/ScoreBoard.js.map +1 -0
  31. package/lib/module/games/colors-sort/components/index.js.map +1 -0
  32. package/lib/module/games/dino-jump/DinoJump.js +23 -23
  33. package/lib/module/games/dino-jump/DinoJump.js.map +1 -1
  34. package/lib/module/games/dino-jump/DinoJumpConstants.js +16 -6
  35. package/lib/module/games/dino-jump/DinoJumpConstants.js.map +1 -1
  36. package/lib/module/games/dino-jump/DinoJumpService.js +14 -12
  37. package/lib/module/games/dino-jump/DinoJumpService.js.map +1 -1
  38. package/lib/module/games/dino-jump/DinoJumpStore.js +14 -20
  39. package/lib/module/games/dino-jump/DinoJumpStore.js.map +1 -1
  40. package/lib/module/games/dino-jump/components/DinoSprite.js +15 -6
  41. package/lib/module/games/dino-jump/components/DinoSprite.js.map +1 -1
  42. package/lib/module/games/dino-jump/components/GameBackground.js +65 -42
  43. package/lib/module/games/dino-jump/components/GameBackground.js.map +1 -1
  44. package/lib/module/games/dino-jump/components/ScoreBoard.js +48 -50
  45. package/lib/module/games/dino-jump/components/ScoreBoard.js.map +1 -1
  46. package/lib/module/games/flappy-bird/FlappyBird.js +9 -14
  47. package/lib/module/games/flappy-bird/FlappyBird.js.map +1 -1
  48. package/lib/module/games/flappy-bird/FlappyBirdConstants.js +1 -1
  49. package/lib/module/games/flappy-bird/FlappyBirdStore.js +53 -29
  50. package/lib/module/games/flappy-bird/FlappyBirdStore.js.map +1 -1
  51. package/lib/module/games/flappy-bird/components/GameArea.js +3 -2
  52. package/lib/module/games/flappy-bird/components/GameArea.js.map +1 -1
  53. package/lib/module/games/flappy-bird/components/GameBackground.js +10 -43
  54. package/lib/module/games/flappy-bird/components/GameBackground.js.map +1 -1
  55. package/lib/module/games/flappy-bird/components/Pipes.js +65 -68
  56. package/lib/module/games/flappy-bird/components/Pipes.js.map +1 -1
  57. package/lib/module/games/flappy-bird/components/ScoreBoard.js +23 -22
  58. package/lib/module/games/flappy-bird/components/ScoreBoard.js.map +1 -1
  59. package/lib/module/games/fruit-merger/FruitMerger.js +13 -5
  60. package/lib/module/games/fruit-merger/FruitMerger.js.map +1 -1
  61. package/lib/module/games/fruit-merger/FruitMergerConstants.js +4 -4
  62. package/lib/module/games/fruit-merger/FruitMergerStore.js +5 -8
  63. package/lib/module/games/fruit-merger/FruitMergerStore.js.map +1 -1
  64. package/lib/module/games/fruit-merger/components/GameArea.js +5 -25
  65. package/lib/module/games/fruit-merger/components/GameArea.js.map +1 -1
  66. package/lib/module/games/fruit-merger/components/GameBackground.js +40 -19
  67. package/lib/module/games/fruit-merger/components/GameBackground.js.map +1 -1
  68. package/lib/module/games/fruit-merger/components/ScoreBoard.js +9 -17
  69. package/lib/module/games/fruit-merger/components/ScoreBoard.js.map +1 -1
  70. package/lib/module/games/fruit-ninja/FruitNinja.js +9 -14
  71. package/lib/module/games/fruit-ninja/FruitNinja.js.map +1 -1
  72. package/lib/module/games/fruit-ninja/FruitNinjaStore.js +1 -1
  73. package/lib/module/games/fruit-ninja/components/GameArea.js +1 -1
  74. package/lib/module/games/fruit-ninja/components/GameArea.js.map +1 -1
  75. package/lib/module/games/fruit-ninja/components/GameBackground.js +70 -45
  76. package/lib/module/games/fruit-ninja/components/GameBackground.js.map +1 -1
  77. package/lib/module/games/fruit-ninja/components/ScoreBoard.js +47 -46
  78. package/lib/module/games/fruit-ninja/components/ScoreBoard.js.map +1 -1
  79. package/lib/module/games/game-2048/Game2048.js +81 -52
  80. package/lib/module/games/game-2048/Game2048.js.map +1 -1
  81. package/lib/module/games/game-2048/Game2048Constants.js +18 -18
  82. package/lib/module/games/game-2048/Game2048Constants.js.map +1 -1
  83. package/lib/module/games/game-2048/Game2048Store.js +10 -12
  84. package/lib/module/games/game-2048/Game2048Store.js.map +1 -1
  85. package/lib/module/games/game-2048/components/ScoreBoard.js +25 -43
  86. package/lib/module/games/game-2048/components/ScoreBoard.js.map +1 -1
  87. package/lib/module/games/maze-runner/MazeRunner.js +22 -14
  88. package/lib/module/games/maze-runner/MazeRunner.js.map +1 -1
  89. package/lib/module/games/maze-runner/MazeRunnerService.js +19 -17
  90. package/lib/module/games/maze-runner/MazeRunnerService.js.map +1 -1
  91. package/lib/module/games/maze-runner/components/ScoreBoard.js +32 -42
  92. package/lib/module/games/maze-runner/components/ScoreBoard.js.map +1 -1
  93. package/lib/module/games/popit-fidget/PopitFidget.js +27 -38
  94. package/lib/module/games/popit-fidget/PopitFidget.js.map +1 -1
  95. package/lib/module/games/popit-fidget/PopitFidgetStore.js +6 -44
  96. package/lib/module/games/popit-fidget/PopitFidgetStore.js.map +1 -1
  97. package/lib/module/games/popit-fidget/components/ScoreBoard.js +31 -45
  98. package/lib/module/games/popit-fidget/components/ScoreBoard.js.map +1 -1
  99. package/lib/module/games/sliding-numbers/SlidingNumbers.js +18 -20
  100. package/lib/module/games/sliding-numbers/SlidingNumbers.js.map +1 -1
  101. package/lib/module/games/sliding-numbers/SlidingNumbersStore.js +4 -5
  102. package/lib/module/games/sliding-numbers/SlidingNumbersStore.js.map +1 -1
  103. package/lib/module/games/sliding-numbers/components/ScoreBoard.js +26 -28
  104. package/lib/module/games/sliding-numbers/components/ScoreBoard.js.map +1 -1
  105. package/lib/module/games/snake/Snake.js +23 -26
  106. package/lib/module/games/snake/Snake.js.map +1 -1
  107. package/lib/module/games/snake/SnakeConstants.js +2 -2
  108. package/lib/module/games/snake/SnakeStore.js +4 -6
  109. package/lib/module/games/snake/SnakeStore.js.map +1 -1
  110. package/lib/module/games/snake/components/ScoreBoard.js +10 -16
  111. package/lib/module/games/snake/components/ScoreBoard.js.map +1 -1
  112. package/lib/module/games/space-fighter/SpaceFighter.js +16 -17
  113. package/lib/module/games/space-fighter/SpaceFighter.js.map +1 -1
  114. package/lib/module/games/space-fighter/SpaceFighterService.js +7 -6
  115. package/lib/module/games/space-fighter/SpaceFighterService.js.map +1 -1
  116. package/lib/module/games/space-fighter/SpaceFighterStore.js +25 -11
  117. package/lib/module/games/space-fighter/SpaceFighterStore.js.map +1 -1
  118. package/lib/module/games/space-fighter/components/GameArea.js +1 -7
  119. package/lib/module/games/space-fighter/components/GameArea.js.map +1 -1
  120. package/lib/module/games/space-fighter/components/ScoreBoard.js +47 -48
  121. package/lib/module/games/space-fighter/components/ScoreBoard.js.map +1 -1
  122. package/lib/module/games/whack-a-mole/WhackAMole.js +12 -5
  123. package/lib/module/games/whack-a-mole/WhackAMole.js.map +1 -1
  124. package/lib/module/games/whack-a-mole/WhackAMoleStore.js +1 -1
  125. package/lib/module/games/whack-a-mole/components/GameBackground.js +37 -30
  126. package/lib/module/games/whack-a-mole/components/GameBackground.js.map +1 -1
  127. package/lib/module/games/whack-a-mole/components/ScoreBoard.js +32 -38
  128. package/lib/module/games/whack-a-mole/components/ScoreBoard.js.map +1 -1
  129. package/lib/module/helpers/AnimationFrame.js.map +1 -0
  130. package/lib/module/helpers/AnimationTracker.js.map +1 -0
  131. package/lib/module/helpers/ErrorHandler.js.map +1 -0
  132. package/lib/module/helpers/GameControlButton.js.map +1 -0
  133. package/lib/module/helpers/GameOverModal.js.map +1 -0
  134. package/lib/module/{shared/helpers → helpers}/GameSettingsModal.js +2 -2
  135. package/lib/module/helpers/GameSettingsModal.js.map +1 -0
  136. package/lib/module/helpers/ParticleBlast.js.map +1 -0
  137. package/lib/module/helpers/ScoreBoardContainer.js +34 -0
  138. package/lib/module/helpers/ScoreBoardContainer.js.map +1 -0
  139. package/lib/module/{shared/helpers → helpers}/index.js +1 -1
  140. package/lib/module/helpers/index.js.map +1 -0
  141. package/lib/module/index.js +2 -1
  142. package/lib/module/index.js.map +1 -1
  143. package/lib/module/services/GamesConstants.js +49 -10
  144. package/lib/module/services/GamesConstants.js.map +1 -1
  145. package/lib/module/services/GamesService.js +108 -82
  146. package/lib/module/services/GamesService.js.map +1 -1
  147. package/lib/module/services/SoundsService.js +1 -1
  148. package/lib/module/services/SoundsService.js.map +1 -1
  149. package/lib/module/services/UtilsService.js +32 -0
  150. package/lib/module/services/UtilsService.js.map +1 -0
  151. package/lib/typescript/src/games/balloon-blaster/BalloonBlaster.d.ts +1 -1
  152. package/lib/typescript/src/games/balloon-blaster/BalloonBlaster.d.ts.map +1 -1
  153. package/lib/typescript/src/games/balloon-blaster/components/GameBackground.d.ts +1 -0
  154. package/lib/typescript/src/games/balloon-blaster/components/GameBackground.d.ts.map +1 -1
  155. package/lib/typescript/src/games/balloon-blaster/components/ScoreBoard.d.ts +5 -1
  156. package/lib/typescript/src/games/balloon-blaster/components/ScoreBoard.d.ts.map +1 -1
  157. package/lib/typescript/src/games/candy-crush/CandyCrush.d.ts +1 -1
  158. package/lib/typescript/src/games/candy-crush/CandyCrush.d.ts.map +1 -1
  159. package/lib/typescript/src/games/candy-crush/CandyCrushStore.d.ts.map +1 -1
  160. package/lib/typescript/src/games/candy-crush/components/ScoreBoard.d.ts +4 -1
  161. package/lib/typescript/src/games/candy-crush/components/ScoreBoard.d.ts.map +1 -1
  162. package/lib/typescript/src/games/colors-sort/ColorsSort.d.ts +4 -0
  163. package/lib/typescript/src/games/colors-sort/ColorsSort.d.ts.map +1 -0
  164. package/lib/typescript/src/games/{color-sort/ColorSortConstants.d.ts → colors-sort/ColorsSortConstants.d.ts} +8 -6
  165. package/lib/typescript/src/games/colors-sort/ColorsSortConstants.d.ts.map +1 -0
  166. package/lib/typescript/src/games/{color-sort/ColorSortService.d.ts → colors-sort/ColorsSortService.d.ts} +1 -1
  167. package/lib/typescript/src/games/colors-sort/ColorsSortService.d.ts.map +1 -0
  168. package/lib/typescript/src/games/{color-sort/ColorSortStore.d.ts → colors-sort/ColorsSortStore.d.ts} +6 -6
  169. package/lib/typescript/src/games/colors-sort/ColorsSortStore.d.ts.map +1 -0
  170. package/lib/typescript/src/games/{color-sort → colors-sort}/components/ColorContainer.d.ts +1 -1
  171. package/lib/typescript/src/games/colors-sort/components/ColorContainer.d.ts.map +1 -0
  172. package/lib/typescript/src/games/colors-sort/components/GameBackground.d.ts.map +1 -0
  173. package/lib/typescript/src/games/colors-sort/components/ScoreBoard.d.ts +7 -0
  174. package/lib/typescript/src/games/colors-sort/components/ScoreBoard.d.ts.map +1 -0
  175. package/lib/typescript/src/games/colors-sort/components/index.d.ts.map +1 -0
  176. package/lib/typescript/src/games/dino-jump/DinoJump.d.ts +1 -1
  177. package/lib/typescript/src/games/dino-jump/DinoJump.d.ts.map +1 -1
  178. package/lib/typescript/src/games/dino-jump/DinoJumpConstants.d.ts +6 -4
  179. package/lib/typescript/src/games/dino-jump/DinoJumpConstants.d.ts.map +1 -1
  180. package/lib/typescript/src/games/dino-jump/DinoJumpService.d.ts +4 -4
  181. package/lib/typescript/src/games/dino-jump/DinoJumpService.d.ts.map +1 -1
  182. package/lib/typescript/src/games/dino-jump/DinoJumpStore.d.ts +3 -3
  183. package/lib/typescript/src/games/dino-jump/DinoJumpStore.d.ts.map +1 -1
  184. package/lib/typescript/src/games/dino-jump/components/DinoSprite.d.ts.map +1 -1
  185. package/lib/typescript/src/games/dino-jump/components/GameArea.d.ts +1 -1
  186. package/lib/typescript/src/games/dino-jump/components/GameBackground.d.ts +1 -0
  187. package/lib/typescript/src/games/dino-jump/components/GameBackground.d.ts.map +1 -1
  188. package/lib/typescript/src/games/dino-jump/components/ScoreBoard.d.ts +5 -1
  189. package/lib/typescript/src/games/dino-jump/components/ScoreBoard.d.ts.map +1 -1
  190. package/lib/typescript/src/games/flappy-bird/FlappyBird.d.ts +1 -1
  191. package/lib/typescript/src/games/flappy-bird/FlappyBird.d.ts.map +1 -1
  192. package/lib/typescript/src/games/flappy-bird/FlappyBirdStore.d.ts +1 -1
  193. package/lib/typescript/src/games/flappy-bird/FlappyBirdStore.d.ts.map +1 -1
  194. package/lib/typescript/src/games/flappy-bird/components/GameArea.d.ts +1 -1
  195. package/lib/typescript/src/games/flappy-bird/components/GameBackground.d.ts +1 -0
  196. package/lib/typescript/src/games/flappy-bird/components/GameBackground.d.ts.map +1 -1
  197. package/lib/typescript/src/games/flappy-bird/components/Pipes.d.ts +1 -0
  198. package/lib/typescript/src/games/flappy-bird/components/Pipes.d.ts.map +1 -1
  199. package/lib/typescript/src/games/flappy-bird/components/ScoreBoard.d.ts +5 -1
  200. package/lib/typescript/src/games/flappy-bird/components/ScoreBoard.d.ts.map +1 -1
  201. package/lib/typescript/src/games/fruit-merger/FruitMerger.d.ts +1 -1
  202. package/lib/typescript/src/games/fruit-merger/FruitMerger.d.ts.map +1 -1
  203. package/lib/typescript/src/games/fruit-merger/FruitMergerStore.d.ts +1 -1
  204. package/lib/typescript/src/games/fruit-merger/FruitMergerStore.d.ts.map +1 -1
  205. package/lib/typescript/src/games/fruit-merger/components/GameArea.d.ts +1 -1
  206. package/lib/typescript/src/games/fruit-merger/components/GameArea.d.ts.map +1 -1
  207. package/lib/typescript/src/games/fruit-merger/components/GameBackground.d.ts +1 -0
  208. package/lib/typescript/src/games/fruit-merger/components/GameBackground.d.ts.map +1 -1
  209. package/lib/typescript/src/games/fruit-merger/components/ScoreBoard.d.ts +5 -1
  210. package/lib/typescript/src/games/fruit-merger/components/ScoreBoard.d.ts.map +1 -1
  211. package/lib/typescript/src/games/fruit-ninja/FruitNinja.d.ts +1 -1
  212. package/lib/typescript/src/games/fruit-ninja/FruitNinja.d.ts.map +1 -1
  213. package/lib/typescript/src/games/fruit-ninja/components/GameBackground.d.ts +1 -0
  214. package/lib/typescript/src/games/fruit-ninja/components/GameBackground.d.ts.map +1 -1
  215. package/lib/typescript/src/games/fruit-ninja/components/ScoreBoard.d.ts +5 -1
  216. package/lib/typescript/src/games/fruit-ninja/components/ScoreBoard.d.ts.map +1 -1
  217. package/lib/typescript/src/games/game-2048/Game2048.d.ts +1 -1
  218. package/lib/typescript/src/games/game-2048/Game2048.d.ts.map +1 -1
  219. package/lib/typescript/src/games/game-2048/Game2048Store.d.ts +3 -3
  220. package/lib/typescript/src/games/game-2048/Game2048Store.d.ts.map +1 -1
  221. package/lib/typescript/src/games/game-2048/components/ScoreBoard.d.ts +5 -1
  222. package/lib/typescript/src/games/game-2048/components/ScoreBoard.d.ts.map +1 -1
  223. package/lib/typescript/src/games/maze-runner/MazeRunner.d.ts +1 -1
  224. package/lib/typescript/src/games/maze-runner/MazeRunner.d.ts.map +1 -1
  225. package/lib/typescript/src/games/maze-runner/MazeRunnerService.d.ts +1 -0
  226. package/lib/typescript/src/games/maze-runner/MazeRunnerService.d.ts.map +1 -1
  227. package/lib/typescript/src/games/maze-runner/components/ScoreBoard.d.ts +1 -0
  228. package/lib/typescript/src/games/maze-runner/components/ScoreBoard.d.ts.map +1 -1
  229. package/lib/typescript/src/games/popit-fidget/PopitFidget.d.ts +1 -1
  230. package/lib/typescript/src/games/popit-fidget/PopitFidget.d.ts.map +1 -1
  231. package/lib/typescript/src/games/popit-fidget/PopitFidgetStore.d.ts +2 -5
  232. package/lib/typescript/src/games/popit-fidget/PopitFidgetStore.d.ts.map +1 -1
  233. package/lib/typescript/src/games/popit-fidget/components/ScoreBoard.d.ts +2 -2
  234. package/lib/typescript/src/games/popit-fidget/components/ScoreBoard.d.ts.map +1 -1
  235. package/lib/typescript/src/games/sliding-numbers/SlidingNumbers.d.ts +1 -1
  236. package/lib/typescript/src/games/sliding-numbers/SlidingNumbers.d.ts.map +1 -1
  237. package/lib/typescript/src/games/sliding-numbers/SlidingNumbersStore.d.ts.map +1 -1
  238. package/lib/typescript/src/games/sliding-numbers/components/ScoreBoard.d.ts +5 -1
  239. package/lib/typescript/src/games/sliding-numbers/components/ScoreBoard.d.ts.map +1 -1
  240. package/lib/typescript/src/games/snake/Snake.d.ts +1 -1
  241. package/lib/typescript/src/games/snake/Snake.d.ts.map +1 -1
  242. package/lib/typescript/src/games/snake/SnakeConstants.d.ts +2 -2
  243. package/lib/typescript/src/games/snake/SnakeStore.d.ts.map +1 -1
  244. package/lib/typescript/src/games/snake/components/ScoreBoard.d.ts +5 -1
  245. package/lib/typescript/src/games/snake/components/ScoreBoard.d.ts.map +1 -1
  246. package/lib/typescript/src/games/space-fighter/SpaceFighter.d.ts +1 -1
  247. package/lib/typescript/src/games/space-fighter/SpaceFighter.d.ts.map +1 -1
  248. package/lib/typescript/src/games/space-fighter/SpaceFighterService.d.ts.map +1 -1
  249. package/lib/typescript/src/games/space-fighter/SpaceFighterStore.d.ts +2 -0
  250. package/lib/typescript/src/games/space-fighter/SpaceFighterStore.d.ts.map +1 -1
  251. package/lib/typescript/src/games/space-fighter/components/GameArea.d.ts.map +1 -1
  252. package/lib/typescript/src/games/space-fighter/components/ScoreBoard.d.ts +5 -1
  253. package/lib/typescript/src/games/space-fighter/components/ScoreBoard.d.ts.map +1 -1
  254. package/lib/typescript/src/games/whack-a-mole/WhackAMole.d.ts +1 -1
  255. package/lib/typescript/src/games/whack-a-mole/WhackAMole.d.ts.map +1 -1
  256. package/lib/typescript/src/games/whack-a-mole/components/GameBackground.d.ts +1 -0
  257. package/lib/typescript/src/games/whack-a-mole/components/GameBackground.d.ts.map +1 -1
  258. package/lib/typescript/src/games/whack-a-mole/components/ScoreBoard.d.ts +1 -0
  259. package/lib/typescript/src/games/whack-a-mole/components/ScoreBoard.d.ts.map +1 -1
  260. package/lib/typescript/src/helpers/AnimationFrame.d.ts.map +1 -0
  261. package/lib/typescript/src/helpers/AnimationTracker.d.ts.map +1 -0
  262. package/lib/typescript/src/helpers/ErrorHandler.d.ts.map +1 -0
  263. package/lib/typescript/src/helpers/GameControlButton.d.ts.map +1 -0
  264. package/lib/typescript/src/helpers/GameOverModal.d.ts.map +1 -0
  265. package/lib/typescript/src/{shared/helpers → helpers}/GameSettingsModal.d.ts +1 -1
  266. package/lib/typescript/src/helpers/GameSettingsModal.d.ts.map +1 -0
  267. package/lib/typescript/src/helpers/ParticleBlast.d.ts.map +1 -0
  268. package/lib/typescript/src/helpers/ScoreBoardContainer.d.ts +9 -0
  269. package/lib/typescript/src/helpers/ScoreBoardContainer.d.ts.map +1 -0
  270. package/lib/typescript/src/{shared/helpers → helpers}/index.d.ts +2 -1
  271. package/lib/typescript/src/helpers/index.d.ts.map +1 -0
  272. package/lib/typescript/src/index.d.ts +2 -1
  273. package/lib/typescript/src/index.d.ts.map +1 -1
  274. package/lib/typescript/src/services/GamesConstants.d.ts +8 -2
  275. package/lib/typescript/src/services/GamesConstants.d.ts.map +1 -1
  276. package/lib/typescript/src/services/GamesService.d.ts +3 -33
  277. package/lib/typescript/src/services/GamesService.d.ts.map +1 -1
  278. package/lib/typescript/src/services/SoundsService.d.ts +1 -1
  279. package/lib/typescript/src/services/UtilsService.d.ts +38 -0
  280. package/lib/typescript/src/services/UtilsService.d.ts.map +1 -0
  281. package/package.json +1 -1
  282. package/lib/module/games/color-sort/ColorSort.js.map +0 -1
  283. package/lib/module/games/color-sort/ColorSortConstants.js.map +0 -1
  284. package/lib/module/games/color-sort/ColorSortService.js.map +0 -1
  285. package/lib/module/games/color-sort/ColorSortStore.js.map +0 -1
  286. package/lib/module/games/color-sort/components/ColorContainer.js.map +0 -1
  287. package/lib/module/games/color-sort/components/GameBackground.js.map +0 -1
  288. package/lib/module/games/color-sort/components/ScoreBoard.js.map +0 -1
  289. package/lib/module/games/color-sort/components/index.js.map +0 -1
  290. package/lib/module/shared/helpers/AnimationFrame.js.map +0 -1
  291. package/lib/module/shared/helpers/AnimationTracker.js.map +0 -1
  292. package/lib/module/shared/helpers/ErrorHandler.js.map +0 -1
  293. package/lib/module/shared/helpers/GameControlButton.js.map +0 -1
  294. package/lib/module/shared/helpers/GameOverModal.js.map +0 -1
  295. package/lib/module/shared/helpers/GameSettingsModal.js.map +0 -1
  296. package/lib/module/shared/helpers/ParticleBlast.js.map +0 -1
  297. package/lib/module/shared/helpers/ResponsiveScoreBoard.js +0 -81
  298. package/lib/module/shared/helpers/ResponsiveScoreBoard.js.map +0 -1
  299. package/lib/module/shared/helpers/index.js.map +0 -1
  300. package/lib/typescript/src/games/color-sort/ColorSort.d.ts +0 -4
  301. package/lib/typescript/src/games/color-sort/ColorSort.d.ts.map +0 -1
  302. package/lib/typescript/src/games/color-sort/ColorSortConstants.d.ts.map +0 -1
  303. package/lib/typescript/src/games/color-sort/ColorSortService.d.ts.map +0 -1
  304. package/lib/typescript/src/games/color-sort/ColorSortStore.d.ts.map +0 -1
  305. package/lib/typescript/src/games/color-sort/components/ColorContainer.d.ts.map +0 -1
  306. package/lib/typescript/src/games/color-sort/components/GameBackground.d.ts.map +0 -1
  307. package/lib/typescript/src/games/color-sort/components/ScoreBoard.d.ts +0 -3
  308. package/lib/typescript/src/games/color-sort/components/ScoreBoard.d.ts.map +0 -1
  309. package/lib/typescript/src/games/color-sort/components/index.d.ts.map +0 -1
  310. package/lib/typescript/src/shared/helpers/AnimationFrame.d.ts.map +0 -1
  311. package/lib/typescript/src/shared/helpers/AnimationTracker.d.ts.map +0 -1
  312. package/lib/typescript/src/shared/helpers/ErrorHandler.d.ts.map +0 -1
  313. package/lib/typescript/src/shared/helpers/GameControlButton.d.ts.map +0 -1
  314. package/lib/typescript/src/shared/helpers/GameOverModal.d.ts.map +0 -1
  315. package/lib/typescript/src/shared/helpers/GameSettingsModal.d.ts.map +0 -1
  316. package/lib/typescript/src/shared/helpers/ParticleBlast.d.ts.map +0 -1
  317. package/lib/typescript/src/shared/helpers/ResponsiveScoreBoard.d.ts +0 -42
  318. package/lib/typescript/src/shared/helpers/ResponsiveScoreBoard.d.ts.map +0 -1
  319. package/lib/typescript/src/shared/helpers/index.d.ts.map +0 -1
  320. /package/lib/module/games/{color-sort → colors-sort}/components/index.js +0 -0
  321. /package/lib/module/{shared/helpers → helpers}/AnimationFrame.js +0 -0
  322. /package/lib/module/{shared/helpers → helpers}/AnimationTracker.js +0 -0
  323. /package/lib/module/{shared/helpers → helpers}/ErrorHandler.js +0 -0
  324. /package/lib/module/{shared/helpers → helpers}/GameControlButton.js +0 -0
  325. /package/lib/module/{shared/helpers → helpers}/GameOverModal.js +0 -0
  326. /package/lib/module/{shared/helpers → helpers}/ParticleBlast.js +0 -0
  327. /package/lib/typescript/src/games/{color-sort → colors-sort}/components/GameBackground.d.ts +0 -0
  328. /package/lib/typescript/src/games/{color-sort → colors-sort}/components/index.d.ts +0 -0
  329. /package/lib/typescript/src/{shared/helpers → helpers}/AnimationFrame.d.ts +0 -0
  330. /package/lib/typescript/src/{shared/helpers → helpers}/AnimationTracker.d.ts +0 -0
  331. /package/lib/typescript/src/{shared/helpers → helpers}/ErrorHandler.d.ts +0 -0
  332. /package/lib/typescript/src/{shared/helpers → helpers}/GameControlButton.d.ts +0 -0
  333. /package/lib/typescript/src/{shared/helpers → helpers}/GameOverModal.d.ts +0 -0
  334. /package/lib/typescript/src/{shared/helpers → helpers}/ParticleBlast.d.ts +0 -0
@@ -1 +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"}
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,CA0GzC,CAAC"}
@@ -1 +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,qBA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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;;;;;;;;EA+S9B,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"}
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
- export declare const ScoreBoard: React.FC;
2
+ export interface ScoreBoardProps {
3
+ offset?: number;
4
+ }
5
+ export declare const ScoreBoard: React.FC<ScoreBoardProps>;
3
6
  //# sourceMappingURL=ScoreBoard.d.ts.map
@@ -1 +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"}
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,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAqC/C,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type GameProps } from '../../services/UtilsService';
3
+ export declare const ColorsSort: React.FC<GameProps>;
4
+ //# sourceMappingURL=ColorsSort.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorsSort.d.ts","sourceRoot":"","sources":["../../../../../src/games/colors-sort/ColorsSort.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAO/D,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAK9F,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAoHzC,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare const COLOR_SORT_COLORS: {
1
+ export declare const COLORS_SORT_COLORS: {
2
2
  BACKGROUND: string;
3
3
  PIECE_ORANGE: string;
4
4
  PIECE_PINK: string;
@@ -13,9 +13,11 @@ export declare const COLOR_SORT_COLORS: {
13
13
  BUTTON_PRIMARY: string;
14
14
  BUTTON_SECONDARY: string;
15
15
  SCORE_TEXT: string;
16
+ SCORE_BACKGROUND: string;
17
+ SCORE_BORDER: string;
16
18
  SELECTED_GLOW: string;
17
19
  };
18
- export declare const COLOR_SORT_GAME_CONFIG: {
20
+ export declare const COLORS_SORT_GAME_CONFIG: {
19
21
  SCREEN_WIDTH: number;
20
22
  SCREEN_HEIGHT: number;
21
23
  PIECE_SIZE: number;
@@ -23,13 +25,13 @@ export declare const COLOR_SORT_GAME_CONFIG: {
23
25
  CONTAINER_SPACING: number;
24
26
  PIECE_SPACING: number;
25
27
  };
26
- export declare const COLOR_SORT_CONSTANTS: {
28
+ export declare const COLORS_SORT_CONSTANTS: {
27
29
  baseScore: number;
28
30
  moveScore: number;
29
31
  perfectBonus: number;
30
32
  };
31
33
  export declare const PIECE_COLORS: string[];
32
- export declare const COLOR_SORT_THEME: {
34
+ export declare const COLORS_SORT_THEME: {
33
35
  backgroundColor: string;
34
36
  headerBackgroundColor: string;
35
37
  headerTextColor: string;
@@ -44,9 +46,9 @@ export declare const COLOR_SORT_THEME: {
44
46
  switchThumbColor: string;
45
47
  infoTextColor: string;
46
48
  };
47
- export declare const COLOR_SORT_DIFFICULTY_DESCRIPTIONS: {
49
+ export declare const COLORS_SORT_DIFFICULTY_DESCRIPTIONS: {
48
50
  easy: string;
49
51
  medium: string;
50
52
  hard: string;
51
53
  };
52
- //# sourceMappingURL=ColorSortConstants.d.ts.map
54
+ //# sourceMappingURL=ColorsSortConstants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorsSortConstants.d.ts","sourceRoot":"","sources":["../../../../../src/games/colors-sort/ColorsSortConstants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;CAkB9B,CAAC;AAGF,eAAO,MAAM,uBAAuB;;;;;;;CAOnC,CAAC;AAGF,eAAO,MAAM,qBAAqB;;;;CAIjC,CAAC;AAEF,eAAO,MAAM,YAAY,UAQxB,CAAC;AAGF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;CAc7B,CAAC;AAGF,eAAO,MAAM,mCAAmC;;;;CAI/C,CAAC"}
@@ -63,4 +63,4 @@ export declare const getGradientColors: () => {
63
63
  export declare class ColorSortService {
64
64
  cleanup(): void;
65
65
  }
66
- //# sourceMappingURL=ColorSortService.d.ts.map
66
+ //# sourceMappingURL=ColorsSortService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorsSortService.d.ts","sourceRoot":"","sources":["../../../../../src/games/colors-sort/ColorsSortService.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAQH,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,QAAQ,GAAG,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Service';
2
2
  export interface Piece {
3
3
  id: string;
4
4
  color: string;
@@ -10,7 +10,7 @@ export interface Container {
10
10
  x: number;
11
11
  y: number;
12
12
  }
13
- export interface ColorSortState {
13
+ export interface ColorsSortState {
14
14
  isPlaying: boolean;
15
15
  isGameOver: boolean;
16
16
  isPaused: boolean;
@@ -30,10 +30,10 @@ export interface ColorSortState {
30
30
  checkWinCondition: () => boolean;
31
31
  incrementTime: () => void;
32
32
  }
33
- export declare const useColorSortStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<ColorSortState>, "subscribe"> & {
33
+ export declare const useColorsSortStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<ColorsSortState>, "subscribe"> & {
34
34
  subscribe: {
35
- (listener: (selectedState: ColorSortState, previousSelectedState: ColorSortState) => void): () => void;
36
- <U>(selector: (state: ColorSortState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
35
+ (listener: (selectedState: ColorsSortState, previousSelectedState: ColorsSortState) => void): () => void;
36
+ <U>(selector: (state: ColorsSortState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
37
37
  equalityFn?: ((a: U, b: U) => boolean) | undefined;
38
38
  fireImmediately?: boolean;
39
39
  } | undefined): () => void;
@@ -45,4 +45,4 @@ export declare const useIsPaused: () => boolean;
45
45
  export declare const useTime: () => number;
46
46
  export declare const useContainers: () => Container[];
47
47
  export declare const useSelectedContainerId: () => string | null;
48
- //# sourceMappingURL=ColorSortStore.d.ts.map
48
+ //# sourceMappingURL=ColorsSortStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorsSortStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/colors-sort/ColorsSortStore.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAKhE,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,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AAC;AAC/E,eAAO,MAAM,OAAO,cAAkD,CAAC;AACvE,eAAO,MAAM,aAAa,mBAAwD,CAAC;AACnF,eAAO,MAAM,sBAAsB,qBAAiE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { Container } from '../ColorSortStore';
2
+ import type { Container } from '../ColorsSortStore';
3
3
  interface ColorContainerProps {
4
4
  container: Container;
5
5
  isSelected: boolean;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorContainer.d.ts","sourceRoot":"","sources":["../../../../../../src/games/colors-sort/components/ColorContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAIpD,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 @@
1
+ {"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/colors-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,7 @@
1
+ import React from 'react';
2
+ interface ScoreBoardProps {
3
+ offset?: number;
4
+ }
5
+ export declare const ScoreBoard: React.FC<ScoreBoardProps>;
6
+ export {};
7
+ //# sourceMappingURL=ScoreBoard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/colors-sort/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,UAAU,eAAe;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAkB/C,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/games/colors-sort/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { type GameProps } from '../../services/GamesService';
2
+ import { type GameProps } from '../../services/UtilsService';
3
3
  export declare const DinoJump: React.FC<GameProps>;
4
4
  //# sourceMappingURL=DinoJump.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"DinoJump.d.ts","sourceRoot":"","sources":["../../../../../src/games/dino-jump/DinoJump.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAQvE,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAI9F,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAqOvC,CAAC"}
@@ -20,15 +20,15 @@ export declare const DINO_JUMP_CONSTANTS: {
20
20
  readonly speedIncreaseRate: 0.001;
21
21
  readonly maxSpeed: 12;
22
22
  readonly timeLimit: {
23
- readonly easy: 60;
24
- readonly medium: 120;
25
- readonly hard: 180;
23
+ readonly easy: 120;
24
+ readonly medium: 180;
25
+ readonly hard: 300;
26
26
  };
27
27
  };
28
28
  export declare const DINO_JUMP_GAME_CONFIG: {
29
29
  readonly SCREEN_WIDTH: number;
30
30
  readonly SCREEN_HEIGHT: number;
31
- readonly GROUND_HEIGHT: 250;
31
+ readonly GROUND_HEIGHT: 150;
32
32
  readonly DINOSAUR_WIDTH: 55;
33
33
  readonly DINOSAUR_HEIGHT: 58;
34
34
  readonly DINOSAUR_X: 80;
@@ -41,6 +41,8 @@ export declare const DINO_JUMP_GAME_CONFIG: {
41
41
  readonly JUMP_DURATION: 600;
42
42
  readonly GROUND_SCROLL_SPEED: 4;
43
43
  };
44
+ export declare const getGroundHeight: (offset?: number) => number;
45
+ export declare const getGroundY: (offset?: number) => number;
44
46
  export declare const DINO_JUMP_ANIMATION_CONFIG: {
45
47
  readonly DINO_JUMP: {
46
48
  readonly damping: 15;
@@ -1 +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"}
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;AAGX,eAAO,MAAM,eAAe,GAAI,SAAQ,MAAU,KAAG,MAEpD,CAAC;AAGF,eAAO,MAAM,UAAU,GAAI,SAAQ,MAAU,KAAG,MAE/C,CAAC;AAEF,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"}
@@ -21,15 +21,15 @@ export declare class DinoJumpService {
21
21
  stopTimer(): void;
22
22
  startPhysicsLoop(updateDinosaur: (deltaTime: number) => void, updateObstacles: (deltaTime: number) => void, updateClouds: (deltaTime: number) => void, updateStars: (deltaTime: number) => void, updateGround: (deltaTime: number) => void, updateScore: (points: number) => void, updateSpeed: () => void, checkCollisions: () => boolean, stopGame: () => void): void;
23
23
  stopPhysicsLoop(): void;
24
- startObstacleSpawning(addObstacle: (obstacle: Obstacle) => void, difficulty: 'easy' | 'medium' | 'hard'): void;
24
+ startObstacleSpawning(addObstacle: (obstacle: Obstacle) => void, difficulty: 'easy' | 'medium' | 'hard', getOffset: () => number): void;
25
25
  stopObstacleSpawning(): void;
26
26
  startCloudSpawning(addCloud: (cloud: Cloud) => void): void;
27
27
  stopCloudSpawning(): void;
28
- startStarSpawning(addStar: (star: Star) => void): void;
28
+ startStarSpawning(addStar: (star: Star) => void, getOffset: () => number): void;
29
29
  stopStarSpawning(): void;
30
- private createRandomObstacle;
30
+ createRandomObstacle(offset?: number): Obstacle;
31
31
  private createRandomCloud;
32
- private createRandomStar;
32
+ createRandomStar(offset?: number): Star;
33
33
  formatTime(timeInSeconds: number): string;
34
34
  calculateFinalScore(score: number, timeElapsed: number, difficulty: 'easy' | 'medium' | 'hard'): number;
35
35
  isNewHighScore(currentScore: number, previousHighScore: number): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"DinoJumpService.d.ts","sourceRoot":"","sources":["../../../../../src/games/dino-jump/DinoJumpService.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAE7D,qBAAa,eAAe;IAC1B,OAAO,CAAC,SAAS,CAA+B;IAChD,OAAO,CAAC,kBAAkB,CAAuB;IACjD,OAAO,CAAC,aAAa,CAA+B;IACpD,OAAO,CAAC,UAAU,CAA+B;IACjD,OAAO,CAAC,SAAS,CAA+B;IAChD,OAAO,CAAC,aAAa,CAAa;IAClC,OAAO,CAAC,UAAU,CAAa;IAC/B,OAAO,CAAC,OAAO,CAAa;IAC5B,OAAO,CAAC,MAAM,CAAa;IAC3B,OAAO,CAAC,gBAAgB,CAAkB;;IAO1C,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM;;;;;;IAU5D,UAAU,CAAC,qBAAqB,EAAE,MAAM,IAAI;IAQ5C,SAAS;IAQT,gBAAgB,CACd,cAAc,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,EAC3C,eAAe,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,EAC5C,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,EACzC,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,EACxC,YAAY,EAAE,CAAC,SAAS,EAAE,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,MAAU,GAAG,IAAI;IAgBjD,UAAU,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM;IAOzC,mBAAmB,CACjB,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GACrC,MAAM;IAOT,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,GAAG,OAAO;IAKxE,qBAAqB,IAAI,MAAM,EAAE;IASjC,OAAO;IASP,KAAK;CAON"}
@@ -1,4 +1,4 @@
1
- import { type GameSettings } from '../../services/GamesService';
1
+ import type { GameSettings } from '../../services/UtilsService';
2
2
  export interface Obstacle {
3
3
  id: string;
4
4
  type: 'cactus_small' | 'cactus_large' | 'bird';
@@ -43,7 +43,6 @@ export interface DinoJumpState {
43
43
  stars: Star[];
44
44
  collisionBlasts: CollisionBlast[];
45
45
  score: number;
46
- highScore: number;
47
46
  distance: number;
48
47
  speed: number;
49
48
  timeLeft: number;
@@ -51,6 +50,8 @@ export interface DinoJumpState {
51
50
  startTime: number | null;
52
51
  lives: number;
53
52
  groundOffset: number;
53
+ offset: number;
54
+ setOffset: (offset: number) => void;
54
55
  startGame: () => void;
55
56
  stopGame: () => void;
56
57
  resetGame: () => void;
@@ -93,7 +94,6 @@ export declare const useDinosaurStateValue: () => "running" | "jumping" | "ducki
93
94
  export declare const useIsJumping: () => boolean;
94
95
  export declare const useIsDucking: () => boolean;
95
96
  export declare const useScore: () => number;
96
- export declare const useHighScore: () => number;
97
97
  export declare const useTimeLeft: () => number;
98
98
  export declare const useLives: () => number;
99
99
  export declare const useObstacles: () => Obstacle[];
@@ -1 +1 @@
1
- {"version":3,"file":"DinoJumpStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/dino-jump/DinoJumpStore.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAKjF,MAAM,WAAW,QAAQ;IACvB,EAAE,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,EAAE,MAAM,IAAI,CAAC;IAE1B,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,KAAK,IAAI,CAAC;CAClE;AAED,eAAO,MAAM,gBAAgB;;;;;;;;EAuY5B,CAAC;AAGF,eAAO,MAAM,YAAY,eAAqD,CAAC;AAC/E,eAAO,MAAM,aAAa,eAAsD,CAAC;AACjF,eAAO,MAAM,WAAW,eAAoD,CAAC;AAE7E,eAAO,MAAM,YAAY,cAAqD,CAAC;AAC/E,eAAO,MAAM,oBAAoB,cAA6D,CAAC;AAC/F,eAAO,MAAM,qBAAqB,kDAAyD,CAAC;AAC5F,eAAO,MAAM,YAAY,eAAqD,CAAC;AAC/E,eAAO,MAAM,YAAY,eAAqD,CAAC;AAE/E,eAAO,MAAM,QAAQ,cAAiD,CAAC;AACvE,eAAO,MAAM,WAAW,cAAoD,CAAC;AAC7E,eAAO,MAAM,QAAQ,cAAiD,CAAC;AAGvE,eAAO,MAAM,YAAY,kBAAqD,CAAC;AAE/E,eAAO,MAAM,SAAS,eAAkD,CAAC;AACzE,eAAO,MAAM,eAAe,cAAwD,CAAC;AACrF,eAAO,MAAM,QAAQ,cAAiD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DinoSprite.d.ts","sourceRoot":"","sources":["../../../../../../src/games/dino-jump/components/DinoSprite.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAoB1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EA+R7B,CAAC"}
1
+ {"version":3,"file":"DinoSprite.d.ts","sourceRoot":"","sources":["../../../../../../src/games/dino-jump/components/DinoSprite.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqB1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAqS7B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { GameSettings } from '../../../services/GamesService';
2
+ import type { GameSettings } from '../../../services/UtilsService';
3
3
  interface GameAreaProps {
4
4
  settings: GameSettings;
5
5
  }
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  interface GameBackgroundProps {
3
3
  children?: React.ReactNode;
4
+ offset?: number;
4
5
  }
5
6
  export declare const GameBackground: React.FC<GameBackgroundProps>;
6
7
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/dino-jump/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAiB1B,UAAU,mBAAmB;IAC3B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AA2CD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA8LvD,CAAC"}
1
+ {"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/dino-jump/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B,UAAU,mBAAmB;IAC3B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAsCD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA8NvD,CAAC"}
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
- export declare const ScoreBoard: React.FC;
2
+ interface ScoreBoardProps {
3
+ offset?: number;
4
+ }
5
+ export declare const ScoreBoard: React.FC<ScoreBoardProps>;
6
+ export {};
3
7
  //# sourceMappingURL=ScoreBoard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/dino-jump/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAUvC,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAsC7B,CAAC"}
1
+ {"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/dino-jump/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAUvC,UAAU,eAAe;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA4C/C,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { type GameProps } from '../../services/GamesService';
2
+ import { type GameProps } from '../../services/UtilsService';
3
3
  export declare const FlappyBird: React.FC<GameProps>;
4
4
  //# sourceMappingURL=FlappyBird.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FlappyBird.d.ts","sourceRoot":"","sources":["../../../../../src/games/flappy-bird/FlappyBird.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAQvE,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAU9F,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAqGzC,CAAC"}
1
+ {"version":3,"file":"FlappyBird.d.ts","sourceRoot":"","sources":["../../../../../src/games/flappy-bird/FlappyBird.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAQvE,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAU9F,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAsGzC,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { GameSettings } from '../../services/GamesService';
1
+ import type { GameSettings } from '../../services/UtilsService';
2
2
  export interface Pipe {
3
3
  id: string;
4
4
  x: number;
@@ -1 +1 @@
1
- {"version":3,"file":"FlappyBirdStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/flappy-bird/FlappyBirdStore.ts"],"names":[],"mappings":"AAIA,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AAI,CAAC;IACzC,aAAa,EAAE,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC;IAErC,SAAS,EAAE,CAAC,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAC;IAC5C,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,aAAa,EAAE,CAAC,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAC;IAChD,SAAS,EAAE,CAAC,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAC;IAC5C,cAAc,EAAE,MAAM,OAAO,CAAC;IAC9B,iBAAiB,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD,oBAAoB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AAgBD,eAAO,MAAM,kBAAkB;;;;;;;;EAgS9B,CAAC;AAEF,eAAO,MAAM,YAAY,eAAqD,CAAC;AAC/E,eAAO,MAAM,aAAa,eAAsD,CAAC;AACjF,eAAO,MAAM,QAAQ,cAAiD,CAAC;AACvE,eAAO,MAAM,eAAe,cAAwD,CAAC;AACrF,eAAO,MAAM,QAAQ,cAAiD,CAAC;AACvE,eAAO,MAAM,QAAQ,cAAiD,CAAC;AACvE,eAAO,MAAM,kBAAkB,wBAA2D,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { GameSettings } from '../../../services/GamesService';
2
+ import type { GameSettings } from '../../../services/UtilsService';
3
3
  interface GameAreaProps {
4
4
  settings: GameSettings;
5
5
  }
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  interface GameBackgroundProps {
3
3
  children: React.ReactNode;
4
+ offset?: number;
4
5
  }
5
6
  export declare const GameBackground: React.FC<GameBackgroundProps>;
6
7
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/flappy-bird/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAoBD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAwEvD,CAAC"}
1
+ {"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/flappy-bird/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAUD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA+CvD,CAAC"}
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  import type { Pipe } from '../FlappyBirdStore';
3
3
  interface PipesProps {
4
4
  pipes: Pipe[];
5
+ offset?: number;
5
6
  }
6
7
  export declare const Pipes: React.FC<PipesProps>;
7
8
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Pipes.d.ts","sourceRoot":"","sources":["../../../../../../src/games/flappy-bird/components/Pipes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAI/C,UAAU,UAAU;IAClB,KAAK,EAAE,IAAI,EAAE,CAAC;CACf;AAuED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAmHrC,CAAC"}
1
+ {"version":3,"file":"Pipes.d.ts","sourceRoot":"","sources":["../../../../../../src/games/flappy-bird/components/Pipes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAI/C,UAAU,UAAU;IAClB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAQD,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAsKrC,CAAC"}
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
- export declare const ScoreBoard: React.FC;
2
+ interface ScoreBoardProps {
3
+ offset?: number;
4
+ }
5
+ export declare const ScoreBoard: React.FC<ScoreBoardProps>;
6
+ export {};
3
7
  //# sourceMappingURL=ScoreBoard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/flappy-bird/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAYvC,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAY7B,CAAC"}
1
+ {"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/flappy-bird/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAYvC,UAAU,eAAe;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAkB/C,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { type GameProps } from '../../services/GamesService';
2
+ import { type GameProps } from '../../services/UtilsService';
3
3
  export declare const FruitMerger: React.FC<GameProps>;
4
4
  //# sourceMappingURL=FruitMerger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FruitMerger.d.ts","sourceRoot":"","sources":["../../../../../src/games/fruit-merger/FruitMerger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAQvE,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAK9F,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA8F1C,CAAC"}
1
+ {"version":3,"file":"FruitMerger.d.ts","sourceRoot":"","sources":["../../../../../src/games/fruit-merger/FruitMerger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAQvE,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAK9F,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAiG1C,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type GameSettings } from '../../services/GamesService';
1
+ import type { GameSettings } from '../../services/UtilsService';
2
2
  export interface Fruit {
3
3
  id: string;
4
4
  typeId: number;
@@ -1 +1 @@
1
- {"version":3,"file":"FruitMergerStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/fruit-merger/FruitMergerStore.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAKjF,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,YAAY,EAAE,KAAK,GAAG,IAAI,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC,OAAO,GAAG,IAAI,CA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C;AAClF,eAAO,MAAM,SAAS,eAAmD,CAAC;AAC1E,eAAO,MAAM,eAAe,oBAAyD,CAAC;AACtF,eAAO,MAAM,gBAAgB,cAA0D,CAAC;AACxF,eAAO,MAAM,QAAQ,cAAkD,CAAC;AACxE,eAAO,MAAM,OAAO,cAAiD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type GameSettings } from '../../../services/GamesService';
2
+ import { type GameSettings } from '../../../services/UtilsService';
3
3
  interface GameAreaProps {
4
4
  settings: GameSettings;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"GameArea.d.ts","sourceRoot":"","sources":["../../../../../../src/games/fruit-merger/components/GameArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAQpD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEnE,UAAU,aAAa;IACrB,QAAQ,EAAE,YAAY,CAAC;CACxB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAqF3C,CAAC"}
1
+ {"version":3,"file":"GameArea.d.ts","sourceRoot":"","sources":["../../../../../../src/games/fruit-merger/components/GameArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAQpD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEnE,UAAU,aAAa;IACrB,QAAQ,EAAE,YAAY,CAAC;CACxB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA+D3C,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  interface GameBackgroundProps {
3
3
  children: React.ReactNode;
4
+ offset?: number;
4
5
  }
5
6
  export declare const GameBackground: React.FC<GameBackgroundProps>;
6
7
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/fruit-merger/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAiED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA8OxD,CAAC"}
1
+ {"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/fruit-merger/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAiED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAqQxD,CAAC"}
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
- export declare const ScoreBoard: React.FC;
2
+ interface ScoreBoardProps {
3
+ offset?: number;
4
+ }
5
+ export declare const ScoreBoard: React.FC<ScoreBoardProps>;
6
+ export {};
3
7
  //# sourceMappingURL=ScoreBoard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/fruit-merger/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAMvC,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAc7B,CAAC"}
1
+ {"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/fruit-merger/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,UAAU,eAAe;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAkB/C,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { type GameProps } from '../../services/GamesService';
2
+ import { type GameProps } from '../../services/UtilsService';
3
3
  export declare const FruitNinja: React.FC<GameProps>;
4
4
  //# sourceMappingURL=FruitNinja.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FruitNinja.d.ts","sourceRoot":"","sources":["../../../../../src/games/fruit-ninja/FruitNinja.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAQjD,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAE9F,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA6H1C,CAAC"}
1
+ {"version":3,"file":"FruitNinja.d.ts","sourceRoot":"","sources":["../../../../../src/games/fruit-ninja/FruitNinja.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAQjD,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAE9F,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA8H1C,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  interface GameBackgroundProps {
3
3
  children: React.ReactNode;
4
+ offset?: number;
4
5
  }
5
6
  export declare const GameBackground: React.FC<GameBackgroundProps>;
6
7
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/fruit-ninja/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAiED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAmhBxD,CAAC"}
1
+ {"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/fruit-ninja/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AA2DD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAojBxD,CAAC"}
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
- export declare const ScoreBoard: React.FC;
2
+ interface ScoreBoardProps {
3
+ offset?: number;
4
+ }
5
+ export declare const ScoreBoard: React.FC<ScoreBoardProps>;
6
+ export {};
3
7
  //# sourceMappingURL=ScoreBoard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/fruit-ninja/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EA6B7B,CAAC"}
1
+ {"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/fruit-ninja/components/ScoreBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,eAAe;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAmC/C,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { type GameProps } from '../../services/GamesService';
2
+ import { type GameProps } from '../../services/UtilsService';
3
3
  export declare const Game2048: React.FC<GameProps>;
4
4
  //# sourceMappingURL=Game2048.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Game2048.d.ts","sourceRoot":"","sources":["../../../../../src/games/game-2048/Game2048.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAY9F,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAiGvC,CAAC"}
1
+ {"version":3,"file":"Game2048.d.ts","sourceRoot":"","sources":["../../../../../src/games/game-2048/Game2048.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAY9F,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA+HvC,CAAC"}