react-native-games 0.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 (269) hide show
  1. package/LICENSE +66 -0
  2. package/README.md +269 -0
  3. package/lib/module/games/balloon-blaster/BalloonBlaster.js +391 -0
  4. package/lib/module/games/balloon-blaster/BalloonBlaster.js.map +1 -0
  5. package/lib/module/games/balloon-blaster/BalloonBlasterService.js +293 -0
  6. package/lib/module/games/balloon-blaster/BalloonBlasterService.js.map +1 -0
  7. package/lib/module/games/balloon-blaster/BalloonBlasterStore.js +156 -0
  8. package/lib/module/games/balloon-blaster/BalloonBlasterStore.js.map +1 -0
  9. package/lib/module/games/balloon-blaster/components/BalloonComponent.js +227 -0
  10. package/lib/module/games/balloon-blaster/components/BalloonComponent.js.map +1 -0
  11. package/lib/module/games/balloon-blaster/components/GameArea.js +42 -0
  12. package/lib/module/games/balloon-blaster/components/GameArea.js.map +1 -0
  13. package/lib/module/games/balloon-blaster/components/GameBackground.js +544 -0
  14. package/lib/module/games/balloon-blaster/components/GameBackground.js.map +1 -0
  15. package/lib/module/games/balloon-blaster/components/GameControls.js +229 -0
  16. package/lib/module/games/balloon-blaster/components/GameControls.js.map +1 -0
  17. package/lib/module/games/balloon-blaster/components/GameOverModal.js +133 -0
  18. package/lib/module/games/balloon-blaster/components/GameOverModal.js.map +1 -0
  19. package/lib/module/games/balloon-blaster/components/ParticleSystem.js +52 -0
  20. package/lib/module/games/balloon-blaster/components/ParticleSystem.js.map +1 -0
  21. package/lib/module/games/balloon-blaster/components/ScoreBoard.js +119 -0
  22. package/lib/module/games/balloon-blaster/components/ScoreBoard.js.map +1 -0
  23. package/lib/module/games/balloon-blaster/components/SliceTrail.js +58 -0
  24. package/lib/module/games/balloon-blaster/components/SliceTrail.js.map +1 -0
  25. package/lib/module/games/balloon-blaster/components/index.js +11 -0
  26. package/lib/module/games/balloon-blaster/components/index.js.map +1 -0
  27. package/lib/module/games/cat-popper/CatPopper.js +230 -0
  28. package/lib/module/games/cat-popper/CatPopper.js.map +1 -0
  29. package/lib/module/games/cat-popper/CatPopperService.js +100 -0
  30. package/lib/module/games/cat-popper/CatPopperService.js.map +1 -0
  31. package/lib/module/games/cat-popper/CatPopperStore.js +113 -0
  32. package/lib/module/games/cat-popper/CatPopperStore.js.map +1 -0
  33. package/lib/module/games/cat-popper/components/CatCharacter.js +281 -0
  34. package/lib/module/games/cat-popper/components/CatCharacter.js.map +1 -0
  35. package/lib/module/games/cat-popper/components/GameBackground.js +531 -0
  36. package/lib/module/games/cat-popper/components/GameBackground.js.map +1 -0
  37. package/lib/module/games/cat-popper/components/GameControls.js +230 -0
  38. package/lib/module/games/cat-popper/components/GameControls.js.map +1 -0
  39. package/lib/module/games/cat-popper/components/GameGrid.js +66 -0
  40. package/lib/module/games/cat-popper/components/GameGrid.js.map +1 -0
  41. package/lib/module/games/cat-popper/components/GameHole.js +183 -0
  42. package/lib/module/games/cat-popper/components/GameHole.js.map +1 -0
  43. package/lib/module/games/cat-popper/components/GameOverModal.js +131 -0
  44. package/lib/module/games/cat-popper/components/GameOverModal.js.map +1 -0
  45. package/lib/module/games/cat-popper/components/ScoreBoard.js +77 -0
  46. package/lib/module/games/cat-popper/components/ScoreBoard.js.map +1 -0
  47. package/lib/module/games/cat-popper/components/index.js +10 -0
  48. package/lib/module/games/cat-popper/components/index.js.map +1 -0
  49. package/lib/module/games/fruit-slicer/FruitSlicer.js +411 -0
  50. package/lib/module/games/fruit-slicer/FruitSlicer.js.map +1 -0
  51. package/lib/module/games/fruit-slicer/FruitSlicerService.js +293 -0
  52. package/lib/module/games/fruit-slicer/FruitSlicerService.js.map +1 -0
  53. package/lib/module/games/fruit-slicer/FruitSlicerStore.js +156 -0
  54. package/lib/module/games/fruit-slicer/FruitSlicerStore.js.map +1 -0
  55. package/lib/module/games/fruit-slicer/components/FruitComponent.js +99 -0
  56. package/lib/module/games/fruit-slicer/components/FruitComponent.js.map +1 -0
  57. package/lib/module/games/fruit-slicer/components/GameArea.js +50 -0
  58. package/lib/module/games/fruit-slicer/components/GameArea.js.map +1 -0
  59. package/lib/module/games/fruit-slicer/components/GameBackground.js +1296 -0
  60. package/lib/module/games/fruit-slicer/components/GameBackground.js.map +1 -0
  61. package/lib/module/games/fruit-slicer/components/GameControls.js +230 -0
  62. package/lib/module/games/fruit-slicer/components/GameControls.js.map +1 -0
  63. package/lib/module/games/fruit-slicer/components/GameOverModal.js +189 -0
  64. package/lib/module/games/fruit-slicer/components/GameOverModal.js.map +1 -0
  65. package/lib/module/games/fruit-slicer/components/ParticleSystem.js +52 -0
  66. package/lib/module/games/fruit-slicer/components/ParticleSystem.js.map +1 -0
  67. package/lib/module/games/fruit-slicer/components/ScoreBoard.js +121 -0
  68. package/lib/module/games/fruit-slicer/components/ScoreBoard.js.map +1 -0
  69. package/lib/module/games/fruit-slicer/components/SliceTrail.js +58 -0
  70. package/lib/module/games/fruit-slicer/components/SliceTrail.js.map +1 -0
  71. package/lib/module/games/fruit-slicer/components/index.js +11 -0
  72. package/lib/module/games/fruit-slicer/components/index.js.map +1 -0
  73. package/lib/module/games/maze-runner/MazeRunner.js +242 -0
  74. package/lib/module/games/maze-runner/MazeRunner.js.map +1 -0
  75. package/lib/module/games/maze-runner/MazeRunnerService.js +560 -0
  76. package/lib/module/games/maze-runner/MazeRunnerService.js.map +1 -0
  77. package/lib/module/games/maze-runner/components/EnhancedBallComponent.js +149 -0
  78. package/lib/module/games/maze-runner/components/EnhancedBallComponent.js.map +1 -0
  79. package/lib/module/games/maze-runner/components/EnhancedGameArea.js +357 -0
  80. package/lib/module/games/maze-runner/components/EnhancedGameArea.js.map +1 -0
  81. package/lib/module/games/maze-runner/components/GameBackground.js +216 -0
  82. package/lib/module/games/maze-runner/components/GameBackground.js.map +1 -0
  83. package/lib/module/games/maze-runner/components/GameControls.js +129 -0
  84. package/lib/module/games/maze-runner/components/GameControls.js.map +1 -0
  85. package/lib/module/games/maze-runner/components/GameOverModal.js +134 -0
  86. package/lib/module/games/maze-runner/components/GameOverModal.js.map +1 -0
  87. package/lib/module/games/maze-runner/components/ScoreBoard.js +81 -0
  88. package/lib/module/games/maze-runner/components/ScoreBoard.js.map +1 -0
  89. package/lib/module/games/maze-runner/components/SkiaPipeComponent.js +209 -0
  90. package/lib/module/games/maze-runner/components/SkiaPipeComponent.js.map +1 -0
  91. package/lib/module/games/maze-runner/components/StaticGameBackground.js +169 -0
  92. package/lib/module/games/maze-runner/components/StaticGameBackground.js.map +1 -0
  93. package/lib/module/games/maze-runner/components/WallComponent.js +90 -0
  94. package/lib/module/games/maze-runner/components/WallComponent.js.map +1 -0
  95. package/lib/module/games/maze-runner/components/index.js +10 -0
  96. package/lib/module/games/maze-runner/components/index.js.map +1 -0
  97. package/lib/module/games/space-traveller/SpaceTraveller.js +393 -0
  98. package/lib/module/games/space-traveller/SpaceTraveller.js.map +1 -0
  99. package/lib/module/games/space-traveller/SpaceTravellerService.js +298 -0
  100. package/lib/module/games/space-traveller/SpaceTravellerService.js.map +1 -0
  101. package/lib/module/games/space-traveller/SpaceTravellerStore.js +139 -0
  102. package/lib/module/games/space-traveller/SpaceTravellerStore.js.map +1 -0
  103. package/lib/module/games/space-traveller/components/AsteroidComponent.js +111 -0
  104. package/lib/module/games/space-traveller/components/AsteroidComponent.js.map +1 -0
  105. package/lib/module/games/space-traveller/components/GameArea.js +75 -0
  106. package/lib/module/games/space-traveller/components/GameArea.js.map +1 -0
  107. package/lib/module/games/space-traveller/components/GameBackground.js +294 -0
  108. package/lib/module/games/space-traveller/components/GameBackground.js.map +1 -0
  109. package/lib/module/games/space-traveller/components/GameControls.js +177 -0
  110. package/lib/module/games/space-traveller/components/GameControls.js.map +1 -0
  111. package/lib/module/games/space-traveller/components/GameOverModal.js +182 -0
  112. package/lib/module/games/space-traveller/components/GameOverModal.js.map +1 -0
  113. package/lib/module/games/space-traveller/components/ParticleComponent.js +34 -0
  114. package/lib/module/games/space-traveller/components/ParticleComponent.js.map +1 -0
  115. package/lib/module/games/space-traveller/components/ScoreBoard.js +143 -0
  116. package/lib/module/games/space-traveller/components/ScoreBoard.js.map +1 -0
  117. package/lib/module/games/space-traveller/components/SettingsModal.js +222 -0
  118. package/lib/module/games/space-traveller/components/SettingsModal.js.map +1 -0
  119. package/lib/module/games/space-traveller/components/Spacecraft3D.js +362 -0
  120. package/lib/module/games/space-traveller/components/Spacecraft3D.js.map +1 -0
  121. package/lib/module/games/space-traveller/components/SpacecraftPath.js +37 -0
  122. package/lib/module/games/space-traveller/components/SpacecraftPath.js.map +1 -0
  123. package/lib/module/games/space-traveller/components/index.js +13 -0
  124. package/lib/module/games/space-traveller/components/index.js.map +1 -0
  125. package/lib/module/index.js +12 -0
  126. package/lib/module/index.js.map +1 -0
  127. package/lib/module/package.json +1 -0
  128. package/lib/module/services/GamesConstants.js +561 -0
  129. package/lib/module/services/GamesConstants.js.map +1 -0
  130. package/lib/module/services/GamesService.js +34 -0
  131. package/lib/module/services/GamesService.js.map +1 -0
  132. package/lib/module/shared/settings/GameSettings.js +295 -0
  133. package/lib/module/shared/settings/GameSettings.js.map +1 -0
  134. package/lib/module/shared/settings/SettingsService.js +119 -0
  135. package/lib/module/shared/settings/SettingsService.js.map +1 -0
  136. package/lib/typescript/package.json +1 -0
  137. package/lib/typescript/src/games/balloon-blaster/BalloonBlaster.d.ts +16 -0
  138. package/lib/typescript/src/games/balloon-blaster/BalloonBlaster.d.ts.map +1 -0
  139. package/lib/typescript/src/games/balloon-blaster/BalloonBlasterService.d.ts +66 -0
  140. package/lib/typescript/src/games/balloon-blaster/BalloonBlasterService.d.ts.map +1 -0
  141. package/lib/typescript/src/games/balloon-blaster/BalloonBlasterStore.d.ts +37 -0
  142. package/lib/typescript/src/games/balloon-blaster/BalloonBlasterStore.d.ts.map +1 -0
  143. package/lib/typescript/src/games/balloon-blaster/components/BalloonComponent.d.ts +10 -0
  144. package/lib/typescript/src/games/balloon-blaster/components/BalloonComponent.d.ts.map +1 -0
  145. package/lib/typescript/src/games/balloon-blaster/components/GameArea.d.ts +17 -0
  146. package/lib/typescript/src/games/balloon-blaster/components/GameArea.d.ts.map +1 -0
  147. package/lib/typescript/src/games/balloon-blaster/components/GameBackground.d.ts +7 -0
  148. package/lib/typescript/src/games/balloon-blaster/components/GameBackground.d.ts.map +1 -0
  149. package/lib/typescript/src/games/balloon-blaster/components/GameControls.d.ts +10 -0
  150. package/lib/typescript/src/games/balloon-blaster/components/GameControls.d.ts.map +1 -0
  151. package/lib/typescript/src/games/balloon-blaster/components/GameOverModal.d.ts +9 -0
  152. package/lib/typescript/src/games/balloon-blaster/components/GameOverModal.d.ts.map +1 -0
  153. package/lib/typescript/src/games/balloon-blaster/components/ParticleSystem.d.ts +8 -0
  154. package/lib/typescript/src/games/balloon-blaster/components/ParticleSystem.d.ts.map +1 -0
  155. package/lib/typescript/src/games/balloon-blaster/components/ScoreBoard.d.ts +9 -0
  156. package/lib/typescript/src/games/balloon-blaster/components/ScoreBoard.d.ts.map +1 -0
  157. package/lib/typescript/src/games/balloon-blaster/components/SliceTrail.d.ts +11 -0
  158. package/lib/typescript/src/games/balloon-blaster/components/SliceTrail.d.ts.map +1 -0
  159. package/lib/typescript/src/games/balloon-blaster/components/index.d.ts +9 -0
  160. package/lib/typescript/src/games/balloon-blaster/components/index.d.ts.map +1 -0
  161. package/lib/typescript/src/games/cat-popper/CatPopper.d.ts +13 -0
  162. package/lib/typescript/src/games/cat-popper/CatPopper.d.ts.map +1 -0
  163. package/lib/typescript/src/games/cat-popper/CatPopperService.d.ts +32 -0
  164. package/lib/typescript/src/games/cat-popper/CatPopperService.d.ts.map +1 -0
  165. package/lib/typescript/src/games/cat-popper/CatPopperStore.d.ts +21 -0
  166. package/lib/typescript/src/games/cat-popper/CatPopperStore.d.ts.map +1 -0
  167. package/lib/typescript/src/games/cat-popper/components/CatCharacter.d.ts +7 -0
  168. package/lib/typescript/src/games/cat-popper/components/CatCharacter.d.ts.map +1 -0
  169. package/lib/typescript/src/games/cat-popper/components/GameBackground.d.ts +7 -0
  170. package/lib/typescript/src/games/cat-popper/components/GameBackground.d.ts.map +1 -0
  171. package/lib/typescript/src/games/cat-popper/components/GameControls.d.ts +10 -0
  172. package/lib/typescript/src/games/cat-popper/components/GameControls.d.ts.map +1 -0
  173. package/lib/typescript/src/games/cat-popper/components/GameGrid.d.ts +13 -0
  174. package/lib/typescript/src/games/cat-popper/components/GameGrid.d.ts.map +1 -0
  175. package/lib/typescript/src/games/cat-popper/components/GameHole.d.ts +12 -0
  176. package/lib/typescript/src/games/cat-popper/components/GameHole.d.ts.map +1 -0
  177. package/lib/typescript/src/games/cat-popper/components/GameOverModal.d.ts +9 -0
  178. package/lib/typescript/src/games/cat-popper/components/GameOverModal.d.ts.map +1 -0
  179. package/lib/typescript/src/games/cat-popper/components/ScoreBoard.d.ts +8 -0
  180. package/lib/typescript/src/games/cat-popper/components/ScoreBoard.d.ts.map +1 -0
  181. package/lib/typescript/src/games/cat-popper/components/index.d.ts +8 -0
  182. package/lib/typescript/src/games/cat-popper/components/index.d.ts.map +1 -0
  183. package/lib/typescript/src/games/fruit-slicer/FruitSlicer.d.ts +16 -0
  184. package/lib/typescript/src/games/fruit-slicer/FruitSlicer.d.ts.map +1 -0
  185. package/lib/typescript/src/games/fruit-slicer/FruitSlicerService.d.ts +67 -0
  186. package/lib/typescript/src/games/fruit-slicer/FruitSlicerService.d.ts.map +1 -0
  187. package/lib/typescript/src/games/fruit-slicer/FruitSlicerStore.d.ts +37 -0
  188. package/lib/typescript/src/games/fruit-slicer/FruitSlicerStore.d.ts.map +1 -0
  189. package/lib/typescript/src/games/fruit-slicer/components/FruitComponent.d.ts +10 -0
  190. package/lib/typescript/src/games/fruit-slicer/components/FruitComponent.d.ts.map +1 -0
  191. package/lib/typescript/src/games/fruit-slicer/components/GameArea.d.ts +17 -0
  192. package/lib/typescript/src/games/fruit-slicer/components/GameArea.d.ts.map +1 -0
  193. package/lib/typescript/src/games/fruit-slicer/components/GameBackground.d.ts +7 -0
  194. package/lib/typescript/src/games/fruit-slicer/components/GameBackground.d.ts.map +1 -0
  195. package/lib/typescript/src/games/fruit-slicer/components/GameControls.d.ts +10 -0
  196. package/lib/typescript/src/games/fruit-slicer/components/GameControls.d.ts.map +1 -0
  197. package/lib/typescript/src/games/fruit-slicer/components/GameOverModal.d.ts +9 -0
  198. package/lib/typescript/src/games/fruit-slicer/components/GameOverModal.d.ts.map +1 -0
  199. package/lib/typescript/src/games/fruit-slicer/components/ParticleSystem.d.ts +8 -0
  200. package/lib/typescript/src/games/fruit-slicer/components/ParticleSystem.d.ts.map +1 -0
  201. package/lib/typescript/src/games/fruit-slicer/components/ScoreBoard.d.ts +9 -0
  202. package/lib/typescript/src/games/fruit-slicer/components/ScoreBoard.d.ts.map +1 -0
  203. package/lib/typescript/src/games/fruit-slicer/components/SliceTrail.d.ts +11 -0
  204. package/lib/typescript/src/games/fruit-slicer/components/SliceTrail.d.ts.map +1 -0
  205. package/lib/typescript/src/games/fruit-slicer/components/index.d.ts +9 -0
  206. package/lib/typescript/src/games/fruit-slicer/components/index.d.ts.map +1 -0
  207. package/lib/typescript/src/games/maze-runner/MazeRunner.d.ts +18 -0
  208. package/lib/typescript/src/games/maze-runner/MazeRunner.d.ts.map +1 -0
  209. package/lib/typescript/src/games/maze-runner/MazeRunnerService.d.ts +82 -0
  210. package/lib/typescript/src/games/maze-runner/MazeRunnerService.d.ts.map +1 -0
  211. package/lib/typescript/src/games/maze-runner/components/EnhancedBallComponent.d.ts +11 -0
  212. package/lib/typescript/src/games/maze-runner/components/EnhancedBallComponent.d.ts.map +1 -0
  213. package/lib/typescript/src/games/maze-runner/components/EnhancedGameArea.d.ts +12 -0
  214. package/lib/typescript/src/games/maze-runner/components/EnhancedGameArea.d.ts.map +1 -0
  215. package/lib/typescript/src/games/maze-runner/components/GameBackground.d.ts +7 -0
  216. package/lib/typescript/src/games/maze-runner/components/GameBackground.d.ts.map +1 -0
  217. package/lib/typescript/src/games/maze-runner/components/GameControls.d.ts +10 -0
  218. package/lib/typescript/src/games/maze-runner/components/GameControls.d.ts.map +1 -0
  219. package/lib/typescript/src/games/maze-runner/components/GameOverModal.d.ts +11 -0
  220. package/lib/typescript/src/games/maze-runner/components/GameOverModal.d.ts.map +1 -0
  221. package/lib/typescript/src/games/maze-runner/components/ScoreBoard.d.ts +8 -0
  222. package/lib/typescript/src/games/maze-runner/components/ScoreBoard.d.ts.map +1 -0
  223. package/lib/typescript/src/games/maze-runner/components/SkiaPipeComponent.d.ts +25 -0
  224. package/lib/typescript/src/games/maze-runner/components/SkiaPipeComponent.d.ts.map +1 -0
  225. package/lib/typescript/src/games/maze-runner/components/StaticGameBackground.d.ts +7 -0
  226. package/lib/typescript/src/games/maze-runner/components/StaticGameBackground.d.ts.map +1 -0
  227. package/lib/typescript/src/games/maze-runner/components/WallComponent.d.ts +10 -0
  228. package/lib/typescript/src/games/maze-runner/components/WallComponent.d.ts.map +1 -0
  229. package/lib/typescript/src/games/maze-runner/components/index.d.ts +8 -0
  230. package/lib/typescript/src/games/maze-runner/components/index.d.ts.map +1 -0
  231. package/lib/typescript/src/games/space-traveller/SpaceTraveller.d.ts +17 -0
  232. package/lib/typescript/src/games/space-traveller/SpaceTraveller.d.ts.map +1 -0
  233. package/lib/typescript/src/games/space-traveller/SpaceTravellerService.d.ts +65 -0
  234. package/lib/typescript/src/games/space-traveller/SpaceTravellerService.d.ts.map +1 -0
  235. package/lib/typescript/src/games/space-traveller/SpaceTravellerStore.d.ts +35 -0
  236. package/lib/typescript/src/games/space-traveller/SpaceTravellerStore.d.ts.map +1 -0
  237. package/lib/typescript/src/games/space-traveller/components/AsteroidComponent.d.ts +9 -0
  238. package/lib/typescript/src/games/space-traveller/components/AsteroidComponent.d.ts.map +1 -0
  239. package/lib/typescript/src/games/space-traveller/components/GameArea.d.ts +17 -0
  240. package/lib/typescript/src/games/space-traveller/components/GameArea.d.ts.map +1 -0
  241. package/lib/typescript/src/games/space-traveller/components/GameBackground.d.ts +7 -0
  242. package/lib/typescript/src/games/space-traveller/components/GameBackground.d.ts.map +1 -0
  243. package/lib/typescript/src/games/space-traveller/components/GameControls.d.ts +10 -0
  244. package/lib/typescript/src/games/space-traveller/components/GameControls.d.ts.map +1 -0
  245. package/lib/typescript/src/games/space-traveller/components/GameOverModal.d.ts +9 -0
  246. package/lib/typescript/src/games/space-traveller/components/GameOverModal.d.ts.map +1 -0
  247. package/lib/typescript/src/games/space-traveller/components/ParticleComponent.d.ts +8 -0
  248. package/lib/typescript/src/games/space-traveller/components/ParticleComponent.d.ts.map +1 -0
  249. package/lib/typescript/src/games/space-traveller/components/ScoreBoard.d.ts +8 -0
  250. package/lib/typescript/src/games/space-traveller/components/ScoreBoard.d.ts.map +1 -0
  251. package/lib/typescript/src/games/space-traveller/components/SettingsModal.d.ts +9 -0
  252. package/lib/typescript/src/games/space-traveller/components/SettingsModal.d.ts.map +1 -0
  253. package/lib/typescript/src/games/space-traveller/components/Spacecraft3D.d.ts +9 -0
  254. package/lib/typescript/src/games/space-traveller/components/Spacecraft3D.d.ts.map +1 -0
  255. package/lib/typescript/src/games/space-traveller/components/SpacecraftPath.d.ts +10 -0
  256. package/lib/typescript/src/games/space-traveller/components/SpacecraftPath.d.ts.map +1 -0
  257. package/lib/typescript/src/games/space-traveller/components/index.d.ts +11 -0
  258. package/lib/typescript/src/games/space-traveller/components/index.d.ts.map +1 -0
  259. package/lib/typescript/src/index.d.ts +7 -0
  260. package/lib/typescript/src/index.d.ts.map +1 -0
  261. package/lib/typescript/src/services/GamesConstants.d.ts +372 -0
  262. package/lib/typescript/src/services/GamesConstants.d.ts.map +1 -0
  263. package/lib/typescript/src/services/GamesService.d.ts +8 -0
  264. package/lib/typescript/src/services/GamesService.d.ts.map +1 -0
  265. package/lib/typescript/src/shared/settings/GameSettings.d.ts +36 -0
  266. package/lib/typescript/src/shared/settings/GameSettings.d.ts.map +1 -0
  267. package/lib/typescript/src/shared/settings/SettingsService.d.ts +32 -0
  268. package/lib/typescript/src/shared/settings/SettingsService.d.ts.map +1 -0
  269. package/package.json +125 -0
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { View, Text, StyleSheet } from 'react-native';
5
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
+ export const ScoreBoard = ({
7
+ score,
8
+ timeLeft
9
+ }) => {
10
+ return /*#__PURE__*/_jsxs(View, {
11
+ style: styles.scoreBoard,
12
+ children: [/*#__PURE__*/_jsxs(View, {
13
+ style: styles.scoreSection,
14
+ children: [/*#__PURE__*/_jsx(Text, {
15
+ style: styles.scoreLabel,
16
+ children: "Score"
17
+ }), /*#__PURE__*/_jsx(Text, {
18
+ style: styles.scoreValue,
19
+ children: score
20
+ })]
21
+ }), /*#__PURE__*/_jsxs(View, {
22
+ style: styles.scoreSection,
23
+ children: [/*#__PURE__*/_jsx(Text, {
24
+ style: styles.scoreLabel,
25
+ children: "Time"
26
+ }), /*#__PURE__*/_jsx(Text, {
27
+ style: styles.timeValue,
28
+ children: timeLeft
29
+ })]
30
+ })]
31
+ });
32
+ };
33
+ const styles = StyleSheet.create({
34
+ scoreBoard: {
35
+ flexDirection: 'row',
36
+ justifyContent: 'space-between',
37
+ alignItems: 'center',
38
+ backgroundColor: 'rgba(22, 101, 52, 0.4)',
39
+ // Semi-transparent green
40
+ borderRadius: 16,
41
+ padding: 20,
42
+ marginBottom: 20,
43
+ borderWidth: 1,
44
+ borderColor: 'rgba(255, 255, 255, 0.3)',
45
+ // Subtle white border
46
+ shadowColor: '#000',
47
+ shadowOffset: {
48
+ width: 0,
49
+ height: 2
50
+ },
51
+ shadowOpacity: 0.15,
52
+ // Reduced shadow opacity
53
+ shadowRadius: 3.84,
54
+ elevation: 3 // Reduced elevation
55
+ },
56
+ scoreSection: {
57
+ alignItems: 'center',
58
+ flex: 1
59
+ },
60
+ scoreLabel: {
61
+ fontSize: 18,
62
+ fontWeight: 'bold',
63
+ color: '#ffffff',
64
+ marginBottom: 4
65
+ },
66
+ scoreValue: {
67
+ fontSize: 30,
68
+ fontWeight: 'bold',
69
+ color: '#92400e'
70
+ },
71
+ timeValue: {
72
+ fontSize: 30,
73
+ fontWeight: 'bold',
74
+ color: '#92400e'
75
+ }
76
+ });
77
+ //# sourceMappingURL=ScoreBoard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","Text","StyleSheet","jsx","_jsx","jsxs","_jsxs","ScoreBoard","score","timeLeft","style","styles","scoreBoard","children","scoreSection","scoreLabel","scoreValue","timeValue","create","flexDirection","justifyContent","alignItems","backgroundColor","borderRadius","padding","marginBottom","borderWidth","borderColor","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","flex","fontSize","fontWeight","color"],"sourceRoot":"../../../../../src","sources":["games/cat-popper/components/ScoreBoard.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAOtD,OAAO,MAAMC,UAAqC,GAAGA,CAAC;EAAEC,KAAK;EAAEC;AAAS,CAAC,KAAK;EAC5E,oBACEH,KAAA,CAACN,IAAI;IAACU,KAAK,EAAEC,MAAM,CAACC,UAAW;IAAAC,QAAA,gBAC7BP,KAAA,CAACN,IAAI;MAACU,KAAK,EAAEC,MAAM,CAACG,YAAa;MAAAD,QAAA,gBAC/BT,IAAA,CAACH,IAAI;QAACS,KAAK,EAAEC,MAAM,CAACI,UAAW;QAAAF,QAAA,EAAC;MAAK,CAAM,CAAC,eAC5CT,IAAA,CAACH,IAAI;QAACS,KAAK,EAAEC,MAAM,CAACK,UAAW;QAAAH,QAAA,EAAEL;MAAK,CAAO,CAAC;IAAA,CAC1C,CAAC,eACPF,KAAA,CAACN,IAAI;MAACU,KAAK,EAAEC,MAAM,CAACG,YAAa;MAAAD,QAAA,gBAC/BT,IAAA,CAACH,IAAI;QAACS,KAAK,EAAEC,MA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Hole.js";
5
+ export { GameGrid } from "./GameGrid.js";
6
+ export { GameControls } from "./GameControls.js";
7
+ export { GameOverModal } from "./GameOverModal.js";
8
+ export { CatCharacter } from "./CatCharacter.js";
9
+ export { GameBackground } from "./GameBackground.js";
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ScoreBoard","GameHole","GameGrid","GameControls","GameOverModal","CatCharacter","GameBackground"],"sourceRoot":"../../../../../src","sources":["games/cat-popper/components/index.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,iBAAc;AACzC,SAASC,QAAQ,QAAQ,eAAY;AACrC,SAASC,QAAQ,QAAQ,eAAY;AACrC,SAASC,YAAY,QAAQ,mBAAgB;AAC7C,SAASC,aAAa,QAAQ,oBAAiB;AAC/C,SAASC,YAAY,QAAQ,mBAAgB;AAC7C,SAASC,cAAc,QAAQ,qBAAkB","ignoreList":[]}
@@ -0,0 +1,411 @@
1
+ "use strict";
2
+
3
+ import React, { useEffect, useRef } from 'react';
4
+ import { View, Dimensions, StyleSheet, Modal } from 'react-native';
5
+ import { runOnJS } from 'react-native-reanimated';
6
+ import { Gesture, GestureDetector, GestureHandlerRootView } from 'react-native-gesture-handler';
7
+ import * as Speech from 'expo-speech';
8
+ import * as Haptics from 'expo-haptics';
9
+ import { useFruitSlicerStore } from "./FruitSlicerStore.js";
10
+ import { createFruitSlicerService, GAME_CONFIG } from "./FruitSlicerService.js";
11
+ import { ScoreBoard, GameArea, GameControls, GameOverModal, GameBackground } from "./components/index.js";
12
+ // Define game-specific types and constants locally
13
+
14
+ const DEFAULT_FRUIT_SLICER_SETTINGS = {
15
+ gameDuration: 120,
16
+ difficulty: 'medium',
17
+ soundEnabled: true,
18
+ hapticEnabled: true
19
+ };
20
+ const getDifficultySpawnInterval = difficulty => {
21
+ const intervals = {
22
+ easy: 2000,
23
+ medium: 1500,
24
+ hard: 1000
25
+ };
26
+ return intervals[difficulty];
27
+ };
28
+ import { GameSettings } from "../../shared/settings/GameSettings.js";
29
+ import { createGameSettingsStore } from "../../shared/settings/SettingsService.js";
30
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
31
+ const {
32
+ height
33
+ } = Dimensions.get('window');
34
+ export const FruitSlicer = ({
35
+ settings: externalSettings = DEFAULT_FRUIT_SLICER_SETTINGS,
36
+ onSettingsChange,
37
+ showSettingsModal = false,
38
+ onToggleSettingsModal
39
+ }) => {
40
+ // Create unified game settings store
41
+ const useSettings = React.useMemo(() => {
42
+ return createGameSettingsStore(externalSettings, onSettingsChange);
43
+ }, []); // Empty dependency array - create store only once
44
+
45
+ const settings = useSettings();
46
+
47
+ // Track previous settings to prevent infinite loops
48
+ const prevSettingsRef = React.useRef(externalSettings);
49
+
50
+ // Update settings when external settings change (only if actually different)
51
+ React.useEffect(() => {
52
+ if (!externalSettings) return;
53
+ const prev = prevSettingsRef.current;
54
+ if (!prev) {
55
+ settings.updateSettings(externalSettings);
56
+ prevSettingsRef.current = externalSettings;
57
+ return;
58
+ }
59
+ const hasChanged = prev.difficulty !== externalSettings.difficulty || prev.soundEnabled !== externalSettings.soundEnabled || prev.hapticEnabled !== externalSettings.hapticEnabled;
60
+ if (hasChanged) {
61
+ settings.updateSettings(externalSettings);
62
+ prevSettingsRef.current = externalSettings;
63
+ }
64
+ }, [externalSettings, settings]);
65
+ const {
66
+ score,
67
+ timeLeft,
68
+ isPlaying,
69
+ gameOver,
70
+ lives,
71
+ fruits,
72
+ slicePath,
73
+ isSlicing,
74
+ startGame,
75
+ stopGame,
76
+ resetGame,
77
+ sliceFruit,
78
+ decrementTime,
79
+ addFruit,
80
+ removeFruit,
81
+ updateFruit,
82
+ setSlicePath,
83
+ setIsSlicing,
84
+ resetCombo,
85
+ loseLife,
86
+ addLife
87
+ } = useFruitSlicerStore();
88
+
89
+ // Simple animation tracking without shared values
90
+ const fruitAnimations = useRef(new Map()).current;
91
+ const particleAnimations = useRef(new Map()).current;
92
+
93
+ // Game service
94
+ const gameService = useRef(createFruitSlicerService(fruitAnimations, particleAnimations)).current;
95
+
96
+ // Slice path tracking
97
+ const currentSlicePath = useRef([]);
98
+
99
+ // Helper functions for gesture handling
100
+ const checkFruitIntersections = slicePath => {
101
+ const currentFruits = useFruitSlicerStore.getState().fruits;
102
+ currentFruits.forEach(fruit => {
103
+ if (!fruit.isSliced && gameService.checkFruitSlice(fruit, slicePath)) {
104
+ handleFruitSlice(fruit.id);
105
+ }
106
+ });
107
+ };
108
+ const clearSlicePath = () => {
109
+ setTimeout(() => {
110
+ currentSlicePath.current = [];
111
+ setSlicePath([]);
112
+ }, 200);
113
+ };
114
+
115
+ // Sound and haptic feedback
116
+ const playSliceSound = _fruitType => {
117
+ if (settings.soundEnabled) {
118
+ Speech.speak('Swoosh!', {
119
+ pitch: 1.5,
120
+ rate: 2.5,
121
+ volume: 0.6
122
+ });
123
+ }
124
+ // Always provide haptic feedback for better game feel
125
+ Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light);
126
+ };
127
+ const playBombSound = () => {
128
+ if (settings.soundEnabled) {
129
+ Speech.speak('Boom!', {
130
+ pitch: 0.8,
131
+ rate: 1.5,
132
+ volume: 0.8
133
+ });
134
+ }
135
+ // Always provide haptic feedback for bombs
136
+ Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Heavy);
137
+ };
138
+
139
+ // const playComboSound = (_comboCount: number) => {
140
+ // if (settings.soundEnabled) {
141
+ // Speech.speak(`${_comboCount} combo!`, {
142
+ // pitch: 1.8,
143
+ // rate: 2.0,
144
+ // volume: 0.7
145
+ // });
146
+ // }
147
+ // // Always provide haptic feedback for combos
148
+ // Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Medium);
149
+ // };
150
+
151
+ // Game control functions
152
+ const handleStartGame = () => {
153
+ startGame(settings.gameDuration);
154
+ gameService.resetAnimations();
155
+ gameService.startGameTimer(decrementTime);
156
+ gameService.startFruitSpawning(spawnFruit, getDifficultySpawnInterval(settings.difficulty));
157
+ gameService.startPhysicsLoop(updateFruit, removeFruit, () => useFruitSlicerStore.getState().fruits);
158
+ };
159
+ const handleStopGame = () => {
160
+ stopGame();
161
+ gameService.cleanup();
162
+ gameService.resetAnimations();
163
+ currentSlicePath.current = [];
164
+ setSlicePath([]);
165
+ setIsSlicing(false);
166
+ };
167
+ const handleResetGame = () => {
168
+ gameService.cleanup();
169
+ resetGame();
170
+ gameService.resetAnimations();
171
+ currentSlicePath.current = [];
172
+ setSlicePath([]);
173
+ setIsSlicing(false);
174
+ };
175
+
176
+ // Fruit spawning
177
+ const spawnFruit = fruit => {
178
+ addFruit(fruit);
179
+ };
180
+
181
+ // Fruit slicing logic
182
+ const handleFruitSlice = fruitId => {
183
+ // Double-check game state to prevent race conditions
184
+ const currentState = useFruitSlicerStore.getState();
185
+ if (!currentState.isPlaying || currentState.gameOver) return;
186
+ const fruit = fruits.find(f => f.id === fruitId);
187
+ if (!fruit || fruit.isSliced) return;
188
+
189
+ // Handle different fruit types BEFORE marking as sliced
190
+ if (fruit.isBomb) {
191
+ // Bomb hit - lose life and end combo
192
+ playBombSound();
193
+
194
+ // Check current state again before losing life
195
+ const stateBeforeLoss = useFruitSlicerStore.getState();
196
+ if (stateBeforeLoss.lives > 0 && stateBeforeLoss.isPlaying && !stateBeforeLoss.gameOver) {
197
+ loseLife();
198
+ resetCombo();
199
+ }
200
+
201
+ // Create explosion particles
202
+ gameService.createSliceParticles(fruit);
203
+
204
+ // Mark bomb as sliced after processing
205
+ updateFruit(fruitId, {
206
+ isSliced: true
207
+ });
208
+ } else {
209
+ // Handle different fruit types with simplified mechanics
210
+ playSliceSound(fruit.type.name);
211
+ if (fruit.isBonus) {
212
+ // Star fruit - add a life instead of points
213
+ addLife();
214
+ playSliceSound('bonus life!');
215
+ // Mark star as sliced after processing
216
+ updateFruit(fruitId, {
217
+ isSliced: true
218
+ });
219
+ } else if (fruit.isFreeze) {
220
+ // Freeze fruit - slice and mark (sliceFruit handles marking)
221
+ sliceFruit(fruitId);
222
+ } else {
223
+ // Regular fruit - add 10 points (sliceFruit handles marking)
224
+ sliceFruit(fruitId);
225
+ }
226
+
227
+ // Create slice particles
228
+ gameService.createSliceParticles(fruit);
229
+
230
+ // Remove combo system - no more combo sounds
231
+ }
232
+
233
+ // Remove fruit after animation
234
+ setTimeout(() => {
235
+ removeFruit(fruitId);
236
+ fruitAnimations.delete(fruitId);
237
+ }, 500);
238
+ };
239
+
240
+ // Gesture handling for slicing
241
+ const handleGestureStart = event => {
242
+ if (!isPlaying) return;
243
+ currentSlicePath.current = [{
244
+ x: event.x,
245
+ y: event.y
246
+ }];
247
+ setIsSlicing(true);
248
+ setSlicePath([{
249
+ x: event.x,
250
+ y: event.y
251
+ }]);
252
+
253
+ // Light haptic feedback on slice start
254
+ Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light);
255
+ };
256
+ const handleGestureUpdate = event => {
257
+ if (!isPlaying) return;
258
+ const newPoint = {
259
+ x: event.x,
260
+ y: event.y
261
+ };
262
+ currentSlicePath.current.push(newPoint);
263
+
264
+ // Limit slice path length for performance
265
+ if (currentSlicePath.current.length > GAME_CONFIG.SLICE_TRAIL_LENGTH) {
266
+ currentSlicePath.current.shift();
267
+ }
268
+ setSlicePath([...currentSlicePath.current]);
269
+
270
+ // Check for fruit intersections
271
+ checkFruitIntersections(currentSlicePath.current);
272
+ };
273
+ const handleGestureEnd = () => {
274
+ if (!isPlaying) return;
275
+ setIsSlicing(false);
276
+ clearSlicePath();
277
+ };
278
+ const panGesture = Gesture.Pan().onStart(event => {
279
+ runOnJS(handleGestureStart)(event);
280
+ }).onUpdate(event => {
281
+ runOnJS(handleGestureUpdate)(event);
282
+ }).onEnd(() => {
283
+ runOnJS(handleGestureEnd)();
284
+ });
285
+
286
+ // Track fruit animations without shared values
287
+ useEffect(() => {
288
+ fruits.forEach(fruit => {
289
+ if (!fruitAnimations.has(fruit.id)) {
290
+ // Simple animation state tracking
291
+ fruitAnimations.set(fruit.id, {
292
+ scale: 1,
293
+ opacity: 1
294
+ });
295
+ }
296
+ });
297
+ }, [fruits]);
298
+
299
+ // Removed combo timeout effect since we're using simplified scoring
300
+
301
+ // Initialize and cleanup
302
+ useEffect(() => {
303
+ return () => {
304
+ gameService.cleanup();
305
+ };
306
+ }, []);
307
+
308
+ // Cleanup when game ends (gameOver becomes true)
309
+ useEffect(() => {
310
+ if (gameOver) {
311
+ // Use a timeout to ensure state has settled
312
+ const cleanupTimeout = setTimeout(() => {
313
+ // Immediately stop all game activities
314
+ gameService.cleanup();
315
+
316
+ // Clear all existing fruits from the screen
317
+ const currentFruits = [...fruits]; // Create a copy to avoid mutation during iteration
318
+ currentFruits.forEach(fruit => {
319
+ removeFruit(fruit.id);
320
+ fruitAnimations.delete(fruit.id);
321
+ });
322
+
323
+ // Clear slice path
324
+ currentSlicePath.current = [];
325
+ setSlicePath([]);
326
+ setIsSlicing(false);
327
+ }, 50); // Small delay to ensure state consistency
328
+
329
+ return () => clearTimeout(cleanupTimeout);
330
+ }
331
+ return () => {}; // Return empty cleanup function when condition is not met
332
+ }, [gameOver, fruits, removeFruit]); // Include necessary dependencies
333
+
334
+ // Auto-remove fruits that fall off screen
335
+ useEffect(() => {
336
+ if (!isPlaying || gameOver) return;
337
+ const interval = setInterval(() => {
338
+ // Check if game is still active before processing
339
+ const currentState = useFruitSlicerStore.getState();
340
+ if (!currentState.isPlaying || currentState.gameOver) {
341
+ return;
342
+ }
343
+ fruits.forEach(fruit => {
344
+ if (fruit.position.y > height + 100 && !fruit.isSliced) {
345
+ // Fruit fell off screen without being sliced
346
+ if (!fruit.isBomb && !fruit.isBonus && !fruit.isFreeze) {
347
+ // Only lose life for regular fruits and if game is still active
348
+ const livesBeforeLoss = useFruitSlicerStore.getState().lives;
349
+ if (livesBeforeLoss > 0) {
350
+ loseLife();
351
+ // The useEffect will handle cleanup when gameOver becomes true
352
+ }
353
+ }
354
+ removeFruit(fruit.id);
355
+ fruitAnimations.delete(fruit.id);
356
+ }
357
+ });
358
+ }, 100);
359
+ return () => clearInterval(interval);
360
+ }, [isPlaying, gameOver, fruits, removeFruit, loseLife]);
361
+ return /*#__PURE__*/_jsx(GestureHandlerRootView, {
362
+ style: {
363
+ flex: 1
364
+ },
365
+ children: /*#__PURE__*/_jsx(View, {
366
+ style: styles.container,
367
+ children: /*#__PURE__*/_jsxs(GameBackground, {
368
+ children: [/*#__PURE__*/_jsx(ScoreBoard, {
369
+ score: score,
370
+ timeLeft: timeLeft,
371
+ lives: lives
372
+ }), /*#__PURE__*/_jsx(GestureDetector, {
373
+ gesture: panGesture,
374
+ children: /*#__PURE__*/_jsx(GameArea, {
375
+ fruits: fruits,
376
+ fruitAnimations: fruitAnimations,
377
+ slicePath: slicePath,
378
+ isSlicing: isSlicing,
379
+ particles: gameService.getParticles(),
380
+ onFruitSlice: handleFruitSlice
381
+ })
382
+ }), /*#__PURE__*/_jsx(GameControls, {
383
+ isPlaying: isPlaying,
384
+ gameOver: gameOver,
385
+ onStartGame: handleStartGame,
386
+ onStopGame: handleStopGame
387
+ }), /*#__PURE__*/_jsx(GameOverModal, {
388
+ isVisible: gameOver,
389
+ score: score,
390
+ onPlayAgain: handleResetGame
391
+ }), /*#__PURE__*/_jsx(Modal, {
392
+ visible: showSettingsModal,
393
+ animationType: "slide",
394
+ presentationStyle: "pageSheet",
395
+ onRequestClose: onToggleSettingsModal,
396
+ children: /*#__PURE__*/_jsx(GameSettings, {
397
+ gameId: "fruit-ninja",
398
+ onClose: onToggleSettingsModal || (() => {}),
399
+ settingsStore: settings
400
+ })
401
+ })]
402
+ })
403
+ })
404
+ });
405
+ };
406
+ const styles = StyleSheet.create({
407
+ container: {
408
+ flex: 1
409
+ }
410
+ });
411
+ //# sourceMappingURL=FruitSlicer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useEffect","useRef","View","Dimensions","StyleSheet","Modal","runOnJS","Gesture","GestureDetector","GestureHandlerRootView","Speech","Haptics","useFruitSlicerStore","createFruitSlicerService","GAME_CONFIG","ScoreBoard","GameArea","GameControls","GameOverModal","GameBackground","DEFAULT_FRUIT_SLICER_SETTINGS","gameDuration","difficulty","soundEnabled","hapticEnabled","getDifficultySpawnInterval","intervals","easy","medium","hard","GameSettings","createGameSettingsStore","jsx","_jsx","jsxs","_jsxs","height","get","FruitSlicer","settings","externalSettings","onSettingsChange","showSettingsModal","onToggleSettingsModal","useSettings","useMemo","prevSettingsRef","prev","current","updateSettings","hasChanged","score","timeLeft","isPlaying","gameOver","lives","fruits","slicePath","isSlicing","startGame","stopGame","resetGame","sliceFruit","decrementTime","addFruit","removeFruit","updateFruit","setSlicePath","setIsSlicing","resetCombo","loseLife","addLife","fruitAnimations","Map","particleAnimations","gameService","currentSlicePath","checkFruitIntersections","currentFruits","getState","forEach","fruit","isSliced","checkFruitSlice","handleFruitSlice","id","clearSlicePath","setTimeout","playSliceSound","_fruitType","speak","pitch","rate","volume","impactAsync","ImpactFeedbackStyle","Light","playBombSound","Heavy","handleStartGame","resetAnimations","startGameTimer","startFruitSpawning","spawnFruit","startPhysicsLoop","handleStopGame","cleanup","handleResetGame","fruitId","currentState","find","f","isBomb","stateBeforeLoss","createSliceParticles","type","name","isBonus","isFreeze","delete","handleGestureStart","event","x","y","handleGestureUpdate","newPoint","push","length","SLICE_TRAIL_LENGTH","shift","handleGestureEnd","panGesture","Pan","onStart","onUpdate","onEnd","has","set","scale","opacity","cleanupTimeout","clearTimeout","interval","setInterval","position","livesBeforeLoss","clearInterval","style","flex","children","styles","container","gesture","particles","getParticles","onFruitSlice","onStartGame","onStopGame","isVisible","onPlayAgain","visible","animationType","presentationStyle","onRequestClose","gameId","onClose","settingsStore","create"],"sourceRoot":"../../../../src","sources":["games/fruit-slicer/FruitSlicer.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,MAAM,QAAQ,OAAO;AAChD,SAASC,IAAI,EAAEC,UAAU,EAAEC,UAAU,EAAEC,KAAK,QAAQ,cAAc;AAClE,SAASC,OAAO,QAAQ,yBAAyB;AACjD,SAASC,OAA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