@cyrilverloop/codingame-configuration 1.21.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 (184) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/config/easy/LinesIntersections/code/CGCode.cpp +24 -0
  3. package/config/easy/LinesIntersections/code/CGCode.java +22 -0
  4. package/config/easy/LinesIntersections/code/CGCode.js +13 -0
  5. package/config/easy/LinesIntersections/code/CGCode.php +11 -0
  6. package/config/easy/LinesIntersections/code/CGCode.ts +13 -0
  7. package/config/easy/LinesIntersections/config.json +68 -0
  8. package/config/easy/LinesIntersections/input/01 - Triangle.txt +4 -0
  9. package/config/easy/LinesIntersections/input/02 - Two intersects.txt +3 -0
  10. package/config/easy/LinesIntersections/input/03 - Two parallel.txt +3 -0
  11. package/config/easy/LinesIntersections/input/04 - Square.txt +5 -0
  12. package/config/easy/LinesIntersections/input/05 - Square crossed.txt +7 -0
  13. package/config/easy/LinesIntersections/input/06 - One line.txt +2 -0
  14. package/config/easy/LinesIntersections/input/07 - Zero.txt +1 -0
  15. package/config/easy/LinesIntersections/input/08 - 10 lines.txt +11 -0
  16. package/config/easy/LinesIntersections/input/09 - 10 lines with maximum intersections.txt +11 -0
  17. package/config/easy/LinesIntersections/input/10 - 10 coincident lines.txt +11 -0
  18. package/config/easy/LinesIntersections/input/11 - All cases.txt +11 -0
  19. package/config/easy/LinesIntersections/input/12 - Star.txt +9 -0
  20. package/config/easy/LinesIntersections/output/01 - Triangle.txt +4 -0
  21. package/config/easy/LinesIntersections/output/02 - Two intersects.txt +2 -0
  22. package/config/easy/LinesIntersections/output/03 - Two parallel.txt +1 -0
  23. package/config/easy/LinesIntersections/output/04 - Square.txt +5 -0
  24. package/config/easy/LinesIntersections/output/05 - Square crossed.txt +6 -0
  25. package/config/easy/LinesIntersections/output/06 - One line.txt +1 -0
  26. package/config/easy/LinesIntersections/output/07 - Zero.txt +1 -0
  27. package/config/easy/LinesIntersections/output/08 - 10 lines.txt +39 -0
  28. package/config/easy/LinesIntersections/output/09 - 10 lines with maximum intersections.txt +46 -0
  29. package/config/easy/LinesIntersections/output/10 - 10 coincident lines.txt +1 -0
  30. package/config/easy/LinesIntersections/output/11 - All cases.txt +14 -0
  31. package/config/easy/LinesIntersections/output/12 - Star.txt +2 -0
  32. package/config/easy/SetProbabilitiesCardGame/code/CGCode.cpp +24 -0
  33. package/config/easy/SetProbabilitiesCardGame/code/CGCode.java +22 -0
  34. package/config/easy/SetProbabilitiesCardGame/code/CGCode.js +13 -0
  35. package/config/easy/SetProbabilitiesCardGame/code/CGCode.php +12 -0
  36. package/config/easy/SetProbabilitiesCardGame/code/CGCode.ts +13 -0
  37. package/config/easy/SetProbabilitiesCardGame/config.json +48 -0
  38. package/config/easy/SetProbabilitiesCardGame/input/01 - A simple start.txt +3 -0
  39. package/config/easy/SetProbabilitiesCardGame/input/02 - A few more cards.txt +6 -0
  40. package/config/easy/SetProbabilitiesCardGame/input/03 - And a few more....txt +9 -0
  41. package/config/easy/SetProbabilitiesCardGame/input/04 - A classic game of set.txt +13 -0
  42. package/config/easy/SetProbabilitiesCardGame/input/05 - Lots of cards.txt +16 -0
  43. package/config/easy/SetProbabilitiesCardGame/input/06 - Almost guaranteed.txt +20 -0
  44. package/config/easy/SetProbabilitiesCardGame/input/07 - No need to draw a card!.txt +8 -0
  45. package/config/easy/SetProbabilitiesCardGame/input/08 - I need to draw a card.txt +21 -0
  46. package/config/easy/SetProbabilitiesCardGame/output/01 - A simple start.txt +1 -0
  47. package/config/easy/SetProbabilitiesCardGame/output/02 - A few more cards.txt +1 -0
  48. package/config/easy/SetProbabilitiesCardGame/output/03 - And a few more....txt +1 -0
  49. package/config/easy/SetProbabilitiesCardGame/output/04 - A classic game of set.txt +1 -0
  50. package/config/easy/SetProbabilitiesCardGame/output/05 - Lots of cards.txt +1 -0
  51. package/config/easy/SetProbabilitiesCardGame/output/06 - Almost guaranteed.txt +1 -0
  52. package/config/easy/SetProbabilitiesCardGame/output/07 - No need to draw a card!.txt +1 -0
  53. package/config/easy/SetProbabilitiesCardGame/output/08 - I need to draw a card.txt +1 -0
  54. package/config/medium/ShortestPalindromicPath/code/CGCode.cpp +27 -0
  55. package/config/medium/ShortestPalindromicPath/code/CGCode.java +26 -0
  56. package/config/medium/ShortestPalindromicPath/code/CGCode.js +15 -0
  57. package/config/medium/ShortestPalindromicPath/code/CGCode.php +13 -0
  58. package/config/medium/ShortestPalindromicPath/code/CGCode.ts +15 -0
  59. package/config/medium/ShortestPalindromicPath/config.json +108 -0
  60. package/config/medium/ShortestPalindromicPath/input/01 - Example 1.txt +6 -0
  61. package/config/medium/ShortestPalindromicPath/input/02 - Example 2.txt +8 -0
  62. package/config/medium/ShortestPalindromicPath/input/03 - No Diagonal.txt +8 -0
  63. package/config/medium/ShortestPalindromicPath/input/04 - Palindromic Required.txt +8 -0
  64. package/config/medium/ShortestPalindromicPath/input/05 - All 26 Characters.txt +11 -0
  65. package/config/medium/ShortestPalindromicPath/input/06 - Smallest.txt +5 -0
  66. package/config/medium/ShortestPalindromicPath/input/07 - Adjacent Start and Goal.txt +9 -0
  67. package/config/medium/ShortestPalindromicPath/input/08 - Uniform.txt +9 -0
  68. package/config/medium/ShortestPalindromicPath/input/09 - Odd.txt +10 -0
  69. package/config/medium/ShortestPalindromicPath/input/10 - Even.txt +11 -0
  70. package/config/medium/ShortestPalindromicPath/input/11 - Multiple Paths.txt +7 -0
  71. package/config/medium/ShortestPalindromicPath/input/12 - Loop at Middle.txt +9 -0
  72. package/config/medium/ShortestPalindromicPath/input/13 - Loop at Start.txt +10 -0
  73. package/config/medium/ShortestPalindromicPath/input/14 - Loop at Goal.txt +11 -0
  74. package/config/medium/ShortestPalindromicPath/input/15 - Multiple Loops.txt +11 -0
  75. package/config/medium/ShortestPalindromicPath/input/16 - Long Sparse Snake.txt +53 -0
  76. package/config/medium/ShortestPalindromicPath/input/17 - Long Spiral.txt +53 -0
  77. package/config/medium/ShortestPalindromicPath/input/18 - Long Snake.txt +53 -0
  78. package/config/medium/ShortestPalindromicPath/input/19 - Many BFS Steps.txt +53 -0
  79. package/config/medium/ShortestPalindromicPath/input/20 - Many More BFS Steps.txt +53 -0
  80. package/config/medium/ShortestPalindromicPath/output/01 - Example 1.txt +1 -0
  81. package/config/medium/ShortestPalindromicPath/output/02 - Example 2.txt +1 -0
  82. package/config/medium/ShortestPalindromicPath/output/03 - No Diagonal.txt +1 -0
  83. package/config/medium/ShortestPalindromicPath/output/04 - Palindromic Required.txt +1 -0
  84. package/config/medium/ShortestPalindromicPath/output/05 - All 26 Characters.txt +1 -0
  85. package/config/medium/ShortestPalindromicPath/output/06 - Smallest.txt +1 -0
  86. package/config/medium/ShortestPalindromicPath/output/07 - Adjacent Start and Goal.txt +1 -0
  87. package/config/medium/ShortestPalindromicPath/output/08 - Uniform.txt +1 -0
  88. package/config/medium/ShortestPalindromicPath/output/09 - Odd.txt +1 -0
  89. package/config/medium/ShortestPalindromicPath/output/10 - Even.txt +1 -0
  90. package/config/medium/ShortestPalindromicPath/output/11 - Multiple Paths.txt +1 -0
  91. package/config/medium/ShortestPalindromicPath/output/12 - Loop at Middle.txt +1 -0
  92. package/config/medium/ShortestPalindromicPath/output/13 - Loop at Start.txt +1 -0
  93. package/config/medium/ShortestPalindromicPath/output/14 - Loop at Goal.txt +1 -0
  94. package/config/medium/ShortestPalindromicPath/output/15 - Multiple Loops.txt +1 -0
  95. package/config/medium/ShortestPalindromicPath/output/16 - Long Sparse Snake.txt +1 -0
  96. package/config/medium/ShortestPalindromicPath/output/17 - Long Spiral.txt +1 -0
  97. package/config/medium/ShortestPalindromicPath/output/18 - Long Snake.txt +1 -0
  98. package/config/medium/ShortestPalindromicPath/output/19 - Many BFS Steps.txt +1 -0
  99. package/config/medium/ShortestPalindromicPath/output/20 - Many More BFS Steps.txt +1 -0
  100. package/config/medium/Snowflakes/code/CGCode.cpp +23 -0
  101. package/config/medium/Snowflakes/code/CGCode.java +24 -0
  102. package/config/medium/Snowflakes/code/CGCode.js +12 -0
  103. package/config/medium/Snowflakes/code/CGCode.php +12 -0
  104. package/config/medium/Snowflakes/code/CGCode.ts +12 -0
  105. package/config/medium/Snowflakes/config.json +128 -0
  106. package/config/medium/Snowflakes/input/01 - Single Snowflake.txt +4 -0
  107. package/config/medium/Snowflakes/input/02 - Two Snowflakes.txt +6 -0
  108. package/config/medium/Snowflakes/input/03 - Simple Unique.txt +6 -0
  109. package/config/medium/Snowflakes/input/04 - Simple Rotation.txt +5 -0
  110. package/config/medium/Snowflakes/input/05 - Simple Flipped.txt +9 -0
  111. package/config/medium/Snowflakes/input/06 - All Rotations.txt +8 -0
  112. package/config/medium/Snowflakes/input/07 - All Orientations.txt +4 -0
  113. package/config/medium/Snowflakes/input/08 - Big Flake.txt +6 -0
  114. package/config/medium/Snowflakes/input/09 - Empty Sky.txt +31 -0
  115. package/config/medium/Snowflakes/input/10 - Micro-Lens.txt +2 -0
  116. package/config/medium/Snowflakes/input/11 - Micro-Lens 2.txt +2 -0
  117. package/config/medium/Snowflakes/input/12 - Single Flakes.txt +9 -0
  118. package/config/medium/Snowflakes/input/13 - Myth Busted.txt +21 -0
  119. package/config/medium/Snowflakes/input/14 - Myth Confirmed.txt +9 -0
  120. package/config/medium/Snowflakes/input/15 - Test 15.txt +49 -0
  121. package/config/medium/Snowflakes/input/16 - Test 16.txt +49 -0
  122. package/config/medium/Snowflakes/input/17 - Test 17.txt +51 -0
  123. package/config/medium/Snowflakes/input/18 - All But One.txt +31 -0
  124. package/config/medium/Snowflakes/input/19 - Random.txt +51 -0
  125. package/config/medium/Snowflakes/input/20 - Random 2.txt +21 -0
  126. package/config/medium/Snowflakes/input/21 - Random 3.txt +51 -0
  127. package/config/medium/Snowflakes/input/22 - Random 4.txt +51 -0
  128. package/config/medium/Snowflakes/input/23 - Many Hollow.txt +31 -0
  129. package/config/medium/Snowflakes/input/24 - Flakes in Flakes.txt +51 -0
  130. package/config/medium/Snowflakes/output/01 - Single Snowflake.txt +2 -0
  131. package/config/medium/Snowflakes/output/02 - Two Snowflakes.txt +2 -0
  132. package/config/medium/Snowflakes/output/03 - Simple Unique.txt +2 -0
  133. package/config/medium/Snowflakes/output/04 - Simple Rotation.txt +2 -0
  134. package/config/medium/Snowflakes/output/05 - Simple Flipped.txt +2 -0
  135. package/config/medium/Snowflakes/output/06 - All Rotations.txt +2 -0
  136. package/config/medium/Snowflakes/output/07 - All Orientations.txt +2 -0
  137. package/config/medium/Snowflakes/output/08 - Big Flake.txt +2 -0
  138. package/config/medium/Snowflakes/output/09 - Empty Sky.txt +2 -0
  139. package/config/medium/Snowflakes/output/10 - Micro-Lens.txt +2 -0
  140. package/config/medium/Snowflakes/output/11 - Micro-Lens 2.txt +2 -0
  141. package/config/medium/Snowflakes/output/12 - Single Flakes.txt +2 -0
  142. package/config/medium/Snowflakes/output/13 - Myth Busted.txt +2 -0
  143. package/config/medium/Snowflakes/output/14 - Myth Confirmed.txt +2 -0
  144. package/config/medium/Snowflakes/output/15 - Test 15.txt +2 -0
  145. package/config/medium/Snowflakes/output/16 - Test 16.txt +2 -0
  146. package/config/medium/Snowflakes/output/17 - Test 17.txt +2 -0
  147. package/config/medium/Snowflakes/output/18 - All But One.txt +2 -0
  148. package/config/medium/Snowflakes/output/19 - Random.txt +2 -0
  149. package/config/medium/Snowflakes/output/20 - Random 2.txt +2 -0
  150. package/config/medium/Snowflakes/output/21 - Random 3.txt +2 -0
  151. package/config/medium/Snowflakes/output/22 - Random 4.txt +2 -0
  152. package/config/medium/Snowflakes/output/23 - Many Hollow.txt +2 -0
  153. package/config/medium/Snowflakes/output/24 - Flakes in Flakes.txt +2 -0
  154. package/config/medium/TicTacToeEngine/code/CGCode.cpp +21 -0
  155. package/config/medium/TicTacToeEngine/code/CGCode.java +19 -0
  156. package/config/medium/TicTacToeEngine/code/CGCode.js +9 -0
  157. package/config/medium/TicTacToeEngine/code/CGCode.php +11 -0
  158. package/config/medium/TicTacToeEngine/code/CGCode.ts +9 -0
  159. package/config/medium/TicTacToeEngine/config.json +68 -0
  160. package/config/medium/TicTacToeEngine/input/01 - Winning Move.txt +4 -0
  161. package/config/medium/TicTacToeEngine/input/02 - Blocking the Win.txt +4 -0
  162. package/config/medium/TicTacToeEngine/input/03 - Decisive Move.txt +4 -0
  163. package/config/medium/TicTacToeEngine/input/04 - Drawn.txt +4 -0
  164. package/config/medium/TicTacToeEngine/input/05 - Optimal Win.txt +4 -0
  165. package/config/medium/TicTacToeEngine/input/06 - Winning Position.txt +4 -0
  166. package/config/medium/TicTacToeEngine/input/07 - Lost.txt +4 -0
  167. package/config/medium/TicTacToeEngine/input/08 - Hold the Draw.txt +4 -0
  168. package/config/medium/TicTacToeEngine/input/09 - Losing Position.txt +4 -0
  169. package/config/medium/TicTacToeEngine/input/10 - Free Reign.txt +4 -0
  170. package/config/medium/TicTacToeEngine/input/11 - Corner Strategy.txt +4 -0
  171. package/config/medium/TicTacToeEngine/input/12 - Starting Position.txt +4 -0
  172. package/config/medium/TicTacToeEngine/output/01 - Winning Move.txt +3 -0
  173. package/config/medium/TicTacToeEngine/output/02 - Blocking the Win.txt +3 -0
  174. package/config/medium/TicTacToeEngine/output/03 - Decisive Move.txt +3 -0
  175. package/config/medium/TicTacToeEngine/output/04 - Drawn.txt +3 -0
  176. package/config/medium/TicTacToeEngine/output/05 - Optimal Win.txt +3 -0
  177. package/config/medium/TicTacToeEngine/output/06 - Winning Position.txt +3 -0
  178. package/config/medium/TicTacToeEngine/output/07 - Lost.txt +3 -0
  179. package/config/medium/TicTacToeEngine/output/08 - Hold the Draw.txt +3 -0
  180. package/config/medium/TicTacToeEngine/output/09 - Losing Position.txt +3 -0
  181. package/config/medium/TicTacToeEngine/output/10 - Free Reign.txt +3 -0
  182. package/config/medium/TicTacToeEngine/output/11 - Corner Strategy.txt +3 -0
  183. package/config/medium/TicTacToeEngine/output/12 - Starting Position.txt +3 -0
  184. package/package.json +1 -1
