react-native-games 1.2.0 → 1.3.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 (262) hide show
  1. package/README.md +43 -23
  2. package/lib/module/games/balloon-blaster/BalloonBlaster.js +1 -1
  3. package/lib/module/games/balloon-blaster/BalloonBlaster.js.map +1 -1
  4. package/lib/module/games/bike-racing/BikeRacing.js +1 -0
  5. package/lib/module/games/bike-racing/BikeRacing.js.map +1 -0
  6. package/lib/module/games/bike-racing/BikeRacingConstants.js +1 -0
  7. package/lib/module/games/bike-racing/BikeRacingConstants.js.map +1 -0
  8. package/lib/module/games/bike-racing/BikeRacingService.js +1 -0
  9. package/lib/module/games/bike-racing/BikeRacingService.js.map +1 -0
  10. package/lib/module/games/bike-racing/BikeRacingStore.js +1 -0
  11. package/lib/module/games/bike-racing/BikeRacingStore.js.map +1 -0
  12. package/lib/module/games/bike-racing/components/BikeComponent.js +1 -0
  13. package/lib/module/games/bike-racing/components/BikeComponent.js.map +1 -0
  14. package/lib/module/games/bike-racing/components/GameBackground.js +1 -0
  15. package/lib/module/games/bike-racing/components/GameBackground.js.map +1 -0
  16. package/lib/module/games/bike-racing/components/ScoreBoard.js +1 -0
  17. package/lib/module/games/bike-racing/components/ScoreBoard.js.map +1 -0
  18. package/lib/module/games/bike-racing/components/index.js +1 -0
  19. package/lib/module/games/bike-racing/components/index.js.map +1 -0
  20. package/lib/module/games/bike-racing/index.js +1 -0
  21. package/lib/module/games/bike-racing/index.js.map +1 -0
  22. package/lib/module/games/block-blast/BlockBlast.js +1 -0
  23. package/lib/module/games/block-blast/BlockBlast.js.map +1 -0
  24. package/lib/module/games/block-blast/BlockBlastConstants.js +1 -0
  25. package/lib/module/games/block-blast/BlockBlastConstants.js.map +1 -0
  26. package/lib/module/games/block-blast/BlockBlastService.js +1 -0
  27. package/lib/module/games/block-blast/BlockBlastService.js.map +1 -0
  28. package/lib/module/games/block-blast/BlockBlastStore.js +1 -0
  29. package/lib/module/games/block-blast/BlockBlastStore.js.map +1 -0
  30. package/lib/module/games/block-blast/components/BlockPieceComponent.js +1 -0
  31. package/lib/module/games/block-blast/components/BlockPieceComponent.js.map +1 -0
  32. package/lib/module/games/block-blast/components/GameArea.js +1 -0
  33. package/lib/module/games/block-blast/components/GameArea.js.map +1 -0
  34. package/lib/module/games/block-blast/components/GameBackground.js +1 -0
  35. package/lib/module/games/block-blast/components/GameBackground.js.map +1 -0
  36. package/lib/module/games/block-blast/components/GridComponent.js +1 -0
  37. package/lib/module/games/block-blast/components/GridComponent.js.map +1 -0
  38. package/lib/module/games/block-blast/components/ScoreBoard.js +1 -0
  39. package/lib/module/games/block-blast/components/ScoreBoard.js.map +1 -0
  40. package/lib/module/games/block-blast/components/index.js +1 -0
  41. package/lib/module/games/block-blast/components/index.js.map +1 -0
  42. package/lib/module/games/block-blast/index.js +1 -0
  43. package/lib/module/games/block-blast/index.js.map +1 -0
  44. package/lib/module/games/bubble-shooter/BubbleShooter.js +1 -0
  45. package/lib/module/games/bubble-shooter/BubbleShooter.js.map +1 -0
  46. package/lib/module/games/bubble-shooter/BubbleShooterConstants.js +1 -0
  47. package/lib/module/games/bubble-shooter/BubbleShooterConstants.js.map +1 -0
  48. package/lib/module/games/bubble-shooter/BubbleShooterService.js +1 -0
  49. package/lib/module/games/bubble-shooter/BubbleShooterService.js.map +1 -0
  50. package/lib/module/games/bubble-shooter/BubbleShooterStore.js +1 -0
  51. package/lib/module/games/bubble-shooter/BubbleShooterStore.js.map +1 -0
  52. package/lib/module/games/bubble-shooter/components/GameArea.js +1 -0
  53. package/lib/module/games/bubble-shooter/components/GameArea.js.map +1 -0
  54. package/lib/module/games/bubble-shooter/components/GameBackground.js +1 -0
  55. package/lib/module/games/bubble-shooter/components/GameBackground.js.map +1 -0
  56. package/lib/module/games/bubble-shooter/components/ScoreBoard.js +1 -0
  57. package/lib/module/games/bubble-shooter/components/ScoreBoard.js.map +1 -0
  58. package/lib/module/games/bubble-shooter/components/index.js +1 -0
  59. package/lib/module/games/bubble-shooter/components/index.js.map +1 -0
  60. package/lib/module/games/bubble-shooter/index.js +1 -0
  61. package/lib/module/games/bubble-shooter/index.js.map +1 -0
  62. package/lib/module/games/candy-crush/CandyCrush.js +1 -1
  63. package/lib/module/games/candy-crush/CandyCrush.js.map +1 -1
  64. package/lib/module/games/car-racing/CarRacing.js +1 -0
  65. package/lib/module/games/car-racing/CarRacing.js.map +1 -0
  66. package/lib/module/games/car-racing/CarRacingConstants.js +1 -0
  67. package/lib/module/games/car-racing/CarRacingConstants.js.map +1 -0
  68. package/lib/module/games/car-racing/CarRacingService.js +1 -0
  69. package/lib/module/games/car-racing/CarRacingService.js.map +1 -0
  70. package/lib/module/games/car-racing/CarRacingStore.js +1 -0
  71. package/lib/module/games/car-racing/CarRacingStore.js.map +1 -0
  72. package/lib/module/games/car-racing/components/CarComponent.js +1 -0
  73. package/lib/module/games/car-racing/components/CarComponent.js.map +1 -0
  74. package/lib/module/games/car-racing/components/GameBackground.js +1 -0
  75. package/lib/module/games/car-racing/components/GameBackground.js.map +1 -0
  76. package/lib/module/games/car-racing/components/ScoreBoard.js +1 -0
  77. package/lib/module/games/car-racing/components/ScoreBoard.js.map +1 -0
  78. package/lib/module/games/car-racing/components/index.js +1 -0
  79. package/lib/module/games/car-racing/components/index.js.map +1 -0
  80. package/lib/module/games/colors-sort/ColorsSort.js +1 -1
  81. package/lib/module/games/colors-sort/ColorsSort.js.map +1 -1
  82. package/lib/module/games/dino-jump/DinoJump.js +1 -1
  83. package/lib/module/games/dino-jump/DinoJump.js.map +1 -1
  84. package/lib/module/games/flappy-bird/FlappyBird.js +1 -1
  85. package/lib/module/games/flappy-bird/FlappyBird.js.map +1 -1
  86. package/lib/module/games/fruit-merger/FruitMerger.js +1 -1
  87. package/lib/module/games/fruit-merger/FruitMerger.js.map +1 -1
  88. package/lib/module/games/fruit-ninja/FruitNinja.js +1 -1
  89. package/lib/module/games/fruit-ninja/FruitNinja.js.map +1 -1
  90. package/lib/module/games/game-2048/Game2048.js +1 -1
  91. package/lib/module/games/game-2048/Game2048.js.map +1 -1
  92. package/lib/module/games/maze-runner/MazeRunner.js +1 -1
  93. package/lib/module/games/maze-runner/MazeRunner.js.map +1 -1
  94. package/lib/module/games/perfect-circle/PerfectCircle.js +1 -0
  95. package/lib/module/games/perfect-circle/PerfectCircle.js.map +1 -0
  96. package/lib/module/games/perfect-circle/PerfectCircleConstants.js +1 -0
  97. package/lib/module/games/perfect-circle/PerfectCircleConstants.js.map +1 -0
  98. package/lib/module/games/perfect-circle/PerfectCircleService.js +1 -0
  99. package/lib/module/games/perfect-circle/PerfectCircleService.js.map +1 -0
  100. package/lib/module/games/perfect-circle/PerfectCircleStore.js +1 -0
  101. package/lib/module/games/perfect-circle/PerfectCircleStore.js.map +1 -0
  102. package/lib/module/games/perfect-circle/components/DrawingCanvas.js +1 -0
  103. package/lib/module/games/perfect-circle/components/DrawingCanvas.js.map +1 -0
  104. package/lib/module/games/perfect-circle/components/GameBackground.js +1 -0
  105. package/lib/module/games/perfect-circle/components/GameBackground.js.map +1 -0
  106. package/lib/module/games/perfect-circle/components/ScoreBoard.js +1 -0
  107. package/lib/module/games/perfect-circle/components/ScoreBoard.js.map +1 -0
  108. package/lib/module/games/perfect-circle/index.js +1 -0
  109. package/lib/module/games/perfect-circle/index.js.map +1 -0
  110. package/lib/module/games/popit-fidget/PopitFidget.js +1 -1
  111. package/lib/module/games/popit-fidget/PopitFidget.js.map +1 -1
  112. package/lib/module/games/sliding-numbers/SlidingNumbers.js +1 -1
  113. package/lib/module/games/sliding-numbers/SlidingNumbers.js.map +1 -1
  114. package/lib/module/games/snake/Snake.js +1 -1
  115. package/lib/module/games/snake/Snake.js.map +1 -1
  116. package/lib/module/games/snake/SnakeStore.js +1 -1
  117. package/lib/module/games/snake/SnakeStore.js.map +1 -1
  118. package/lib/module/games/snake/components/ScoreBoard.js +1 -1
  119. package/lib/module/games/snake/components/ScoreBoard.js.map +1 -1
  120. package/lib/module/games/space-fighter/SpaceFighter.js +1 -1
  121. package/lib/module/games/space-fighter/SpaceFighter.js.map +1 -1
  122. package/lib/module/games/whack-a-mole/WhackAMole.js +1 -1
  123. package/lib/module/games/whack-a-mole/WhackAMole.js.map +1 -1
  124. package/lib/module/helpers/GameOverModal.js +1 -1
  125. package/lib/module/helpers/GameOverModal.js.map +1 -1
  126. package/lib/module/helpers/GameSettingsModal.js +1 -1
  127. package/lib/module/helpers/GameSettingsModal.js.map +1 -1
  128. package/lib/module/helpers/ScoreBoardContainer.js +1 -1
  129. package/lib/module/helpers/ScoreBoardContainer.js.map +1 -1
  130. package/lib/module/index.js +1 -1
  131. package/lib/module/index.js.map +1 -1
  132. package/lib/module/services/GamesConstants.js +1 -1
  133. package/lib/module/services/GamesConstants.js.map +1 -1
  134. package/lib/module/services/GamesService.js +1 -1
  135. package/lib/module/services/GamesService.js.map +1 -1
  136. package/lib/module/services/ScoringService.js +1 -0
  137. package/lib/module/services/ScoringService.js.map +1 -0
  138. package/lib/module/services/SoundsService.js +1 -1
  139. package/lib/module/services/SoundsService.js.map +1 -1
  140. package/lib/module/services/UtilsService.js +1 -1
  141. package/lib/module/services/UtilsService.js.map +1 -1
  142. package/lib/typescript/src/games/balloon-blaster/BalloonBlaster.d.ts.map +1 -1
  143. package/lib/typescript/src/games/bike-racing/BikeRacing.d.ts +4 -0
  144. package/lib/typescript/src/games/bike-racing/BikeRacing.d.ts.map +1 -0
  145. package/lib/typescript/src/games/bike-racing/BikeRacingConstants.d.ts +76 -0
  146. package/lib/typescript/src/games/bike-racing/BikeRacingConstants.d.ts.map +1 -0
  147. package/lib/typescript/src/games/bike-racing/BikeRacingService.d.ts +22 -0
  148. package/lib/typescript/src/games/bike-racing/BikeRacingService.d.ts.map +1 -0
  149. package/lib/typescript/src/games/bike-racing/BikeRacingStore.d.ts +72 -0
  150. package/lib/typescript/src/games/bike-racing/BikeRacingStore.d.ts.map +1 -0
  151. package/lib/typescript/src/games/bike-racing/components/BikeComponent.d.ts +12 -0
  152. package/lib/typescript/src/games/bike-racing/components/BikeComponent.d.ts.map +1 -0
  153. package/lib/typescript/src/games/bike-racing/components/GameBackground.d.ts +9 -0
  154. package/lib/typescript/src/games/bike-racing/components/GameBackground.d.ts.map +1 -0
  155. package/lib/typescript/src/games/bike-racing/components/ScoreBoard.d.ts +7 -0
  156. package/lib/typescript/src/games/bike-racing/components/ScoreBoard.d.ts.map +1 -0
  157. package/lib/typescript/src/games/bike-racing/components/index.d.ts +4 -0
  158. package/lib/typescript/src/games/bike-racing/components/index.d.ts.map +1 -0
  159. package/lib/typescript/src/games/bike-racing/index.d.ts +5 -0
  160. package/lib/typescript/src/games/bike-racing/index.d.ts.map +1 -0
  161. package/lib/typescript/src/games/block-blast/BlockBlast.d.ts +4 -0
  162. package/lib/typescript/src/games/block-blast/BlockBlast.d.ts.map +1 -0
  163. package/lib/typescript/src/games/block-blast/BlockBlastConstants.d.ts +82 -0
  164. package/lib/typescript/src/games/block-blast/BlockBlastConstants.d.ts.map +1 -0
  165. package/lib/typescript/src/games/block-blast/BlockBlastService.d.ts +17 -0
  166. package/lib/typescript/src/games/block-blast/BlockBlastService.d.ts.map +1 -0
  167. package/lib/typescript/src/games/block-blast/BlockBlastStore.d.ts +62 -0
  168. package/lib/typescript/src/games/block-blast/BlockBlastStore.d.ts.map +1 -0
  169. package/lib/typescript/src/games/block-blast/components/BlockPieceComponent.d.ts +14 -0
  170. package/lib/typescript/src/games/block-blast/components/BlockPieceComponent.d.ts.map +1 -0
  171. package/lib/typescript/src/games/block-blast/components/GameArea.d.ts +12 -0
  172. package/lib/typescript/src/games/block-blast/components/GameArea.d.ts.map +1 -0
  173. package/lib/typescript/src/games/block-blast/components/GameBackground.d.ts +7 -0
  174. package/lib/typescript/src/games/block-blast/components/GameBackground.d.ts.map +1 -0
  175. package/lib/typescript/src/games/block-blast/components/GridComponent.d.ts +17 -0
  176. package/lib/typescript/src/games/block-blast/components/GridComponent.d.ts.map +1 -0
  177. package/lib/typescript/src/games/block-blast/components/ScoreBoard.d.ts +7 -0
  178. package/lib/typescript/src/games/block-blast/components/ScoreBoard.d.ts.map +1 -0
  179. package/lib/typescript/src/games/block-blast/components/index.d.ts +6 -0
  180. package/lib/typescript/src/games/block-blast/components/index.d.ts.map +1 -0
  181. package/lib/typescript/src/games/block-blast/index.d.ts +5 -0
  182. package/lib/typescript/src/games/block-blast/index.d.ts.map +1 -0
  183. package/lib/typescript/src/games/bubble-shooter/BubbleShooter.d.ts +4 -0
  184. package/lib/typescript/src/games/bubble-shooter/BubbleShooter.d.ts.map +1 -0
  185. package/lib/typescript/src/games/bubble-shooter/BubbleShooterConstants.d.ts +61 -0
  186. package/lib/typescript/src/games/bubble-shooter/BubbleShooterConstants.d.ts.map +1 -0
  187. package/lib/typescript/src/games/bubble-shooter/BubbleShooterService.d.ts +26 -0
  188. package/lib/typescript/src/games/bubble-shooter/BubbleShooterService.d.ts.map +1 -0
  189. package/lib/typescript/src/games/bubble-shooter/BubbleShooterStore.d.ts +62 -0
  190. package/lib/typescript/src/games/bubble-shooter/BubbleShooterStore.d.ts.map +1 -0
  191. package/lib/typescript/src/games/bubble-shooter/components/GameArea.d.ts +9 -0
  192. package/lib/typescript/src/games/bubble-shooter/components/GameArea.d.ts.map +1 -0
  193. package/lib/typescript/src/games/bubble-shooter/components/GameBackground.d.ts +8 -0
  194. package/lib/typescript/src/games/bubble-shooter/components/GameBackground.d.ts.map +1 -0
  195. package/lib/typescript/src/games/bubble-shooter/components/ScoreBoard.d.ts +7 -0
  196. package/lib/typescript/src/games/bubble-shooter/components/ScoreBoard.d.ts.map +1 -0
  197. package/lib/typescript/src/games/bubble-shooter/components/index.d.ts +4 -0
  198. package/lib/typescript/src/games/bubble-shooter/components/index.d.ts.map +1 -0
  199. package/lib/typescript/src/games/bubble-shooter/index.d.ts +3 -0
  200. package/lib/typescript/src/games/bubble-shooter/index.d.ts.map +1 -0
  201. package/lib/typescript/src/games/candy-crush/CandyCrush.d.ts.map +1 -1
  202. package/lib/typescript/src/games/car-racing/CarRacing.d.ts +4 -0
  203. package/lib/typescript/src/games/car-racing/CarRacing.d.ts.map +1 -0
  204. package/lib/typescript/src/games/car-racing/CarRacingConstants.d.ts +76 -0
  205. package/lib/typescript/src/games/car-racing/CarRacingConstants.d.ts.map +1 -0
  206. package/lib/typescript/src/games/car-racing/CarRacingService.d.ts +22 -0
  207. package/lib/typescript/src/games/car-racing/CarRacingService.d.ts.map +1 -0
  208. package/lib/typescript/src/games/car-racing/CarRacingStore.d.ts +72 -0
  209. package/lib/typescript/src/games/car-racing/CarRacingStore.d.ts.map +1 -0
  210. package/lib/typescript/src/games/car-racing/components/CarComponent.d.ts +13 -0
  211. package/lib/typescript/src/games/car-racing/components/CarComponent.d.ts.map +1 -0
  212. package/lib/typescript/src/games/car-racing/components/GameBackground.d.ts +9 -0
  213. package/lib/typescript/src/games/car-racing/components/GameBackground.d.ts.map +1 -0
  214. package/lib/typescript/src/games/car-racing/components/ScoreBoard.d.ts +7 -0
  215. package/lib/typescript/src/games/car-racing/components/ScoreBoard.d.ts.map +1 -0
  216. package/lib/typescript/src/games/car-racing/components/index.d.ts +4 -0
  217. package/lib/typescript/src/games/car-racing/components/index.d.ts.map +1 -0
  218. package/lib/typescript/src/games/colors-sort/ColorsSort.d.ts.map +1 -1
  219. package/lib/typescript/src/games/dino-jump/DinoJump.d.ts.map +1 -1
  220. package/lib/typescript/src/games/flappy-bird/FlappyBird.d.ts.map +1 -1
  221. package/lib/typescript/src/games/fruit-merger/FruitMerger.d.ts.map +1 -1
  222. package/lib/typescript/src/games/fruit-ninja/FruitNinja.d.ts.map +1 -1
  223. package/lib/typescript/src/games/game-2048/Game2048.d.ts.map +1 -1
  224. package/lib/typescript/src/games/maze-runner/MazeRunner.d.ts.map +1 -1
  225. package/lib/typescript/src/games/perfect-circle/PerfectCircle.d.ts +4 -0
  226. package/lib/typescript/src/games/perfect-circle/PerfectCircle.d.ts.map +1 -0
  227. package/lib/typescript/src/games/perfect-circle/PerfectCircleConstants.d.ts +81 -0
  228. package/lib/typescript/src/games/perfect-circle/PerfectCircleConstants.d.ts.map +1 -0
  229. package/lib/typescript/src/games/perfect-circle/PerfectCircleService.d.ts +14 -0
  230. package/lib/typescript/src/games/perfect-circle/PerfectCircleService.d.ts.map +1 -0
  231. package/lib/typescript/src/games/perfect-circle/PerfectCircleStore.d.ts +40 -0
  232. package/lib/typescript/src/games/perfect-circle/PerfectCircleStore.d.ts.map +1 -0
  233. package/lib/typescript/src/games/perfect-circle/components/DrawingCanvas.d.ts +9 -0
  234. package/lib/typescript/src/games/perfect-circle/components/DrawingCanvas.d.ts.map +1 -0
  235. package/lib/typescript/src/games/perfect-circle/components/GameBackground.d.ts +8 -0
  236. package/lib/typescript/src/games/perfect-circle/components/GameBackground.d.ts.map +1 -0
  237. package/lib/typescript/src/games/perfect-circle/components/ScoreBoard.d.ts +7 -0
  238. package/lib/typescript/src/games/perfect-circle/components/ScoreBoard.d.ts.map +1 -0
  239. package/lib/typescript/src/games/perfect-circle/index.d.ts +3 -0
  240. package/lib/typescript/src/games/perfect-circle/index.d.ts.map +1 -0
  241. package/lib/typescript/src/games/popit-fidget/PopitFidget.d.ts.map +1 -1
  242. package/lib/typescript/src/games/sliding-numbers/SlidingNumbers.d.ts.map +1 -1
  243. package/lib/typescript/src/games/snake/Snake.d.ts.map +1 -1
  244. package/lib/typescript/src/games/snake/SnakeStore.d.ts +4 -0
  245. package/lib/typescript/src/games/snake/SnakeStore.d.ts.map +1 -1
  246. package/lib/typescript/src/games/snake/components/ScoreBoard.d.ts.map +1 -1
  247. package/lib/typescript/src/games/space-fighter/SpaceFighter.d.ts.map +1 -1
  248. package/lib/typescript/src/games/whack-a-mole/WhackAMole.d.ts.map +1 -1
  249. package/lib/typescript/src/helpers/ScoreBoardContainer.d.ts.map +1 -1
  250. package/lib/typescript/src/index.d.ts +6 -1
  251. package/lib/typescript/src/index.d.ts.map +1 -1
  252. package/lib/typescript/src/services/GamesConstants.d.ts +50 -0
  253. package/lib/typescript/src/services/GamesConstants.d.ts.map +1 -1
  254. package/lib/typescript/src/services/GamesService.d.ts +2 -1
  255. package/lib/typescript/src/services/GamesService.d.ts.map +1 -1
  256. package/lib/typescript/src/services/ScoringService.d.ts +2 -0
  257. package/lib/typescript/src/services/ScoringService.d.ts.map +1 -0
  258. package/lib/typescript/src/services/SoundsService.d.ts +88 -0
  259. package/lib/typescript/src/services/SoundsService.d.ts.map +1 -1
  260. package/lib/typescript/src/services/UtilsService.d.ts +12 -1
  261. package/lib/typescript/src/services/UtilsService.d.ts.map +1 -1
  262. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CarComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/games/car-racing/components/CarComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,iBAAiB;IACzB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,YAAY,uEAAiE,iBAAiB,6CAiMzG,CAAC;AAiBH,eAAO,MAAM,oBAAoB,iGAlNyD,iBAAiB,8CAkNhC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface GameBackgroundProps {
3
+ width: number;
4
+ height: number;
5
+ roadOffset: number;
6
+ }
7
+ export declare const GameBackground: React.MemoExoticComponent<({ width, height, roadOffset }: GameBackgroundProps) => import("react/jsx-runtime").JSX.Element>;
8
+ export {};
9
+ //# sourceMappingURL=GameBackground.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/car-racing/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACpB;AA+FD,eAAO,MAAM,cAAc,4DA7FqC,mBAAmB,6CA6FH,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface ScoreBoardProps {
3
+ offset?: number;
4
+ }
5
+ export declare const ScoreBoard: React.MemoExoticComponent<({ offset }: ScoreBoardProps) => import("react/jsx-runtime").JSX.Element>;
6
+ export {};
7
+ //# sourceMappingURL=ScoreBoard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/car-racing/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,yCAA+B,eAAe,6CAgDnE,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { GameBackground } from './GameBackground';
2
+ export { CarComponent } from './CarComponent';
3
+ export { ScoreBoard } from './ScoreBoard';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/games/car-racing/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
@@ -1 +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,CAqHzC,CAAC"}
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;AAM9F,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA4JzC,CAAC"}
@@ -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;AAQvE,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAI9F,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAsOvC,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,CAuQvC,CAAC"}
@@ -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,CAuGzC,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,CA8HzC,CAAC"}
@@ -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,CAkG1C,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;AAM9F,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAmI1C,CAAC"}
@@ -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,CA+H1C,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,CAgK1C,CAAC"}
@@ -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,CAgIvC,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;AAa9F,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAsKvC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MazeRunner.d.ts","sourceRoot":"","sources":["../../../../../src/games/maze-runner/MazeRunner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAiBjF,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AA2B9F,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA4N1C,CAAC"}
1
+ {"version":3,"file":"MazeRunner.d.ts","sourceRoot":"","sources":["../../../../../src/games/maze-runner/MazeRunner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAkBjF,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AA2B9F,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAyP1C,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type GameProps } from '../../services/UtilsService';
3
+ export declare const PerfectCircle: React.NamedExoticComponent<GameProps>;
4
+ //# sourceMappingURL=PerfectCircle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PerfectCircle.d.ts","sourceRoot":"","sources":["../../../../../src/games/perfect-circle/PerfectCircle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAyB,KAAK,SAAS,EAAY,MAAM,6BAA6B,CAAC;AAyO9F,eAAO,MAAM,aAAa,uCAAoD,CAAC"}
@@ -0,0 +1,81 @@
1
+ import type { GameSettingsTheme } from '../../services/GamesConstants';
2
+ export interface PerfectCircleSettings {
3
+ difficulty: 'easy' | 'medium' | 'hard';
4
+ soundEnabled: boolean;
5
+ hapticEnabled: boolean;
6
+ minAccuracy: number;
7
+ }
8
+ export declare const PERFECT_CIRCLE_DIFFICULTY_CONFIG: {
9
+ readonly easy: {
10
+ readonly minAccuracy: 70;
11
+ };
12
+ readonly medium: {
13
+ readonly minAccuracy: 80;
14
+ };
15
+ readonly hard: {
16
+ readonly minAccuracy: 90;
17
+ };
18
+ };
19
+ export declare const getDifficultySettings: (difficulty: "easy" | "medium" | "hard") => {
20
+ readonly minAccuracy: 70;
21
+ } | {
22
+ readonly minAccuracy: 80;
23
+ } | {
24
+ readonly minAccuracy: 90;
25
+ };
26
+ export declare const DEFAULT_PERFECT_CIRCLE_SETTINGS: PerfectCircleSettings;
27
+ export declare const PERFECT_CIRCLE_GAME_CONFIG: {
28
+ readonly MIN_POINTS: 20;
29
+ readonly SAMPLE_POINTS: 100;
30
+ readonly STROKE_WIDTH: 4;
31
+ readonly GUIDE_CIRCLE_OPACITY: 0.15;
32
+ };
33
+ export declare const PERFECT_CIRCLE_COLORS: {
34
+ readonly BACKGROUND: "#1a1a2e";
35
+ readonly CANVAS: "#16213e";
36
+ readonly STROKE: "#00d4ff";
37
+ readonly GUIDE: "#ffffff";
38
+ readonly SUCCESS: "#4ecca3";
39
+ readonly FAIL: "#ff6b6b";
40
+ readonly UI: "#00d4ff";
41
+ readonly TEXT: "#ffffff";
42
+ };
43
+ export declare const PERFECT_CIRCLE_THEME: GameSettingsTheme;
44
+ export declare const PERFECT_CIRCLE_DIFFICULTY_DESCRIPTIONS: {
45
+ readonly easy: "70% accuracy needed to win";
46
+ readonly medium: "80% accuracy needed to win";
47
+ readonly hard: "90% accuracy needed to win";
48
+ };
49
+ export declare const ACCURACY_LEVELS: {
50
+ readonly PERFECT: {
51
+ readonly min: 95;
52
+ readonly label: "PERFECT!";
53
+ readonly emoji: "🎯";
54
+ };
55
+ readonly EXCELLENT: {
56
+ readonly min: 90;
57
+ readonly label: "EXCELLENT!";
58
+ readonly emoji: "⭐";
59
+ };
60
+ readonly GREAT: {
61
+ readonly min: 85;
62
+ readonly label: "GREAT!";
63
+ readonly emoji: "✨";
64
+ };
65
+ readonly GOOD: {
66
+ readonly min: 80;
67
+ readonly label: "GOOD!";
68
+ readonly emoji: "👍";
69
+ };
70
+ readonly NICE: {
71
+ readonly min: 70;
72
+ readonly label: "NICE TRY!";
73
+ readonly emoji: "👌";
74
+ };
75
+ readonly POOR: {
76
+ readonly min: 0;
77
+ readonly label: "KEEP TRYING!";
78
+ readonly emoji: "💪";
79
+ };
80
+ };
81
+ //# sourceMappingURL=PerfectCircleConstants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PerfectCircleConstants.d.ts","sourceRoot":"","sources":["../../../../../src/games/perfect-circle/PerfectCircleConstants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGvE,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IACvC,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;CACrB;AAGD,eAAO,MAAM,gCAAgC;;;;;;;;;;CAUnC,CAAC;AAGX,eAAO,MAAM,qBAAqB,GAAI,YAAY,MAAM,GAAG,QAAQ,GAAG,MAAM;;;;;;CAE3E,CAAC;AAGF,eAAO,MAAM,+BAA+B,EAAE,qBAK7C,CAAC;AAGF,eAAO,MAAM,0BAA0B;;;;;CAK7B,CAAC;AAGX,eAAO,MAAM,qBAAqB;;;;;;;;;CASxB,CAAC;AAGX,eAAO,MAAM,oBAAoB,EAAE,iBAclC,CAAC;AAGF,eAAO,MAAM,sCAAsC;;;;CAIzC,CAAC;AAGX,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOlB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { type Point } from './PerfectCircleStore';
2
+ export declare class PerfectCircleService {
3
+ private onAccuracyCalculated?;
4
+ constructor();
5
+ setCallbacks(onAccuracyCalculated?: (accuracy: number) => void): void;
6
+ startGame(): void;
7
+ stopGame(): void;
8
+ resetGame(): void;
9
+ cleanup(): void;
10
+ calculateCircleAccuracy(points: Point[]): number;
11
+ evaluateDrawing(): void;
12
+ finishDrawing(): void;
13
+ }
14
+ //# sourceMappingURL=PerfectCircleService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PerfectCircleService.d.ts","sourceRoot":"","sources":["../../../../../src/games/perfect-circle/PerfectCircleService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAGzE,qBAAa,oBAAoB;IAE/B,OAAO,CAAC,oBAAoB,CAAC,CAA6B;;IAI1D,YAAY,CAAC,oBAAoB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI;IAI9D,SAAS;IAKT,QAAQ;IAIR,SAAS;IAIT,OAAO;IAKP,uBAAuB,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM;IAuChD,eAAe;IAsBf,aAAa;CAGd"}
@@ -0,0 +1,40 @@
1
+ export interface Point {
2
+ x: number;
3
+ y: number;
4
+ }
5
+ export interface GameState {
6
+ isPlaying: boolean;
7
+ isDrawing: boolean;
8
+ gameOver: boolean;
9
+ gameWon: boolean;
10
+ accuracy: number;
11
+ }
12
+ export interface PerfectCircleStore extends GameState {
13
+ drawnPoints: Point[];
14
+ startPoint: Point | null;
15
+ startGame: () => void;
16
+ stopGame: () => void;
17
+ resetGame: () => void;
18
+ startDrawing: (point: Point) => void;
19
+ addPoint: (point: Point) => void;
20
+ finishDrawing: () => void;
21
+ setAccuracy: (accuracy: number) => void;
22
+ setGameResult: (won: boolean) => void;
23
+ clearDrawing: () => void;
24
+ }
25
+ export declare const usePerfectCircleStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<PerfectCircleStore>, "subscribe"> & {
26
+ subscribe: {
27
+ (listener: (selectedState: PerfectCircleStore, previousSelectedState: PerfectCircleStore) => void): () => void;
28
+ <U>(selector: (state: PerfectCircleStore) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
29
+ equalityFn?: ((a: U, b: U) => boolean) | undefined;
30
+ fireImmediately?: boolean;
31
+ } | undefined): () => void;
32
+ };
33
+ }>;
34
+ export declare const useIsPlaying: () => boolean;
35
+ export declare const useIsDrawing: () => boolean;
36
+ export declare const useGameOver: () => boolean;
37
+ export declare const useGameWon: () => boolean;
38
+ export declare const useAccuracy: () => number;
39
+ export declare const useDrawnPoints: () => Point[];
40
+ //# sourceMappingURL=PerfectCircleStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PerfectCircleStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/perfect-circle/PerfectCircleStore.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,KAAK;IACpB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,MAAM,WAAW,SAAS;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,WAAW,EAAE,KAAK,EAAE,CAAC;IACrB,UAAU,EAAE,KAAK,GAAG,IAAI,CAAC;IAGzB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACrC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,aAAa,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B;AAGD,eAAO,MAAM,qBAAqB;;;;;;;;EAyFjC,CAAC;AAGF,eAAO,MAAM,YAAY,eAA0D,CAAC;AACpF,eAAO,MAAM,YAAY,eAA0D,CAAC;AACpF,eAAO,MAAM,WAAW,eAAyD,CAAC;AAClF,eAAO,MAAM,UAAU,eAAwD,CAAC;AAChF,eAAO,MAAM,WAAW,cAAyD,CAAC;AAClF,eAAO,MAAM,cAAc,eAA4D,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { PerfectCircleService } from '../PerfectCircleService';
3
+ interface DrawingCanvasProps {
4
+ gameService: PerfectCircleService;
5
+ offset?: number;
6
+ }
7
+ export declare const DrawingCanvas: React.NamedExoticComponent<DrawingCanvasProps>;
8
+ export {};
9
+ //# sourceMappingURL=DrawingCanvas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DrawingCanvas.d.ts","sourceRoot":"","sources":["../../../../../../src/games/perfect-circle/components/DrawingCanvas.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AASpE,UAAU,kBAAkB;IAC1B,WAAW,EAAE,oBAAoB,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAqID,eAAO,MAAM,aAAa,gDAAoD,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface GameBackgroundProps {
3
+ children: React.ReactNode;
4
+ offset?: number;
5
+ }
6
+ export declare const GameBackground: React.FC<GameBackgroundProps>;
7
+ export {};
8
+ //# sourceMappingURL=GameBackground.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GameBackground.d.ts","sourceRoot":"","sources":["../../../../../../src/games/perfect-circle/components/GameBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAMD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA+EvD,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/perfect-circle/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,CAoB/C,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { PerfectCircle } from './PerfectCircle';
2
+ export { PERFECT_CIRCLE_THEME } from './PerfectCircleConstants';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/games/perfect-circle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PopitFidget.d.ts","sourceRoot":"","sources":["../../../../../src/games/popit-fidget/PopitFidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAKvE,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAa9F,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA0QpC,CAAC;AAkBF,OAAO,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"PopitFidget.d.ts","sourceRoot":"","sources":["../../../../../src/games/popit-fidget/PopitFidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAKvE,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAc9F,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA6SpC,CAAC;AAkBF,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SlidingNumbers.d.ts","sourceRoot":"","sources":["../../../../../src/games/sliding-numbers/SlidingNumbers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAS/D,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAE9F,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA6I7C,CAAC"}
1
+ {"version":3,"file":"SlidingNumbers.d.ts","sourceRoot":"","sources":["../../../../../src/games/sliding-numbers/SlidingNumbers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAS/D,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAE9F,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAqL7C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Snake.d.ts","sourceRoot":"","sources":["../../../../../src/games/snake/Snake.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,KAAK,SAAS,EAAmC,MAAM,6BAA6B,CAAC;AAW9F,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAqKpC,CAAC"}
1
+ {"version":3,"file":"Snake.d.ts","sourceRoot":"","sources":["../../../../../src/games/snake/Snake.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,KAAK,SAAS,EAAmC,MAAM,6BAA6B,CAAC;AAW9F,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAiMpC,CAAC"}
@@ -6,6 +6,7 @@ export interface SnakeState {
6
6
  direction: Direction;
7
7
  nextDirection: Direction;
8
8
  score: number;
9
+ timeLeft: number;
9
10
  isPlaying: boolean;
10
11
  isGameOver: boolean;
11
12
  isPaused: boolean;
@@ -13,6 +14,7 @@ export interface SnakeState {
13
14
  enableSounds: boolean;
14
15
  enableHaptics: boolean;
15
16
  moveTimer: NodeJS.Timeout | null;
17
+ countdownTimer: NodeJS.Timeout | null;
16
18
  }
17
19
  export interface SnakeStore extends SnakeState {
18
20
  startGame: () => void;
@@ -24,6 +26,7 @@ export interface SnakeStore extends SnakeState {
24
26
  changeDirection: (direction: Direction) => void;
25
27
  updateSettings: (enableSounds: boolean, enableHaptics: boolean) => void;
26
28
  gameLoop: () => void;
29
+ decrementTime: () => void;
27
30
  }
28
31
  export declare const useSnakeStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<SnakeStore>, "subscribe"> & {
29
32
  subscribe: {
@@ -37,6 +40,7 @@ export declare const useSnakeStore: import("zustand").UseBoundStore<Omit<import(
37
40
  export declare const useSnake: () => SnakeSegment[];
38
41
  export declare const useFood: () => Food | null;
39
42
  export declare const useScore: () => number;
43
+ export declare const useTimeLeft: () => number;
40
44
  export declare const useIsPlaying: () => boolean;
41
45
  export declare const useIsGameOver: () => boolean;
42
46
  export declare const useIsPaused: () => boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"SnakeStore.d.ts","sourceRoot":"","sources":["../../../../../src/games/snake/SnakeStore.ts"],"names":[],"mappings":"AAGA,OAAO,EAAgB,KAAK,YAAY,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EAAmC,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGnF,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;IACrB,aAAa,EAAE,SAAS,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IACvC,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC;CAClC;AAED,MAAM,WAAW,UAAW,SAAQ,UAAU;IAC5C,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,IA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C"}
1
+ {"version":3,"file":"ScoreBoard.d.ts","sourceRoot":"","sources":["../../../../../../src/games/snake/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,CA6B/C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SpaceFighter.d.ts","sourceRoot":"","sources":["../../../../../src/games/space-fighter/SpaceFighter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAS/D,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAI9F,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAiK5C,CAAC"}
1
+ {"version":3,"file":"SpaceFighter.d.ts","sourceRoot":"","sources":["../../../../../src/games/space-fighter/SpaceFighter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAS/D,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAI9F,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAkM5C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"WhackAMole.d.ts","sourceRoot":"","sources":["../../../../../src/games/whack-a-mole/WhackAMole.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAUvE,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAE9F,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA8P1C,CAAC"}
1
+ {"version":3,"file":"WhackAMole.d.ts","sourceRoot":"","sources":["../../../../../src/games/whack-a-mole/WhackAMole.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAUvE,OAAO,EAAY,KAAK,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAE9F,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA6R1C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ScoreBoardContainer.d.ts","sourceRoot":"","sources":["../../../../src/helpers/ScoreBoardContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CA4BjE,CAAC"}
1
+ {"version":3,"file":"ScoreBoardContainer.d.ts","sourceRoot":"","sources":["../../../../src/helpers/ScoreBoardContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAoCjE,CAAC"}
@@ -7,11 +7,16 @@ export * from './games/space-fighter/SpaceFighter';
7
7
  export * from './games/sliding-numbers/SlidingNumbers';
8
8
  export * from './games/game-2048/Game2048';
9
9
  export * from './games/dino-jump/DinoJump';
10
- export { ColorsSort } from './games/colors-sort/ColorsSort';
10
+ export * from './games/colors-sort/ColorsSort';
11
11
  export * from './games/fruit-merger/FruitMerger';
12
12
  export * from './games/flappy-bird/FlappyBird';
13
13
  export * from './games/candy-crush/CandyCrush';
14
14
  export * from './games/snake/Snake';
15
+ export * from './games/car-racing/CarRacing';
16
+ export * from './games/bike-racing/BikeRacing';
17
+ export * from './games/block-blast/BlockBlast';
18
+ export * from './games/bubble-shooter/BubbleShooter';
19
+ export * from './games/perfect-circle/PerfectCircle';
15
20
  export * from './services/GamesService';
16
21
  export * from './services/UtilsService';
17
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AACA,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AAGpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AACA,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AAGrD,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC"}
@@ -90,6 +90,11 @@ export declare const GAME_THEMES: {
90
90
  readonly infoTextColor: "rgba(255, 255, 255, 0.9)";
91
91
  };
92
92
  readonly snake: GameSettingsTheme;
93
+ readonly carRacing: GameSettingsTheme;
94
+ readonly bikeRacing: GameSettingsTheme;
95
+ readonly blockBlast: GameSettingsTheme;
96
+ readonly bubbleShooter: GameSettingsTheme;
97
+ readonly perfectCircle: GameSettingsTheme;
93
98
  };
94
99
  export declare const GAME_DIFFICULTY_DESCRIPTIONS: {
95
100
  readonly balloonBlaster: {
@@ -174,6 +179,31 @@ export declare const GAME_DIFFICULTY_DESCRIPTIONS: {
174
179
  readonly medium: "Medium speed • 2x points • Balanced challenge";
175
180
  readonly hard: "Fast speed • 3x points • Expert level";
176
181
  };
182
+ readonly carRacing: {
183
+ readonly easy: "1 min, slower traffic, relaxed driving";
184
+ readonly medium: "2 mins, normal traffic speed, balanced challenge";
185
+ readonly hard: "3 mins, fast traffic, quick reflexes needed!";
186
+ };
187
+ readonly bikeRacing: {
188
+ readonly easy: "1 min, slower traffic, casual ride";
189
+ readonly medium: "2 mins, normal traffic speed, balanced challenge";
190
+ readonly hard: "3 mins, fast traffic, expert riding skills!";
191
+ };
192
+ readonly blockBlast: {
193
+ readonly easy: "8x8 grid, relaxed puzzle solving";
194
+ readonly medium: "10x10 grid, balanced challenge, 1.5x score";
195
+ readonly hard: "10x10 grid, expert strategy, 2x score!";
196
+ };
197
+ readonly bubbleShooter: {
198
+ readonly easy: "Fewer rows and colors, easier matches";
199
+ readonly medium: "Balanced challenge with more bubbles";
200
+ readonly hard: "Many rows and colors, strategic play!";
201
+ };
202
+ readonly perfectCircle: {
203
+ readonly easy: "70% accuracy needed to win";
204
+ readonly medium: "80% accuracy needed to win";
205
+ readonly hard: "90% accuracy needed to win";
206
+ };
177
207
  };
178
208
  export declare const DIFFICULTY_LEVELS: readonly ["easy", "medium", "hard"];
179
209
  export type DifficultyLevel = typeof DIFFICULTY_LEVELS[number];
@@ -246,6 +276,26 @@ export declare const getGameDifficultyDescriptions: (gameId: string) => {
246
276
  readonly easy: "Slow speed • 1x points • Perfect for beginners";
247
277
  readonly medium: "Medium speed • 2x points • Balanced challenge";
248
278
  readonly hard: "Fast speed • 3x points • Expert level";
279
+ } | {
280
+ readonly easy: "1 min, slower traffic, relaxed driving";
281
+ readonly medium: "2 mins, normal traffic speed, balanced challenge";
282
+ readonly hard: "3 mins, fast traffic, quick reflexes needed!";
283
+ } | {
284
+ readonly easy: "1 min, slower traffic, casual ride";
285
+ readonly medium: "2 mins, normal traffic speed, balanced challenge";
286
+ readonly hard: "3 mins, fast traffic, expert riding skills!";
287
+ } | {
288
+ readonly easy: "8x8 grid, relaxed puzzle solving";
289
+ readonly medium: "10x10 grid, balanced challenge, 1.5x score";
290
+ readonly hard: "10x10 grid, expert strategy, 2x score!";
291
+ } | {
292
+ readonly easy: "Fewer rows and colors, easier matches";
293
+ readonly medium: "Balanced challenge with more bubbles";
294
+ readonly hard: "Many rows and colors, strategic play!";
295
+ } | {
296
+ readonly easy: "70% accuracy needed to win";
297
+ readonly medium: "80% accuracy needed to win";
298
+ readonly hard: "90% accuracy needed to win";
249
299
  } | {
250
300
  readonly easy: "Balloons spawn slower, more forgiving";
251
301
  readonly medium: "Balanced gameplay and balloon speed";
@@ -1 +1 @@
1
- {"version":3,"file":"GamesConstants.d.ts","sourceRoot":"","sources":["../../../../src/services/GamesConstants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAkBH,MAAM,WAAW,iBAAiB;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,eAAe,EAAE,MAAM,CAAC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,CAAA"}
@@ -1,4 +1,5 @@
1
- import { type GameDefinition } from './UtilsService';
1
+ import { GAME_IDS, type GameDefinition } from './UtilsService';
2
+ export declare const GAMES: Record<GAME_IDS, GameDefinition>;
2
3
  export declare const GAMES_LIST: GameDefinition[];
3
4
  export declare const GAMES_MAPPING: any;
4
5
  //# sourceMappingURL=GamesService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GamesService.d.ts","sourceRoot":"","sources":["../../../../src/services/GamesService.ts"],"names":[],"mappings":"AAcA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AA2F/D,eAAO,MAAM,UAAU,kBAAuB,CAAC;AAC/C,eAAO,MAAM,aAAa,EAErB,GAAG,CAAC"}
1
+ {"version":3,"file":"GamesService.d.ts","sourceRoot":"","sources":["../../../../src/services/GamesService.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAG/D,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,QAAQ,EAAE,cAAc,CAmH3C,CAAC;AAGT,eAAO,MAAM,UAAU,kBAAuB,CAAC;AAC/C,eAAO,MAAM,aAAa,EAErB,GAAG,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const calculateTimeBasedScore: (completionTimeSeconds: number, expectedTime: number, maxScore?: number, minScore?: number, decayRate?: number) => number;
2
+ //# sourceMappingURL=ScoringService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScoringService.d.ts","sourceRoot":"","sources":["../../../../src/services/ScoringService.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,GAClC,uBAAuB,MAAM,EAC7B,cAAc,MAAM,EACpB,WAAU,MAAa,EACvB,WAAU,MAAY,EACtB,YAAW,MAAU,KACpB,MAcF,CAAC"}
@@ -253,5 +253,93 @@ export declare const GAME_SOUNDS: {
253
253
  readonly rate: 0.8;
254
254
  };
255
255
  };
256
+ readonly CAR_RACING: {
257
+ readonly START: {
258
+ readonly text: "Race started!";
259
+ readonly pitch: 1.2;
260
+ readonly rate: 1.3;
261
+ };
262
+ readonly LANE_SWITCH: {
263
+ readonly text: "Vroom!";
264
+ readonly pitch: 1.4;
265
+ readonly rate: 2.5;
266
+ };
267
+ readonly PASS: {
268
+ readonly text: "Nice!";
269
+ readonly pitch: 1.6;
270
+ readonly rate: 2;
271
+ };
272
+ readonly CRASH: {
273
+ readonly text: "Crash!";
274
+ readonly pitch: 0.7;
275
+ readonly rate: 1.2;
276
+ };
277
+ readonly GAME_OVER: {
278
+ readonly text: "Race over!";
279
+ readonly pitch: 0.9;
280
+ readonly rate: 0.8;
281
+ };
282
+ };
283
+ readonly BLOCK_BLAST: {
284
+ readonly START: {
285
+ readonly text: "Block Blast started!";
286
+ readonly pitch: 1.1;
287
+ readonly rate: 1.2;
288
+ };
289
+ readonly PLACE: {
290
+ readonly text: "Click!";
291
+ readonly pitch: 1.5;
292
+ readonly rate: 2;
293
+ };
294
+ readonly CLEAR: {
295
+ readonly text: "Clear!";
296
+ readonly pitch: 1.7;
297
+ readonly rate: 1.8;
298
+ };
299
+ readonly COMBO: {
300
+ readonly text: "Combo!";
301
+ readonly pitch: 1.9;
302
+ readonly rate: 2;
303
+ };
304
+ readonly GAME_OVER: {
305
+ readonly text: "Game over!";
306
+ readonly pitch: 0.9;
307
+ readonly rate: 0.8;
308
+ };
309
+ };
310
+ readonly POPIT_FIDGET: {
311
+ readonly POP: {
312
+ readonly text: "Pop!";
313
+ readonly pitch: 1.6;
314
+ readonly rate: 2.2;
315
+ };
316
+ };
317
+ readonly PERFECT_CIRCLE: {
318
+ readonly START: {
319
+ readonly text: "Draw a perfect circle!";
320
+ readonly pitch: 1.1;
321
+ readonly rate: 1.2;
322
+ };
323
+ readonly DRAW_START: {
324
+ readonly text: "Swoosh!";
325
+ readonly pitch: 1.3;
326
+ readonly rate: 2;
327
+ };
328
+ readonly DRAW_END: {
329
+ readonly text: "Done!";
330
+ readonly pitch: 1.2;
331
+ readonly rate: 1.5;
332
+ };
333
+ readonly SUCCESS: {
334
+ readonly text: "Perfect!";
335
+ readonly pitch: 1.8;
336
+ readonly rate: 1.8;
337
+ };
338
+ readonly FAIL: {
339
+ readonly text: "Try again!";
340
+ readonly pitch: 0.9;
341
+ readonly rate: 1;
342
+ };
343
+ };
256
344
  };
257
345
  //# sourceMappingURL=SoundsService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SoundsService.d.ts","sourceRoot":"","sources":["../../../../src/services/SoundsService.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAOD,eAAO,MAAM,SAAS,GAAI,aAAa,WAAW,EAAE,cAAc,OAAO,KAAG,IA+B3E,CAAC;AAEF,eAAO,MAAM,aAAa,QAAO,IAIhC,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAa,OAAO,CAAC,OAAO,CAMzD,CAAC;AAGF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgFd,CAAC"}
1
+ {"version":3,"file":"SoundsService.d.ts","sourceRoot":"","sources":["../../../../src/services/SoundsService.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,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