Skip to content

Commit 6be03ae

Browse files
committed
update DeepDives w/@samanthalangit
1 parent 0fa1ad0 commit 6be03ae

9 files changed

Lines changed: 22 additions & 9 deletions

File tree

.classpath

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,16 @@
1212
<attribute name="maven.pomderived" value="true"/>
1313
</attributes>
1414
</classpathentry>
15-
<classpathentry including="**/*.java" kind="src" path="src/test/resources"/>
16-
<classpathentry including="**/*.java" kind="src" path="src/main/resources"/>
15+
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
16+
<attributes>
17+
<attribute name="maven.pomderived" value="true"/>
18+
</attributes>
19+
</classpathentry>
20+
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
21+
<attributes>
22+
<attribute name="maven.pomderived" value="true"/>
23+
</attributes>
24+
</classpathentry>
1725
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
1826
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
1927
<attributes>

src/main/java/org/teachingkidsprogramming/recipes/completed/section02methods/DeepDive02Variables.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import org.junit.Assert;
44
import org.junit.Test;
55

6+
@SuppressWarnings("unused")
67
public class DeepDive02Variables
78
{
89
@Test

src/main/java/org/teachingkidsprogramming/recipes/completed/section03ifs/ChooseYourOwnAdventure.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ private static void startStory()
2020
String action = askAQuestion("Do you want to 'wake up' or 'explore' the dream?");
2121
if ("wake up".equalsIgnoreCase(action))
2222
{
23-
tellMoreStory("You Wake up and have a boring day. The End.");
23+
tellMoreStory("You wake up and have a boring day. The End.");
2424
}
2525
else if ("explore".equalsIgnoreCase(action))
2626
{
@@ -37,7 +37,8 @@ private static void endStory()
3737
}
3838
private static void approachOoze()
3939
{
40-
tellMoreStory("You approach a glowing, green bucket of ooze, worried that you will get in trouble, you pick up the bucket.");
40+
tellMoreStory(
41+
"You approach a glowing, green bucket of ooze, worried that you will get in trouble, you pick up the bucket.");
4142
String pourTo = askAQuestion(" Do you want to pour the ooze into the 'backyard' or 'toilet'?");
4243
if ("toilet".equalsIgnoreCase(pourTo))
4344
{
@@ -54,7 +55,8 @@ else if ("backyard".equalsIgnoreCase(pourTo))
5455
}
5556
private static void pourIntoToilet()
5657
{
57-
tellMoreStory("As you pour the ooze into the toilet it backs up, gurgles and explodes covering you in radio-active waste.");
58+
tellMoreStory(
59+
"As you pour the ooze into the toilet it backs up, gurgles and explodes covering you in radio-active waste.");
5860
String pourTo = askAQuestion("Do you want to train to be a NINJA? 'Yes' or 'HECK YES'?");
5961
if ("yes".equalsIgnoreCase(pourTo))
6062
{
@@ -71,7 +73,8 @@ else if ("heck yes".equalsIgnoreCase(pourTo))
7173
}
7274
private static void pourIntoBackyard()
7375
{
74-
tellMoreStory("As you walk into the backyard a net scoops you up and a giant takes you to a boiling pot of water.");
76+
tellMoreStory(
77+
"As you walk into the backyard a net scoops you up and a giant takes you to a boiling pot of water.");
7578
String action = askAQuestion("As the man starts to prepare you as soup, do you... 'Scream' or 'Faint'?");
7679
if ("faint".equalsIgnoreCase(action))
7780
{

src/main/java/org/teachingkidsprogramming/recipes/completed/section06modelviewcontroller/DeepDive06ModelViewController.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import org.junit.Test;
99
import org.teachingextensions.logo.Tortoise;
1010

11+
@SuppressWarnings("unused")
1112
public class DeepDive06ModelViewController
1213
{
1314
@Test

src/main/java/org/teachingkidsprogramming/recipes/completed/section07objects/TortoiseMobile.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import org.teachingextensions.logo.utils.EventUtils.MouseRightClickListener;
1414
import org.teachingextensions.logo.utils.LineAndShapeUtils.Circle;
1515

16+
@SuppressWarnings("unused")
1617
//***********************In Progress***************************//
1718
public class TortoiseMobile implements MouseRightClickListener
1819
{

src/main/java/org/teachingkidsprogramming/section00demos/QuickShape.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import org.teachingextensions.logo.Tortoise;
66

7+
@SuppressWarnings("unused")
78
public class QuickShape
89
{
910
public static void main(String[] args) throws Exception

src/main/java/org/teachingkidsprogramming/section01forloops/DeepDive01ForLoops.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import org.teachingextensions.logo.Turtle;
88
import org.teachingextensions.logo.utils.TortoiseUtils;
99

10-
@SuppressWarnings("unused")
1110
public class DeepDive01ForLoops
1211
{
1312
// Step 1: SELECT the method name (numbersDoNotNeedQuotes on line 23), then click the Run Button

src/main/java/org/teachingkidsprogramming/section03ifs/ChooseYourOwnAdventure.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ private static void startStory()
2222
{
2323
// wakeUp (recipe below) --#2.1
2424
// ------------- Recipe for wakeUp --#2.2
25-
// Tell the user "You Wake up and have a boring day. The End." --#1
25+
// Tell the user "You wake up and have a boring day. The End." --#1
2626
// ------------- End of wakeUp recipe --#2.3
2727
}
2828
else if ("explore".equalsIgnoreCase(action))

src/main/java/org/teachingkidsprogramming/section05recursion/DeepDive05Recursion.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import org.teachingextensions.logo.Tortoise;
1212
import org.teachingextensions.logo.utils.ColorUtils.PenColors;
1313

14-
@SuppressWarnings("unused")
1514
public class DeepDive05Recursion
1615
{
1716
// Step 1: SELECT the method name (changeThePointerToAHand on line 27), then click the Run Button

0 commit comments

Comments
 (0)