@cyrilverloop/codingame-configuration 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. package/CHANGELOG.md +12 -1
  2. package/config/easy/CreateTurnHereSigns/config.json +1 -1
  3. package/config/easy/Interstellar/code/CGCode.js +12 -0
  4. package/config/easy/Interstellar/code/CGCode.php +13 -0
  5. package/config/easy/Interstellar/config.json +58 -0
  6. package/config/easy/Interstellar/input/01 - test 1.txt +2 -0
  7. package/config/easy/Interstellar/input/02 - test 2.txt +2 -0
  8. package/config/easy/Interstellar/input/03 - test 3.txt +2 -0
  9. package/config/easy/Interstellar/input/04 - test 4.txt +2 -0
  10. package/config/easy/Interstellar/input/05 - test 5.txt +2 -0
  11. package/config/easy/Interstellar/input/06 - test 6.txt +2 -0
  12. package/config/easy/Interstellar/input/07 - test 7.txt +2 -0
  13. package/config/easy/Interstellar/input/08 - test 8.txt +2 -0
  14. package/config/easy/Interstellar/input/09 - test 9.txt +2 -0
  15. package/config/easy/Interstellar/input/10 - test 10.txt +2 -0
  16. package/config/easy/Interstellar/output/01 - test 1.txt +2 -0
  17. package/config/easy/Interstellar/output/02 - test 2.txt +2 -0
  18. package/config/easy/Interstellar/output/03 - test 3.txt +2 -0
  19. package/config/easy/Interstellar/output/04 - test 4.txt +2 -0
  20. package/config/easy/Interstellar/output/05 - test 5.txt +2 -0
  21. package/config/easy/Interstellar/output/06 - test 6.txt +2 -0
  22. package/config/easy/Interstellar/output/07 - test 7.txt +2 -0
  23. package/config/easy/Interstellar/output/08 - test 8.txt +2 -0
  24. package/config/easy/Interstellar/output/09 - test 9.txt +2 -0
  25. package/config/easy/Interstellar/output/10 - test 10.txt +2 -0
  26. package/config/easy/KangarooWords/config.json +0 -5
  27. package/config/easy/NATOAlphabetsOddUncles/config.json +0 -5
  28. package/config/easy/ShouldBakersBeFrugal/config.json +1 -1
  29. package/package.json +1 -1
  30. package/config/easy/KangarooWords/input/08 - Pointless.txt +0 -6
  31. package/config/easy/KangarooWords/output/08 - Pointless.txt +0 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [Unreleased]
8
+ ### Added
9
+ - configuration for "Interstellar".
10
+
11
+ ## [1.4.1] - 2024-07-31
12
+ ### Fixed
13
+ - single quotes in puzzle name "Create ‘Turn Here’ Signs".
14
+ - double configuraton for "Kangaroo words".
15
+ - double configuraton for "NATO-alphabet’s odd uncles".
16
+ - space in alphanumName for "Should Bakers be Frugal?".
17
+
7
18
  ## [1.4.0] - 2024-07-31
8
19
  ### Added
9
20
  - configuration for "Periodic table spelling".
@@ -47,7 +58,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
47
58
  - configuration for "Six Degrees of Kevin Bacon".
48
59
  - configuration for "Triangle Toggle".
49
60
  - configuration for "Zeckendorf representation, part I".
50
- - configuration for "Create 'Turn Here Signs".
61
+ - configuration for "Create Turn Here Signs".
51
62
  - configuration for "Escape the madness".
52
63
  - configuration for "ASCII Art The Drunken Bishop Algorithm".
53
64
  - configuration for "abcdefghijklmnopqrstuvwxyz".
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "path": "easy/CreateTurnHereSigns",
3
- "name": "Create 'Turn Here Signs",
3
+ "name": "Create Turn Here Signs",
4
4
  "alphanumName": "createTurnHereSigns",
5
5
  "link": "https://www.codingame.com/ide/puzzle/create-turn-here-signs",
