@cyrilverloop/codingame-configuration 1.20.0 → 1.22.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 (274) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/config/easy/ChocolateBarCut/code/CGCode.cpp +24 -0
  3. package/config/easy/ChocolateBarCut/code/CGCode.java +22 -0
  4. package/config/easy/ChocolateBarCut/code/CGCode.js +13 -0
  5. package/config/easy/ChocolateBarCut/code/CGCode.php +14 -0
  6. package/config/easy/ChocolateBarCut/code/CGCode.ts +13 -0
  7. package/config/easy/ChocolateBarCut/config.json +48 -0
  8. package/config/easy/ChocolateBarCut/input/01 - Small.txt +7 -0
  9. package/config/easy/ChocolateBarCut/input/02 - Line.txt +8 -0
  10. package/config/easy/ChocolateBarCut/input/03 - Without vertices.txt +9 -0
  11. package/config/easy/ChocolateBarCut/input/04 - Some vertices.txt +11 -0
  12. package/config/easy/ChocolateBarCut/input/05 - Big.txt +11 -0
  13. package/config/easy/ChocolateBarCut/input/06 - Huge.txt +11 -0
  14. package/config/easy/ChocolateBarCut/input/07 - Astronomical.txt +11 -0
  15. package/config/easy/ChocolateBarCut/input/08 - Gargantuan.txt +51 -0
  16. package/config/easy/ChocolateBarCut/output/01 - Small.txt +6 -0
  17. package/config/easy/ChocolateBarCut/output/02 - Line.txt +7 -0
  18. package/config/easy/ChocolateBarCut/output/03 - Without vertices.txt +8 -0
  19. package/config/easy/ChocolateBarCut/output/04 - Some vertices.txt +10 -0
  20. package/config/easy/ChocolateBarCut/output/05 - Big.txt +10 -0
  21. package/config/easy/ChocolateBarCut/output/06 - Huge.txt +10 -0
  22. package/config/easy/ChocolateBarCut/output/07 - Astronomical.txt +10 -0
  23. package/config/easy/ChocolateBarCut/output/08 - Gargantuan.txt +50 -0
  24. package/config/easy/GaussAndTheStolenNumbers/code/CGCode.cpp +21 -0
  25. package/config/easy/GaussAndTheStolenNumbers/code/CGCode.java +18 -0
  26. package/config/easy/GaussAndTheStolenNumbers/code/CGCode.js +8 -0
  27. package/config/easy/GaussAndTheStolenNumbers/code/CGCode.php +9 -0
  28. package/config/easy/GaussAndTheStolenNumbers/code/CGCode.ts +8 -0
  29. package/config/easy/GaussAndTheStolenNumbers/config.json +33 -0
  30. package/config/easy/GaussAndTheStolenNumbers/input/01 - General number.txt +3 -0
  31. package/config/easy/GaussAndTheStolenNumbers/input/02 - Lucky 7.txt +3 -0
  32. package/config/easy/GaussAndTheStolenNumbers/input/03 - Lets go bigger!.txt +3 -0
  33. package/config/easy/GaussAndTheStolenNumbers/input/04 - Extreme ends.txt +3 -0
  34. package/config/easy/GaussAndTheStolenNumbers/input/05 - Middle pair.txt +3 -0
  35. package/config/easy/GaussAndTheStolenNumbers/output/01 - General number.txt +1 -0
  36. package/config/easy/GaussAndTheStolenNumbers/output/02 - Lucky 7.txt +1 -0
  37. package/config/easy/GaussAndTheStolenNumbers/output/03 - Lets go bigger!.txt +1 -0
  38. package/config/easy/GaussAndTheStolenNumbers/output/04 - Extreme ends.txt +1 -0
  39. package/config/easy/GaussAndTheStolenNumbers/output/05 - Middle pair.txt +1 -0
  40. package/config/easy/LinesIntersections/code/CGCode.cpp +24 -0
  41. package/config/easy/LinesIntersections/code/CGCode.java +22 -0
  42. package/config/easy/LinesIntersections/code/CGCode.js +13 -0
  43. package/config/easy/LinesIntersections/code/CGCode.php +11 -0
  44. package/config/easy/LinesIntersections/code/CGCode.ts +13 -0
  45. package/config/easy/LinesIntersections/config.json +68 -0
  46. package/config/easy/LinesIntersections/input/01 - Triangle.txt +4 -0
  47. package/config/easy/LinesIntersections/input/02 - Two intersects.txt +3 -0
  48. package/config/easy/LinesIntersections/input/03 - Two parallel.txt +3 -0
  49. package/config/easy/LinesIntersections/input/04 - Square.txt +5 -0
  50. package/config/easy/LinesIntersections/input/05 - Square crossed.txt +7 -0
  51. package/config/easy/LinesIntersections/input/06 - One line.txt +2 -0
  52. package/config/easy/LinesIntersections/input/07 - Zero.txt +1 -0
  53. package/config/easy/LinesIntersections/input/08 - 10 lines.txt +11 -0
  54. package/config/easy/LinesIntersections/input/09 - 10 lines with maximum intersections.txt +11 -0
  55. package/config/easy/LinesIntersections/input/10 - 10 coincident lines.txt +11 -0
  56. package/config/easy/LinesIntersections/input/11 - All cases.txt +11 -0
  57. package/config/easy/LinesIntersections/input/12 - Star.txt +9 -0
  58. package/config/easy/LinesIntersections/output/01 - Triangle.txt +4 -0
  59. package/config/easy/LinesIntersections/output/02 - Two intersects.txt +2 -0
  60. package/config/easy/LinesIntersections/output/03 - Two parallel.txt +1 -0
  61. package/config/easy/LinesIntersections/output/04 - Square.txt +5 -0
  62. package/config/easy/LinesIntersections/output/05 - Square crossed.txt +6 -0
  63. package/config/easy/LinesIntersections/output/06 - One line.txt +1 -0
  64. package/config/easy/LinesIntersections/output/07 - Zero.txt +1 -0
  65. package/config/easy/LinesIntersections/output/08 - 10 lines.txt +39 -0
  66. package/config/easy/LinesIntersections/output/09 - 10 lines with maximum intersections.txt +46 -0
  67. package/config/easy/LinesIntersections/output/10 - 10 coincident lines.txt +1 -0
  68. package/config/easy/LinesIntersections/output/11 - All cases.txt +14 -0
  69. package/config/easy/LinesIntersections/output/12 - Star.txt +2 -0
  70. package/config/easy/SetProbabilitiesCardGame/code/CGCode.cpp +24 -0
  71. package/config/easy/SetProbabilitiesCardGame/code/CGCode.java +22 -0
  72. package/config/easy/SetProbabilitiesCardGame/code/CGCode.js +13 -0
  73. package/config/easy/SetProbabilitiesCardGame/code/CGCode.php +12 -0
  74. package/config/easy/SetProbabilitiesCardGame/code/CGCode.ts +13 -0
  75. package/config/easy/SetProbabilitiesCardGame/config.json +48 -0
  76. package/config/easy/SetProbabilitiesCardGame/input/01 - A simple start.txt +3 -0
  77. package/config/easy/SetProbabilitiesCardGame/input/02 - A few more cards.txt +6 -0
  78. package/config/easy/SetProbabilitiesCardGame/input/03 - And a few more....txt +9 -0
  79. package/config/easy/SetProbabilitiesCardGame/input/04 - A classic game of set.txt +13 -0
  80. package/config/easy/SetProbabilitiesCardGame/input/05 - Lots of cards.txt +16 -0
  81. package/config/easy/SetProbabilitiesCardGame/input/06 - Almost guaranteed.txt +20 -0
  82. package/config/easy/SetProbabilitiesCardGame/input/07 - No need to draw a card!.txt +8 -0
  83. package/config/easy/SetProbabilitiesCardGame/input/08 - I need to draw a card.txt +21 -0
  84. package/config/easy/SetProbabilitiesCardGame/output/01 - A simple start.txt +1 -0
  85. package/config/easy/SetProbabilitiesCardGame/output/02 - A few more cards.txt +1 -0
  86. package/config/easy/SetProbabilitiesCardGame/output/03 - And a few more....txt +1 -0
  87. package/config/easy/SetProbabilitiesCardGame/output/04 - A classic game of set.txt +1 -0
  88. package/config/easy/SetProbabilitiesCardGame/output/05 - Lots of cards.txt +1 -0
  89. package/config/easy/SetProbabilitiesCardGame/output/06 - Almost guaranteed.txt +1 -0
  90. package/config/easy/SetProbabilitiesCardGame/output/07 - No need to draw a card!.txt +1 -0
  91. package/config/easy/SetProbabilitiesCardGame/output/08 - I need to draw a card.txt +1 -0
  92. package/config/easy/SynchronizedScrambles/code/CGCode.cpp +18 -0
  93. package/config/easy/SynchronizedScrambles/code/CGCode.java +17 -0
  94. package/config/easy/SynchronizedScrambles/code/CGCode.js +8 -0
  95. package/config/easy/SynchronizedScrambles/code/CGCode.php +7 -0
  96. package/config/easy/SynchronizedScrambles/code/CGCode.ts +8 -0
  97. package/config/easy/SynchronizedScrambles/config.json +33 -0
  98. package/config/easy/SynchronizedScrambles/input/01 - Just a minute.txt +1 -0
  99. package/config/easy/SynchronizedScrambles/input/02 - Two instants per day.txt +1 -0
  100. package/config/easy/SynchronizedScrambles/input/03 - 10-minute window.txt +1 -0
  101. package/config/easy/SynchronizedScrambles/input/04 - Many random points.txt +1 -0
  102. package/config/easy/SynchronizedScrambles/input/05 - Almost an hour.txt +1 -0
  103. package/config/easy/SynchronizedScrambles/output/01 - Just a minute.txt +1 -0
  104. package/config/easy/SynchronizedScrambles/output/02 - Two instants per day.txt +2 -0
  105. package/config/easy/SynchronizedScrambles/output/03 - 10-minute window.txt +10 -0
  106. package/config/easy/SynchronizedScrambles/output/04 - Many random points.txt +16 -0
  107. package/config/easy/SynchronizedScrambles/output/05 - Almost an hour.txt +59 -0
  108. package/config/hard/NRamanujanPrime/code/CGCode.cpp +17 -0
  109. package/config/hard/NRamanujanPrime/code/CGCode.java +16 -0
  110. package/config/hard/NRamanujanPrime/code/CGCode.js +6 -0
  111. package/config/hard/NRamanujanPrime/code/CGCode.php +7 -0
  112. package/config/hard/NRamanujanPrime/code/CGCode.ts +6 -0
  113. package/config/hard/NRamanujanPrime/config.json +48 -0
  114. package/config/hard/NRamanujanPrime/input/01 - test 1.txt +1 -0
  115. package/config/hard/NRamanujanPrime/input/02 - test 2.txt +1 -0
  116. package/config/hard/NRamanujanPrime/input/03 - test 3.txt +1 -0
  117. package/config/hard/NRamanujanPrime/input/04 - test 4.txt +1 -0
  118. package/config/hard/NRamanujanPrime/input/05 - test 5.txt +1 -0
  119. package/config/hard/NRamanujanPrime/input/06 - test 6.txt +1 -0
  120. package/config/hard/NRamanujanPrime/input/07 - test 7.txt +1 -0
  121. package/config/hard/NRamanujanPrime/input/08 - test 8.txt +1 -0
  122. package/config/hard/NRamanujanPrime/output/01 - test 1.txt +1 -0
  123. package/config/hard/NRamanujanPrime/output/02 - test 2.txt +1 -0
  124. package/config/hard/NRamanujanPrime/output/03 - test 3.txt +1 -0
  125. package/config/hard/NRamanujanPrime/output/04 - test 4.txt +1 -0
  126. package/config/hard/NRamanujanPrime/output/05 - test 5.txt +1 -0
  127. package/config/hard/NRamanujanPrime/output/06 - test 6.txt +1 -0
  128. package/config/hard/NRamanujanPrime/output/07 - test 7.txt +1 -0
  129. package/config/hard/NRamanujanPrime/output/08 - test 8.txt +1 -0
  130. package/config/medium/AgentXMission3TheBottleInTheSea/code/CGCode.cpp +22 -0
  131. package/config/medium/AgentXMission3TheBottleInTheSea/code/CGCode.java +19 -0
  132. package/config/medium/AgentXMission3TheBottleInTheSea/code/CGCode.js +9 -0
  133. package/config/medium/AgentXMission3TheBottleInTheSea/code/CGCode.php +10 -0
  134. package/config/medium/AgentXMission3TheBottleInTheSea/code/CGCode.ts +9 -0
  135. package/config/medium/AgentXMission3TheBottleInTheSea/config.json +28 -0
  136. package/config/medium/AgentXMission3TheBottleInTheSea/input/01 - Test 1.txt +3 -0
  137. package/config/medium/AgentXMission3TheBottleInTheSea/input/02 - Test 2.txt +3 -0
  138. package/config/medium/AgentXMission3TheBottleInTheSea/input/03 - Big message.txt +3 -0
  139. package/config/medium/AgentXMission3TheBottleInTheSea/input/04 - Realy big message with random word.txt +3 -0
  140. package/config/medium/AgentXMission3TheBottleInTheSea/output/01 - Test 1.txt +2 -0
  141. package/config/medium/AgentXMission3TheBottleInTheSea/output/02 - Test 2.txt +2 -0
  142. package/config/medium/AgentXMission3TheBottleInTheSea/output/03 - Big message.txt +2 -0
  143. package/config/medium/AgentXMission3TheBottleInTheSea/output/04 - Realy big message with random word.txt +2 -0
  144. package/config/medium/ShortestPalindromicPath/code/CGCode.cpp +27 -0
  145. package/config/medium/ShortestPalindromicPath/code/CGCode.java +26 -0
  146. package/config/medium/ShortestPalindromicPath/code/CGCode.js +15 -0
  147. package/config/medium/ShortestPalindromicPath/code/CGCode.php +13 -0
  148. package/config/medium/ShortestPalindromicPath/code/CGCode.ts +15 -0
  149. package/config/medium/ShortestPalindromicPath/config.json +108 -0
  150. package/config/medium/ShortestPalindromicPath/input/01 - Example 1.txt +6 -0
  151. package/config/medium/ShortestPalindromicPath/input/02 - Example 2.txt +8 -0
  152. package/config/medium/ShortestPalindromicPath/input/03 - No Diagonal.txt +8 -0
  153. package/config/medium/ShortestPalindromicPath/input/04 - Palindromic Required.txt +8 -0
  154. package/config/medium/ShortestPalindromicPath/input/05 - All 26 Characters.txt +11 -0
  155. package/config/medium/ShortestPalindromicPath/input/06 - Smallest.txt +5 -0
  156. package/config/medium/ShortestPalindromicPath/input/07 - Adjacent Start and Goal.txt +9 -0
  157. package/config/medium/ShortestPalindromicPath/input/08 - Uniform.txt +9 -0
  158. package/config/medium/ShortestPalindromicPath/input/09 - Odd.txt +10 -0
  159. package/config/medium/ShortestPalindromicPath/input/10 - Even.txt +11 -0
  160. package/config/medium/ShortestPalindromicPath/input/11 - Multiple Paths.txt +7 -0
  161. package/config/medium/ShortestPalindromicPath/input/12 - Loop at Middle.txt +9 -0
  162. package/config/medium/ShortestPalindromicPath/input/13 - Loop at Start.txt +10 -0
  163. package/config/medium/ShortestPalindromicPath/input/14 - Loop at Goal.txt +11 -0
  164. package/config/medium/ShortestPalindromicPath/input/15 - Multiple Loops.txt +11 -0
  165. package/config/medium/ShortestPalindromicPath/input/16 - Long Sparse Snake.txt +53 -0
  166. package/config/medium/ShortestPalindromicPath/input/17 - Long Spiral.txt +53 -0
  167. package/config/medium/ShortestPalindromicPath/input/18 - Long Snake.txt +53 -0
  168. package/config/medium/ShortestPalindromicPath/input/19 - Many BFS Steps.txt +53 -0
  169. package/config/medium/ShortestPalindromicPath/input/20 - Many More BFS Steps.txt +53 -0
  170. package/config/medium/ShortestPalindromicPath/output/01 - Example 1.txt +1 -0
  171. package/config/medium/ShortestPalindromicPath/output/02 - Example 2.txt +1 -0
  172. package/config/medium/ShortestPalindromicPath/output/03 - No Diagonal.txt +1 -0
  173. package/config/medium/ShortestPalindromicPath/output/04 - Palindromic Required.txt +1 -0
  174. package/config/medium/ShortestPalindromicPath/output/05 - All 26 Characters.txt +1 -0
  175. package/config/medium/ShortestPalindromicPath/output/06 - Smallest.txt +1 -0
  176. package/config/medium/ShortestPalindromicPath/output/07 - Adjacent Start and Goal.txt +1 -0
  177. package/config/medium/ShortestPalindromicPath/output/08 - Uniform.txt +1 -0
  178. package/config/medium/ShortestPalindromicPath/output/09 - Odd.txt +1 -0
  179. package/config/medium/ShortestPalindromicPath/output/10 - Even.txt +1 -0
  180. package/config/medium/ShortestPalindromicPath/output/11 - Multiple Paths.txt +1 -0
  181. package/config/medium/ShortestPalindromicPath/output/12 - Loop at Middle.txt +1 -0
  182. package/config/medium/ShortestPalindromicPath/output/13 - Loop at Start.txt +1 -0
  183. package/config/medium/ShortestPalindromicPath/output/14 - Loop at Goal.txt +1 -0
  184. package/config/medium/ShortestPalindromicPath/output/15 - Multiple Loops.txt +1 -0
  185. package/config/medium/ShortestPalindromicPath/output/16 - Long Sparse Snake.txt +1 -0
  186. package/config/medium/ShortestPalindromicPath/output/17 - Long Spiral.txt +1 -0
  187. package/config/medium/ShortestPalindromicPath/output/18 - Long Snake.txt +1 -0
  188. package/config/medium/ShortestPalindromicPath/output/19 - Many BFS Steps.txt +1 -0
  189. package/config/medium/ShortestPalindromicPath/output/20 - Many More BFS Steps.txt +1 -0
  190. package/config/medium/Snowflakes/code/CGCode.cpp +23 -0
  191. package/config/medium/Snowflakes/code/CGCode.java +24 -0
  192. package/config/medium/Snowflakes/code/CGCode.js +12 -0
  193. package/config/medium/Snowflakes/code/CGCode.php +12 -0
  194. package/config/medium/Snowflakes/code/CGCode.ts +12 -0
  195. package/config/medium/Snowflakes/config.json +128 -0
  196. package/config/medium/Snowflakes/input/01 - Single Snowflake.txt +4 -0
  197. package/config/medium/Snowflakes/input/02 - Two Snowflakes.txt +6 -0
  198. package/config/medium/Snowflakes/input/03 - Simple Unique.txt +6 -0
  199. package/config/medium/Snowflakes/input/04 - Simple Rotation.txt +5 -0
  200. package/config/medium/Snowflakes/input/05 - Simple Flipped.txt +9 -0
  201. package/config/medium/Snowflakes/input/06 - All Rotations.txt +8 -0
  202. package/config/medium/Snowflakes/input/07 - All Orientations.txt +4 -0
  203. package/config/medium/Snowflakes/input/08 - Big Flake.txt +6 -0
  204. package/config/medium/Snowflakes/input/09 - Empty Sky.txt +31 -0
  205. package/config/medium/Snowflakes/input/10 - Micro-Lens.txt +2 -0
  206. package/config/medium/Snowflakes/input/11 - Micro-Lens 2.txt +2 -0
  207. package/config/medium/Snowflakes/input/12 - Single Flakes.txt +9 -0
  208. package/config/medium/Snowflakes/input/13 - Myth Busted.txt +21 -0
  209. package/config/medium/Snowflakes/input/14 - Myth Confirmed.txt +9 -0
  210. package/config/medium/Snowflakes/input/15 - Test 15.txt +49 -0
  211. package/config/medium/Snowflakes/input/16 - Test 16.txt +49 -0
  212. package/config/medium/Snowflakes/input/17 - Test 17.txt +51 -0
  213. package/config/medium/Snowflakes/input/18 - All But One.txt +31 -0
  214. package/config/medium/Snowflakes/input/19 - Random.txt +51 -0
  215. package/config/medium/Snowflakes/input/20 - Random 2.txt +21 -0
  216. package/config/medium/Snowflakes/input/21 - Random 3.txt +51 -0
  217. package/config/medium/Snowflakes/input/22 - Random 4.txt +51 -0
  218. package/config/medium/Snowflakes/input/23 - Many Hollow.txt +31 -0
  219. package/config/medium/Snowflakes/input/24 - Flakes in Flakes.txt +51 -0
  220. package/config/medium/Snowflakes/output/01 - Single Snowflake.txt +2 -0
  221. package/config/medium/Snowflakes/output/02 - Two Snowflakes.txt +2 -0
  222. package/config/medium/Snowflakes/output/03 - Simple Unique.txt +2 -0
  223. package/config/medium/Snowflakes/output/04 - Simple Rotation.txt +2 -0
  224. package/config/medium/Snowflakes/output/05 - Simple Flipped.txt +2 -0
  225. package/config/medium/Snowflakes/output/06 - All Rotations.txt +2 -0
  226. package/config/medium/Snowflakes/output/07 - All Orientations.txt +2 -0
  227. package/config/medium/Snowflakes/output/08 - Big Flake.txt +2 -0
  228. package/config/medium/Snowflakes/output/09 - Empty Sky.txt +2 -0
  229. package/config/medium/Snowflakes/output/10 - Micro-Lens.txt +2 -0
  230. package/config/medium/Snowflakes/output/11 - Micro-Lens 2.txt +2 -0
  231. package/config/medium/Snowflakes/output/12 - Single Flakes.txt +2 -0
  232. package/config/medium/Snowflakes/output/13 - Myth Busted.txt +2 -0
  233. package/config/medium/Snowflakes/output/14 - Myth Confirmed.txt +2 -0
  234. package/config/medium/Snowflakes/output/15 - Test 15.txt +2 -0
  235. package/config/medium/Snowflakes/output/16 - Test 16.txt +2 -0
  236. package/config/medium/Snowflakes/output/17 - Test 17.txt +2 -0
  237. package/config/medium/Snowflakes/output/18 - All But One.txt +2 -0
  238. package/config/medium/Snowflakes/output/19 - Random.txt +2 -0
  239. package/config/medium/Snowflakes/output/20 - Random 2.txt +2 -0
  240. package/config/medium/Snowflakes/output/21 - Random 3.txt +2 -0
  241. package/config/medium/Snowflakes/output/22 - Random 4.txt +2 -0
  242. package/config/medium/Snowflakes/output/23 - Many Hollow.txt +2 -0
  243. package/config/medium/Snowflakes/output/24 - Flakes in Flakes.txt +2 -0
  244. package/config/medium/TicTacToeEngine/code/CGCode.cpp +21 -0
  245. package/config/medium/TicTacToeEngine/code/CGCode.java +19 -0
  246. package/config/medium/TicTacToeEngine/code/CGCode.js +9 -0
  247. package/config/medium/TicTacToeEngine/code/CGCode.php +11 -0
  248. package/config/medium/TicTacToeEngine/code/CGCode.ts +9 -0
  249. package/config/medium/TicTacToeEngine/config.json +68 -0
  250. package/config/medium/TicTacToeEngine/input/01 - Winning Move.txt +4 -0
  251. package/config/medium/TicTacToeEngine/input/02 - Blocking the Win.txt +4 -0
  252. package/config/medium/TicTacToeEngine/input/03 - Decisive Move.txt +4 -0
  253. package/config/medium/TicTacToeEngine/input/04 - Drawn.txt +4 -0
  254. package/config/medium/TicTacToeEngine/input/05 - Optimal Win.txt +4 -0
  255. package/config/medium/TicTacToeEngine/input/06 - Winning Position.txt +4 -0
  256. package/config/medium/TicTacToeEngine/input/07 - Lost.txt +4 -0
  257. package/config/medium/TicTacToeEngine/input/08 - Hold the Draw.txt +4 -0
  258. package/config/medium/TicTacToeEngine/input/09 - Losing Position.txt +4 -0
  259. package/config/medium/TicTacToeEngine/input/10 - Free Reign.txt +4 -0
  260. package/config/medium/TicTacToeEngine/input/11 - Corner Strategy.txt +4 -0
  261. package/config/medium/TicTacToeEngine/input/12 - Starting Position.txt +4 -0
  262. package/config/medium/TicTacToeEngine/output/01 - Winning Move.txt +3 -0
  263. package/config/medium/TicTacToeEngine/output/02 - Blocking the Win.txt +3 -0
  264. package/config/medium/TicTacToeEngine/output/03 - Decisive Move.txt +3 -0
  265. package/config/medium/TicTacToeEngine/output/04 - Drawn.txt +3 -0
  266. package/config/medium/TicTacToeEngine/output/05 - Optimal Win.txt +3 -0
  267. package/config/medium/TicTacToeEngine/output/06 - Winning Position.txt +3 -0
  268. package/config/medium/TicTacToeEngine/output/07 - Lost.txt +3 -0
  269. package/config/medium/TicTacToeEngine/output/08 - Hold the Draw.txt +3 -0
  270. package/config/medium/TicTacToeEngine/output/09 - Losing Position.txt +3 -0
  271. package/config/medium/TicTacToeEngine/output/10 - Free Reign.txt +3 -0
  272. package/config/medium/TicTacToeEngine/output/11 - Corner Strategy.txt +3 -0
  273. package/config/medium/TicTacToeEngine/output/12 - Starting Position.txt +3 -0
  274. package/package.json +1 -1
