Skip to content

Commit 4879e79

Browse files
committed
updated PentagonCrazyQuiz English w/@kimschmidtsbrain
1 parent 8d75e44 commit 4879e79

6 files changed

Lines changed: 16 additions & 13 deletions

File tree

0 Bytes
Binary file not shown.

TeachingKidsProgramming/src/org/teachingkidsprogramming/recipes/quizzes/graders/PentagonCrazyQuizGrader.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ private boolean gradeThread()
6161
Turtle turtle = QuizUtils.createTestTurtle();
6262
TortoiseUtils.setTurtle(turtle);
6363
TortoiseUtils.setOrientation(0, 0, 90);
64-
quiz.callThread();
64+
quiz.callCreateAStitch();
6565
return NumberUtils.equals(TortoiseUtils.getTurtle().getX(), 6, 0.005);
6666
}
6767
private boolean grade2Stitch76()
@@ -111,9 +111,9 @@ public void stitch()
111111
Tortoise.setPenColor(getSafeColor());
112112
Tortoise.turn(wheel.next());
113113
Tortoise.setPenDown();
114-
quiz.callThread();
114+
quiz.callCreateAStitch();
115115
Tortoise.setPenUp();
116-
quiz.callThread();
116+
quiz.callCreateAStitch();
117117
}
118118
}
119119
}

TeachingKidsProgramming/src/org/teachingkidsprogramming/recipes/quizzes/graders/PentagonQuizAdapter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
public class PentagonQuizAdapter
44
{
55
public PentagonCrazyQuizGrader grader;
6-
public void callThread()
6+
public void callCreateAStitch()
77
{
8-
HousesQuizAdapter.call(this, "thread");
8+
HousesQuizAdapter.call(this, "createAStitch");
99
}
1010
public void question2()
1111
{
@@ -16,7 +16,7 @@ public void question3()
1616
public void question4()
1717
{
1818
}
19-
public void stitch()
19+
public void sewAStitch()
2020
{
2121
grader.stitch();
2222
}

TeachingKidsProgramming/src/org/teachingkidsprogramming/section04mastery/KnottedRing.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public static void main(String[] args)
2121
// Add tomato to the color wheel --#19
2222
// ------------- End of createColorPalette recipe --#7.3
2323
// Do the following 30 times --#11.1
24-
// Change the pen color of the line the tortoise draws to a random color from the color wheel --#5
24+
// Change the pen color of the line the tortoise draws to the next color from the color wheel --#5
2525
// drawOctagonWithOverlap (recipe below) --#9
2626
// ------------- Recipe for drawOctagonWithOverlap --#8.1
2727
// Do the following 8 + 1 times --#3.1

TeachingKidsProgramming/src/org/teachingkidsprogramming/section04mastery/PentagonCrazyQuiz.java

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,24 @@ public class PentagonCrazyQuiz extends PentagonQuizAdapter
88
public void question1()
99
{
1010
// Question 1
11-
// thread (recipe below)
12-
// ------------- Recipe for thread
13-
// that moves the tortoise 6 pixels
14-
// ------------- End of thread recipe
11+
// createAStitch (recipe below)
12+
// ------------- Recipe for createAStitch
13+
// Move the tortoise 6 pixels
14+
// ------------- End of createAStitch recipe
1515
}
16+
@Override
1617
public void question2()
1718
{
1819
// Do the following 76 times
19-
// call stitch
20+
// Call sewAStitch
2021
// Repeat
2122
}
23+
@Override
2224
public void question3()
2325
{
2426
// Add lime to the color wheel
2527
}
28+
@Override
2629
public void question4()
2730
{
2831
// Add red to the color wheel

TeachingKidsProgramming/src/org/teachingkidsprogramming/section09final/DeepDive09.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
//This deepdive is in progress!
1010
@SuppressWarnings("unused")
11-
public class DeepDive08TDD
11+
public class DeepDive09
1212
{
1313
// How to do deep dive:
1414
// Step 1: Select the method name (stringsCanBeArrays on line 24) Press the Run Button

0 commit comments

Comments
 (0)