Skip to content

Commit 7185cd9

Browse files
docs: Adding Turtles All The Way Down to README ( Fixes #206 )
Fixing hide and seek example
1 parent 5cfb9d2 commit 7185cd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/FollowThatTurtleHideAndSeek.turtle.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ $stepCount = $squareSize/2 * (1 + ([Math]::Abs($attackerSpeed - $evaderSpeed)))
3535

3636
$hideAndSeek = turtle square $squareSize stroke '#4488ff' turtles ([Ordered]@{
3737
s1 = turtle teleport 0 0 stroke '#4488ff' # stroke 'red' pathclass 'red-stroke' fill red
38-
s2 = turtle teleport $squareSize stroke '#4488ff' 0 # stroke 'yellow' pathclass 'yellow-stroke' fill yellow
38+
s2 = turtle teleport $squareSize 0 stroke '#4488ff' # stroke 'yellow' pathclass 'yellow-stroke' fill yellow
3939
s3 = turtle teleport $squareSize $squareSize stroke '#4488ff' # stroke 'green' pathclass 'green-stroke' fill green
4040
s4 = turtle teleport 0 $squareSize stroke '#4488ff' # stroke 'blue' PathClass 'blue-stroke' fill blue
4141
h1 = turtle teleport $midpoint stroke '#4488ff' # stroke 'red' fill 'red'

0 commit comments

Comments
 (0)