@@ -0,0 +1,31 @@
1
+ 30 37
2
+ .....*...............................
3
+ .***...*****.......****..****........
4
+ .*.**..*...****....*..*..**.**.*.....
5
+ .*..*..*......*....*.**..**.**.****..
6
+ .****..********....***...****..*..*..
7
+ ...............................****..
8
+ .***.****..***...***.....***.........
9
+ .*.*.*..*........*.**.........*****..
10
+ .*.*.*****.****..**.**..****...*..*..
11
+ .*.*.......*..*...**.*..*..*...****..
12
+ .*.*.*****.*..*....***..**.*.........
13
+ .*.*.*..*..*..*..........***...****..
14
+ .*.*.****..**.*................*..*..
15
+ .*.*........*.*...************.****..
16
+ .*.*........*.*...*..........*.*.....
17
+ .*.*.*****..***...************..****.
18
+ .*.*..*..*......................*..*.
19
+ .***..****..**......***..***....*****
20
+ ...........****..*...................
21
+ .****......*..*............******.**.
22
+ .**.**.....****..****...****....*.*..
23
+ .**.**.....****..*..*...*.......*...*
24
+ .****...........*****...*********..**
25
+ ............*........................
26
+ ...***...****.***..............****..
27
+ ..**.*...*..*......****........*..*..
28
+ .**.**...****..*.*.****....***.****..
29
+ .*.**..........*...*..*...**.*....*..
30
+ .***.....*....**...****...*..*......*
31
+ .....***.***....*...**....****.....**
@@ -0,0 +1,51 @@
1
+ 50 50
2
+ ...............................................***
3
+ ****...............*******..........*******....*.*
4
+ ..**..*****........*.....*....********....*....*..
5
+ ..**..*...********.*...*.*.......****.*...****.***
6
+ ..**..*.**.......*.*..**.*............***..**.....
7
+ ..**..*.********.*.*.**..*...******...............
8
+ ****..*....****.**.*.....*.....****...******.***..
9
+ ......*****...*.*..*******.......**.*...****...*..
10
+ ..*.......****.**.................*.**....**......
11
+ ..****.......***.....................*.....*...*..
12
+ .********...........*****.....*******...***...***.
13
+ .......................**.....*.....*....*........
14
+ ..*******************...*.....*.*...*.............
15
+ ..*.................*.........*.**..*.************
16
+ ..*.*.***...**...*.**.........*..**.*.*..........*
17
+ ..*.*...*...*..***..**........*.....*.*.*.******.*
18
+ ..*.*.......*........******...*******.*.**..****.*
19
+ ..*..******...............*...........*.****..**.*
20
+ ..*..*....*****...*******.**..******..*.******.*.*
21
+ ..*..*........**..*.....*..*.......**.*.......*..*
22
+ ..*..*.*******.*..*..*..*..*.....*....*..******..*
23
+ ..*..*.*.....*.*..*.**..*..*...***..*.*..*....*..*
24
+ ..*..*.*.***.*.*..*.*.*.*..*..****..*.*....*****.*
25
+ ..*..*.*.....*.*..*.....*..*........*.*.*****....*
26
+ ..*.**.*******.*..*******..*..*******.*..........*
27
+ ..*..*.........*...........*..........************
28
+ ..*..***********..***..***.*......................
29
+ ..*........................*....****...*****..***.
30
+ ..**************************....****.....*......*.
31
+ ................................****.....*...**...
32
+ .******************....***..*********....*....*...
33
+ .*................*..***.*....******.....*....**.*
34
+ .*..****...***..*.*......*.....****....*****.....*
35
+ .*................*..*****......**..............**
36
+ .******************...****........................
37
+ ..................................**********......
38
+ .*.....*********************..*...*........*..***.
39
+ *......*...................*.*....*.***...**...*..
40
+ ...*...*.*..*.***.**..***..*...*..*.*..***.*...*..
41
+ .......*.****...*..*....*..*..*...*........*..***.
42
+ ****...*.*..*......*.......*......**********......
43
+ .......*...*..*............*..*...................
44
+ .......*..**..**...****....*..*........*****..****
45
+ .......*.***..****....***..*....********...*....**
46
+ **.....*......******....*..*....*.......**.*.*...*
47
+ *......*.....*.......***...*.*..*.********.*.**...
48
+ *......*.*...**...*..***...*....**.****....*.****.
49
+ .......*.**.....***..***...*..*..*.*...*****......
50
+ ...*...*...................*.*...**.****.......*..
51
+ ****...*********************..*...***.......****..
@@ -0,0 +1,21 @@
1
+ #include <iostream>
2
+ #include <string>
3
+ #include <vector>
4
+ #include <algorithm>
5
+
6
+ using namespace std;
7
+
8
+ int main()
9
+ {
10
+ string engine;
11
+ getline(cin, engine);
12
+ for (int i = 0; i < 3; i++) {
13
+ string row;
14
+ getline(cin, row);
15
+ }
16
+
17
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
18
+ // To debug: cerr << "Debug messages..." << endl;
19
+
20
+ cout << "XOXO" << endl;
21
+ }
@@ -0,0 +1,19 @@
1
+ import java.util.*;
2
+ import java.io.*;
3
+ import java.math.*;
4
+
5
+ class Solution {
6
+
7
+ public static void main(String args[]) {
8
+ Scanner in = new Scanner(System.in);
9
+ String engine = in.nextLine();
10
+ for (int i = 0; i < 3; i++) {
11
+ String row = in.nextLine();
12
+ }
13
+
14
+ // Write an answer using System.out.println()
15
+ // To debug: System.err.println("Debug messages...");
16
+
17
+ System.out.println("XOXO");
18
+ }
19
+ }
@@ -0,0 +1,9 @@
1
+ const engine = readline();
2
+ for (let i = 0; i < 3; i++) {
3
+ const row = readline();
4
+ }
5
+
6
+ // Write an answer using console.log()
7
+ // To debug: console.error('Debug messages...');
8
+
9
+ console.log('XOXO');
@@ -0,0 +1,11 @@
1
+ <?php
2
+ $engine = stream_get_line(STDIN, 1 + 1, "\n");
3
+ for ($i = 0; $i < 3; $i++)
4
+ {
5
+ $row = stream_get_line(STDIN, 3 + 1, "\n");
6
+ }
7
+
8
+ // Write an answer using echo(). DON'T FORGET THE TRAILING \n
9
+ // To debug: error_log(var_export($var, true)); (equivalent to var_dump)
10
+
11
+ echo("XOXO\n");
@@ -0,0 +1,9 @@
1
+ const engine: string = readline();
2
+ for (let i = 0; i < 3; i++) {
3
+ const row: string = readline();
4
+ }
5
+
6
+ // Write an answer using console.log()
7
+ // To debug: console.error('Debug messages...');
8
+
9
+ console.log('XOXO');
@@ -0,0 +1,68 @@
1
+ {
2
+ "path": "medium/TicTacToeEngine",
3
+ "name": "Tic Tac Toe Engine",
4
+ "alphanumName": "TicTacToeEngine",
5
+ "link": "https://www.codingame.com/ide/puzzle/tic-tac-toe-engine",
6
+ "tests": [
7
+ {
8
+ "name": "Winning Move",
9
+ "alphanumName": "WinningMove",
10
+ "file": "01 - Winning Move.txt"
11
+ },
12
+ {
13
+ "name": "Blocking the Win",
14
+ "alphanumName": "BlockingTheWin",
15
+ "file": "02 - Blocking the Win.txt"
16
+ },
17
+ {
18
+ "name": "Decisive Move",
19
+ "alphanumName": "DecisiveMove",
20
+ "file": "03 - Decisive Move.txt"
21
+ },
22
+ {
23
+ "name": "Drawn",
24
+ "alphanumName": "Drawn",
25
+ "file": "04 - Drawn.txt"
26
+ },
27
+ {
28
+ "name": "Optimal Win",
29
+ "alphanumName": "OptimalWin",
30
+ "file": "05 - Optimal Win.txt"
31
+ },
32
+ {
33
+ "name": "Winning Position",
34
+ "alphanumName": "WinningPosition",
35
+ "file": "06 - Winning Position.txt"
36
+ },
37
+ {
38
+ "name": "Lost",
39
+ "alphanumName": "Lost",
40
+ "file": "07 - Lost.txt"
41
+ },
42
+ {
43
+ "name": "Hold the Draw",
44
+ "alphanumName": "HoldTheDraw",
45
+ "file": "08 - Hold the Draw.txt"
46
+ },
47
+ {
48
+ "name": "Losing Position",
49
+ "alphanumName": "LosingPosition",
50
+ "file": "09 - Losing Position.txt"
51
+ },
52
+ {
53
+ "name": "Free Reign",
54
+ "alphanumName": "FreeReign",
55
+ "file": "10 - Free Reign.txt"
56
+ },
57
+ {
58
+ "name": "Corner Strategy",
59
+ "alphanumName": "CornerStrategy",
60
+ "file": "11 - Corner Strategy.txt"
61
+ },
62
+ {
63
+ "name": "Starting Position",
64
+ "alphanumName": "StartingPosition",
65
+ "file": "12 - Starting Position.txt"
66
+ }
67
+ ]
68
+ }
@@ -0,0 +1,4 @@
1
+ O
2
+ XXO
3
+ OOX
4
+ XOX
@@ -0,0 +1,4 @@
1
+ O
2
+ ..X
3
+ O.X
4
+ O.X
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyrilverloop/codingame-configuration",
3
- "version": "1.20.0",
3
+ "version": "1.22.0",
4
4
  "description": "A project that contains CodinGame input, output and default code.",
5
5
  "repository": {
6
6
  "type": "git",