Skip to content

Commit a745128

Browse files
authored
Sync 2026-04 (#949)
1 parent f1aa5bf commit a745128

13 files changed

Lines changed: 59 additions & 16 deletions

File tree

exercises/practice/allergies/.meta/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@
2323
},
2424
"blurb": "Given a person's allergy score, determine whether or not they're allergic to a given item, and their full list of allergies.",
2525
"source": "Exercise by the JumpstartLab team for students at The Turing School of Software and Design.",
26-
"source_url": "https://turing.edu"
26+
"source_url": "https://www.turing.edu/"
2727
}

exercises/practice/bob/.meta/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@
2323
},
2424
"blurb": "Bob is a lackadaisical teenager. In conversation, his responses are very limited.",
2525
"source": "Inspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial.",
26-
"source_url": "https://pine.fm/LearnToProgram/?Chapter=06"
26+
"source_url": "https://pine.fm/LearnToProgram/chap_06.html"
2727
}

exercises/practice/book-store/.meta/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121
},
2222
"blurb": "To try and encourage more sales of different books from a popular 5 book series, a bookshop has decided to offer discounts of multiple-book purchases.",
2323
"source": "Inspired by the harry potter kata from Cyber-Dojo.",
24-
"source_url": "https://cyber-dojo.org"
24+
"source_url": "https://cyber-dojo.org/creator/home"
2525
}

exercises/practice/connect/.meta/tests.toml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
# This is an auto-generated file. Regular comments will be removed when this
2-
# file is regenerated. Regenerating will not touch any manually added keys,
3-
# so comments can be added in a "comment" key.
1+
# This is an auto-generated file.
2+
#
3+
# Regenerating this file via `configlet sync` will:
4+
# - Recreate every `description` key/value pair
5+
# - Recreate every `reimplements` key/value pair, where they exist in problem-specifications
6+
# - Remove any `include = true` key/value pair (an omitted `include` key implies inclusion)
7+
# - Preserve any other key/value pair
8+
#
9+
# As user-added comments (using the # character) will be removed when this file
10+
# is regenerated, comments can be added via a `comment` key.
411

512
[6eff0df4-3e92-478d-9b54-d3e8b354db56]
613
description = "an empty board has no winner"
@@ -23,6 +30,12 @@ description = "nobody wins crossing adjacent angles"
2330
[cd61c143-92f6-4a8d-84d9-cb2b359e226b]
2431
description = "X wins crossing from left to right"
2532

33+
[495e33ed-30a9-4012-b46e-d7c4d5fe13c3]
34+
description = "X wins with left-hand dead end fork"
35+
36+
[ab167ab0-4a98-4d0f-a1c0-e1cddddc3d58]
37+
description = "X wins with right-hand dead end fork"
38+
2639
[73d1eda6-16ab-4460-9904-b5f5dd401d0b]
2740
description = "O wins crossing from top to bottom"
2841

exercises/practice/connect/ConnectTest.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,36 @@ public function testXWinsCrossingFromLeftToRight(): void
111111
$this->assertEquals("black", winner($lines));
112112
}
113113

114+
/**
115+
* uuid 495e33ed-30a9-4012-b46e-d7c4d5fe13c3
116+
*/
117+
#[TestDox('X wins with left-hand dead end fork')]
118+
public function testXWinsWithLeftHandDeadEndFork(): void
119+
{
120+
$lines = [
121+
". . X .",
122+
" X X . .",
123+
" . X X X",
124+
" O O O O",
125+
];
126+
$this->assertEquals("black", winner($lines));
127+
}
128+
129+
/**
130+
* uuid ab167ab0-4a98-4d0f-a1c0-e1cddddc3d58
131+
*/
132+
#[TestDox('X wins with right-hand dead end fork')]
133+
public function testXWinsWithRightHandDeadEndFork(): void
134+
{
135+
$lines = [
136+
". . X X",
137+
" X X . .",
138+
" . X X .",
139+
" O O O O",
140+
];
141+
$this->assertEquals("black", winner($lines));
142+
}
143+
114144
/**
115145
* uuid 73d1eda6-16ab-4460-9904-b5f5dd401d0b
116146
*/

exercises/practice/etl/.meta/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
},
2323
"blurb": "Change the data format for scoring a game to more easily add other languages.",
2424
"source": "Based on an exercise by the JumpstartLab team for students at The Turing School of Software and Design.",
25-
"source_url": "https://turing.edu"
25+
"source_url": "https://www.turing.edu/"
2626
}

exercises/practice/gigasecond/.meta/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727
},
2828
"blurb": "Given a moment, determine the moment that would be after a gigasecond has passed.",
2929
"source": "Chapter 9 in Chris Pine's online Learn to Program tutorial.",
30-
"source_url": "https://pine.fm/LearnToProgram/?Chapter=09"
30+
"source_url": "https://pine.fm/LearnToProgram/chap_09.html"
3131
}

exercises/practice/killer-sudoku-helper/.docs/instructions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ You can also find Killer Sudokus in varying difficulty in numerous newspapers, a
7676

7777
The screenshots above have been generated using F-Puzzles.com, a Puzzle Setting Tool by Eric Fox.
7878

79-
[sudoku-rules]: https://masteringsudoku.com/sudoku-rules-beginners/
80-
[killer-guide]: https://masteringsudoku.com/killer-sudoku/
79+
[sudoku-rules]: https://en.wikipedia.org/wiki/Sudoku
80+
[killer-guide]: https://en.wikipedia.org/wiki/Killer_sudoku
8181
[one-solution-img]: https://assets.exercism.org/images/exercises/killer-sudoku-helper/example1.png
8282
[four-solutions-img]: https://assets.exercism.org/images/exercises/killer-sudoku-helper/example2.png
8383
[not-possible-img]: https://assets.exercism.org/images/exercises/killer-sudoku-helper/example3.png
84-
[clover-puzzle]: https://app.crackingthecryptic.com/sudoku/HqTBn3Pr6R
84+
[clover-puzzle]: https://sudokupad.app/HqTBn3Pr6R
8585
[goodliffe-video]: https://youtu.be/c_NjEbFEeW0?t=1180

exercises/practice/kindergarten-garden/.meta/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
},
1616
"blurb": "Given a diagram, determine which plants each child in the kindergarten class is responsible for.",
1717
"source": "Exercise by the JumpstartLab team for students at The Turing School of Software and Design.",
18-
"source_url": "https://turing.edu"
18+
"source_url": "https://www.turing.edu/"
1919
}

exercises/practice/phone-number/.meta/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@
2323
},
2424
"blurb": "Clean up user-entered phone numbers so that they can be sent SMS messages.",
2525
"source": "Exercise by the JumpstartLab team for students at The Turing School of Software and Design.",
26-
"source_url": "https://turing.edu"
26+
"source_url": "https://www.turing.edu/"
2727
}

0 commit comments

Comments
 (0)