Skip to content

Commit 7ff9c2c

Browse files
Match instructions to students stub in annalyns-infiltration (#621)
1 parent be7dfcd commit 7ff9c2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/concept/annalyns-infiltration/.docs/instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $infiltration->canSpy($is_knight_awake, $is_archer_awake, $is_prisoner_awake);
5656

5757
## 3. Check if the 'Signal Prisoner' action is possible
5858

59-
Implement a function named `canSignalPrisoner` that takes two boolean values, indicating if the archer and the prisoner, respectively, are awake.
59+
Implement a function named `canSignal` that takes two boolean values, indicating if the archer and the prisoner, respectively, are awake.
6060
The function returns `true` if the 'Signal Prisoner' action is available based on the state of the characters.
6161
Otherwise, returns `false`:
6262

@@ -72,7 +72,7 @@ $infiltration->canSignal($is_archer_awake, $is_prisoner_awake);
7272

7373
## 4. Check if the 'Free Prisoner' action is possible
7474

75-
Implement a function named `canFreePrisoner` that takes four boolean values.
75+
Implement a function named `canLiberate` that takes four boolean values.
7676
The first three parameters indicate if the knight, archer and the prisoner, respectively, are awake.
7777
The last parameter indicates if Annalyn's pet dog is present.
7878
The function returns `true` if the 'Free Prisoner' action is available based on the state of the characters and Annalyn's pet dog presence.

0 commit comments

Comments
 (0)