@@ -0,0 +1,21 @@
1
+ 20 50
2
+ **..*..***...**.**...*..***.*.*...*....****.**.*..
3
+ *..*.***.....**.**..*...*...*.**..*****....*****..
4
+ ..........*..******..**..*****....*.*...***.......
5
+ *..*.*.......*.**..***...**.**..*.*.*.....*....*..
6
+ ..*..**..*..***..*.*.*..**...*.....***..******....
7
+ .**.*.*...*.....**..*......*.****..*.*..***..**...
8
+ *......*.*.**.....**..**..*.**.*..***....**...*...
9
+ ..*....**.......*......*.*..*....**.*..**.*.*.*...
10
+ ..*..*.....*.....**..*....*....*.***.*...***...***
11
+ .***...**...*..*.****.***....*...****.*.*....*.*.*
12
+ ...**..****......*..*.*......**..***........*..**.
13
+ **.*..*...***.***...*.*..*.*.*...***...*..*.....*.
14
+ ..****..*..*.**....***.***..*****..*.....*.*...*..
15
+ .*..*..**.***.*.*.*..**..**.**...***.*.*..*...**..
16
+ ....*.*....*.*..*......*......**.**.....*..*...*.*
17
+ ...*......*..****....**...****..*.*...*.....*..**.
18
+ ...*..**.**.*.*.*..*...**.*..*****...*...**.***.*.
19
+ ***..**.....*...*..*....**.*....*....*.****...*...
20
+ .**..**.***.*....***...*.*.*..*..***.*..*...*.....
21
+ ..*******..***....*.*...*....**..*...*....**..*...
@@ -0,0 +1,51 @@
1
+ 50 35
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,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,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.21.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",