6
6
  "tests": [
@@ -0,0 +1,12 @@
1
+ const ship = readline();
2
+ const wormhole = readline();
3
+
4
+ // Write an answer using console.log()
5
+ // To debug: console.error('Debug messages...');
6
+
7
+ console.log('Direction:');
8
+
9
+ // Write an answer using console.log()
10
+ // To debug: console.error('Debug messages...');
11
+
12
+ console.log('Distance:');
@@ -0,0 +1,13 @@
1
+ <?php
2
+ $ship = stream_get_line(STDIN, 20 + 1, "\n");
3
+ $wormhole = stream_get_line(STDIN, 20 + 1, "\n");
4
+
5
+ // Write an answer using echo(). DON'T FORGET THE TRAILING \n
6
+ // To debug: error_log(var_export($var, true)); (equivalent to var_dump)
7
+
8
+ echo("Direction:\n");
9
+
10
+ // Write an answer using echo(). DON'T FORGET THE TRAILING \n
11
+ // To debug: error_log(var_export($var, true)); (equivalent to var_dump)
12
+
13
+ echo("Distance:\n");
@@ -0,0 +1,58 @@
1
+ {
2
+ "path": "easy/Interstellar",
3
+ "name": "Interstellar",
4
+ "alphanumName": "Interstellar",
5
+ "link": "https://www.codingame.com/ide/puzzle/interstellar",
6
+ "tests": [
7
+ {
8
+ "name": "Test 1",
9
+ "alphanumName": "test1",
10
+ "file": "01 - test 1.txt"
11
+ },
12
+ {
13
+ "name": "Test 2",
14
+ "alphanumName": "test2",
15
+ "file": "02 - test 2.txt"
16
+ },
17
+ {
18
+ "name": "Test 3",
19
+ "alphanumName": "test3",
20
+ "file": "03 - test 3.txt"
21
+ },
22
+ {
23
+ "name": "Test 4",
24
+ "alphanumName": "test4",
25
+ "file": "04 - test 4.txt"
26
+ },
27
+ {
28
+ "name": "Test 5",
29
+ "alphanumName": "test5",
30
+ "file": "05 - test 5.txt"
31
+ },
32
+ {
33
+ "name": "Test 6",
34
+ "alphanumName": "test6",
35
+ "file": "06 - test 6.txt"
36
+ },
37
+ {
38
+ "name": "Test 7",
39
+ "alphanumName": "test7",
40
+ "file": "07 - test 7.txt"
41
+ },
42
+ {
43
+ "name": "Test 8",
44
+ "alphanumName": "test8",
45
+ "file": "08 - test 8.txt"
46
+ },
47
+ {
48
+ "name": "Test 9",
49
+ "alphanumName": "test9",
50
+ "file": "09 - test 9.txt"
51
+ },
52
+ {
53
+ "name": "Test 10",
54
+ "alphanumName": "test10",
55
+ "file": "10 - test 10.txt"
56
+ }
57
+ ]
58
+ }
@@ -0,0 +1,2 @@
1
+ i+j-k
2
+ i-j+k
@@ -0,0 +1,2 @@
1
+ 3i+5j+2k
2
+ 4i+9j+3k
@@ -0,0 +1,2 @@
1
+ 133i - 6 j -8k
2
+ 4i +8j -44 k
@@ -0,0 +1,2 @@
1
+ 89k-76i +76j
2
+ 56i +67j+ 90k
@@ -0,0 +1,2 @@
1
+ 112i - 456k - 90j
2
+ 12 i + 87k + 65j
@@ -0,0 +1,2 @@
1
+ 8893i + 9984k -329j
2
+ 2348k -4343i +3488j
@@ -0,0 +1,2 @@
1
+ 4i+12j-8k
2
+ 4i-6j+4k
@@ -0,0 +1,2 @@
1
+ 2487i-3943k-4393j
2
+ 3443i-434k
@@ -0,0 +1,2 @@
1
+ 40j+20i
2
+ 60j+90k
@@ -0,0 +1,2 @@
1
+ Direction: -j+k
2
+ Distance: 2.83
@@ -0,0 +1,2 @@
1
+ Direction: i+4j+k
2
+ Distance: 4.24
@@ -0,0 +1,2 @@
1
+ Direction: -129i+14j-36k
2
+ Distance: 134.66
@@ -0,0 +1,2 @@
1
+ Direction: 132i-9j+k
2
+ Distance: 132.31
@@ -0,0 +1,2 @@
1
+ Direction: -100i+155j+543k
2
+ Distance: 573.48
@@ -0,0 +1,2 @@
1
+ Direction: -13236i+3817j-7636k
2
+ Distance: 15750.23
@@ -0,0 +1,2 @@
1
+ Direction: i+k
2
+ Distance: 1.41
@@ -0,0 +1,2 @@
1
+ Direction: -3j+2k
2
+ Distance: 21.63
@@ -0,0 +1,2 @@
1
+ Direction: 956i+4393j+3509k
2
+ Distance: 5703.11
@@ -0,0 +1,2 @@
1
+ Direction: -2i+2j+9k
2
+ Distance: 94.34
@@ -38,11 +38,6 @@
38
38
  "name": "CodingGame",
39
39
  "alphanumName": "CodingGame",
40
40
  "file": "07 - CodingGame.txt"
41
- },
42
- {
43
- "name": "Pointless",
44
- "alphanumName": "Pointless",
45
- "file": "08 - Pointless.txt"
46
41
  }
47
42
  ]
48
43
  }
@@ -29,11 +29,6 @@
29
29
  "alphanumName": "RestAreRandomTest5",
30
30
  "file": "05 - Rest are random - Test 5.txt"
31
31
  },
32
- {
33
- "name": "Rest are random - Test 5",
34
- "alphanumName": "RestAreRandomTest5",
35
- "file": "05 - Rest are random - Test 5.txt"
36
- },
37
32
  {
38
33
  "name": "Test 6",
39
34
  "alphanumName": "test6",
@@ -66,7 +66,7 @@
66
66
  },
67
67
  {
68
68
  "name": "Micro World",
69
- "alphanumName": "Micro World",
69
+ "alphanumName": "MicroWorld",
70
70
  "file": "13 - Micro World.txt"
71
71
  },
72
72
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyrilverloop/codingame-configuration",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "A project that contains CodinGame input, output and default code.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,6 +0,0 @@
1
- 5
2
- aimless, fruitless, futile, pointless
3
- blunder, fail, flopp, miss
4
- bare, blank, empty, vacant, void
5
- boring, dull, mundande, stupid
6
- redundant, superfluous