File tree Expand file tree Collapse file tree
TeachingKidsProgramming/src
org/teachingkidsprogramming Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package org .teachingkidsprogramming .recipes .inDevelopment ;
22
3- public class SmallBasicHolidayCard
3+ public class HolidayCard
44{
55 //**needs to be translated from the SmallBasic
66 // Holiday Recipe - Enjoy!
@@ -19,20 +19,20 @@ public class SmallBasicHolidayCard
1919 //
2020 // Otherwise,
2121 //
22- // DrawMerryChristmas (recipe below)
22+ // DrawHappyHolidays (recipe below)
2323 //
2424 // ------------- End of Click recipe
2525 //
2626 //
27- // ------------- Recipe for DrawMerryChristmas
27+ // ------------- Recipe for DrawHappyHolidays
2828 //
2929 // Play the music for Jingle Bells (Hint:"EEEP4EEEP4EGCDL1E")
3030 //
3131 // Set the font to be 48pt
3232 //
3333 // Set the color of the font to red
3434 //
35- // Write "Merry Christmas " on the screen at position 150, 150
35+ // Write "Happy Holidays " on the screen at position 150, 150
3636 //
3737 // ------------- End of DrawMerryChristmas recipe
3838 //
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11package org .teachingkidsprogramming .recipes .inDevelopment ;
22
3- public class SmallBasicTicTacToe
3+ public class TicTacToe
44{
5- //**needs to be translated from the SmallBasic**
5+ //**need to create the TicTacToe board (object) and Player objects**
6+ //
67 // Tell TicTacToe to call PlayInFirstEmptySpot (recipe below) when its Xs turn
78 //
8- // Start TicTacToe
9+ // Start TicTacToe
910 //
1011 // Recipe for PlayInFirstEmptySpot
1112 //
Original file line number Diff line number Diff line change 1+ package org .teachingkidsprogramming .section07objects ;
2+
3+ import org .teachingkidsprogramming .recipes .quizzes .graders .SpiderQuiz ;
4+ import org .teachingkidsprogramming .recipes .quizzes .graders .SpiderWebQuizGrader ;
5+
6+ public class SpiderWebQuiz extends SpiderQuiz
7+ {
8+ @ Override
9+ public void question1 ()
10+ {
11+ // Do the following the current number of times HINT: "number" is a variable name
12+ // Call circle()
13+ // Repeat
14+ }
15+ public void question2 ()
16+ {
17+ // Create and then call a recipe called circleAround which
18+ // Does the following 3 times
19+ // Call adjust()
20+ // Call question1
21+ // Repeat
22+ }
23+ public void question3 ()
24+ {
25+ // Create and then call a recipe called grow which
26+ // Changes the current length so it is multiplied by 2.5
27+ }
28+ public void question4 ()
29+ {
30+ // Create and then call a recipe called shrink which
31+ // Decreases the current length by 9 pixels
32+ }
33+ public void question5 ()
34+ {
35+ // Create and then call a recipe called expand which
36+ // Increases the current number by 12
37+ }
38+ public static void main (String [] args )
39+ {
40+ new SpiderWebQuizGrader ().grade (new SpiderWebQuiz ());
41+ }
42+ }
You can’t perform that action at this time.
0 commit comments