diff --git a/TurkeyTrotNoArrays/TurkeyTrotNoArrays.pde b/TurkeyTrotNoArrays/TurkeyTrotNoArrays.pde index d2b1a48..9f3d43b 100644 --- a/TurkeyTrotNoArrays/TurkeyTrotNoArrays.pde +++ b/TurkeyTrotNoArrays/TurkeyTrotNoArrays.pde @@ -38,8 +38,9 @@ void setup() { void draw() { + // Draw the background (farmyard) - if (!gameOver) { + if (!gameOver) { // Draw the background (farmyard) background(farmyard); @@ -52,7 +53,7 @@ void draw() { // Option: Draw the turkeys so they fill the racing lanes (fewer turkeys mean bigger size) - } + } // This code only runs when the game is over diff --git a/TurkeyTrotNoArrays/data/cranberrySauce.png b/TurkeyTrotNoArrays/data/cranberrySauce.png new file mode 100644 index 0000000..3473445 Binary files /dev/null and b/TurkeyTrotNoArrays/data/cranberrySauce.png differ diff --git a/TurkeyTrotNoArrays/data/dinnerRolls.png b/TurkeyTrotNoArrays/data/dinnerRolls.png new file mode 100644 index 0000000..a4f4cd7 Binary files /dev/null and b/TurkeyTrotNoArrays/data/dinnerRolls.png differ diff --git a/TurkeyTrotNoArrays/data/gravy.png b/TurkeyTrotNoArrays/data/gravy.png new file mode 100644 index 0000000..3ce6cfe Binary files /dev/null and b/TurkeyTrotNoArrays/data/gravy.png differ diff --git a/TurkeyTrotNoArrays/data/greenBeanCasserole.png b/TurkeyTrotNoArrays/data/greenBeanCasserole.png new file mode 100644 index 0000000..397c859 Binary files /dev/null and b/TurkeyTrotNoArrays/data/greenBeanCasserole.png differ diff --git a/TurkeyTrotNoArrays/data/mashedPotatoes.png b/TurkeyTrotNoArrays/data/mashedPotatoes.png new file mode 100644 index 0000000..46a16e4 Binary files /dev/null and b/TurkeyTrotNoArrays/data/mashedPotatoes.png differ diff --git a/TurkeyTrotNoArrays/data/stuffing.png b/TurkeyTrotNoArrays/data/stuffing.png new file mode 100644 index 0000000..80fa2bc Binary files /dev/null and b/TurkeyTrotNoArrays/data/stuffing.png differ diff --git a/TurkeyTrotWithArrays/TurkeyTrotWithArrays.pde b/TurkeyTrotWithArrays/TurkeyTrotWithArrays.pde index 15b81c4..8378183 100644 --- a/TurkeyTrotWithArrays/TurkeyTrotWithArrays.pde +++ b/TurkeyTrotWithArrays/TurkeyTrotWithArrays.pde @@ -29,9 +29,9 @@ void setup() { } void draw() { + // Draw the background (farmyard) - if (!gameOver) { - // Draw the background (farmyard) + if (!gameOver) { drawLaneMarkers(); // This method draws the lines between each racing lane drawTurkeys(); // This method draws each turkey @@ -42,7 +42,7 @@ void draw() { // Option: Draw the turkeys so they fill the racing lanes (fewer turkeys mean bigger size) - } + } // This code only runs when the game is over // You do not have to change this code unless you want to diff --git a/TurkeyTrotWithArrays/data/cranberrySauce.png b/TurkeyTrotWithArrays/data/cranberrySauce.png new file mode 100644 index 0000000..3473445 Binary files /dev/null and b/TurkeyTrotWithArrays/data/cranberrySauce.png differ diff --git a/TurkeyTrotWithArrays/data/dinnerRolls.png b/TurkeyTrotWithArrays/data/dinnerRolls.png new file mode 100644 index 0000000..a4f4cd7 Binary files /dev/null and b/TurkeyTrotWithArrays/data/dinnerRolls.png differ diff --git a/TurkeyTrotWithArrays/data/gravy.png b/TurkeyTrotWithArrays/data/gravy.png new file mode 100644 index 0000000..3ce6cfe Binary files /dev/null and b/TurkeyTrotWithArrays/data/gravy.png differ diff --git a/TurkeyTrotWithArrays/data/greenBeanCasserole.png b/TurkeyTrotWithArrays/data/greenBeanCasserole.png new file mode 100644 index 0000000..397c859 Binary files /dev/null and b/TurkeyTrotWithArrays/data/greenBeanCasserole.png differ diff --git a/TurkeyTrotWithArrays/data/mashedPotatoes.png b/TurkeyTrotWithArrays/data/mashedPotatoes.png new file mode 100644 index 0000000..46a16e4 Binary files /dev/null and b/TurkeyTrotWithArrays/data/mashedPotatoes.png differ diff --git a/TurkeyTrotWithArrays/data/stuffing.png b/TurkeyTrotWithArrays/data/stuffing.png new file mode 100644 index 0000000..80fa2bc Binary files /dev/null and b/TurkeyTrotWithArrays/data/stuffing.png differ