From 07be9af525bee5b3c530e2a212100f45e7fb8f90 Mon Sep 17 00:00:00 2001 From: merodriguez27 Date: Thu, 17 Apr 2025 11:53:51 -0400 Subject: [PATCH 1/3] committing nananuthouse --- nananuthouse.java | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 nananuthouse.java diff --git a/nananuthouse.java b/nananuthouse.java new file mode 100644 index 00000000..127b867a --- /dev/null +++ b/nananuthouse.java @@ -0,0 +1,6 @@ +public class Nana_NutHouse { + + public Nana_NutHouse() { + + } +} From f8f1aed34db4f98777cbcd868bd7e9c94c9f71df Mon Sep 17 00:00:00 2001 From: merodriguez27 Date: Mon, 21 Apr 2025 14:59:36 -0400 Subject: [PATCH 2/3] comittingsomething --- Nana_NutHouse.java | 47 ++++++++++++++++++++++++++++++++++++++++++++++ PathPlaces.java | 20 ++++++++++++++++++++ nananuthouse.java | 6 ------ 3 files changed, 67 insertions(+), 6 deletions(-) create mode 100644 Nana_NutHouse.java create mode 100644 PathPlaces.java delete mode 100644 nananuthouse.java diff --git a/Nana_NutHouse.java b/Nana_NutHouse.java new file mode 100644 index 00000000..5fed8a0b --- /dev/null +++ b/Nana_NutHouse.java @@ -0,0 +1,47 @@ +import java.util.Scanner; +import java.util.Random; + +public class Nana_NutHouse { + private int selectNumber; + private boolean discoverIngredients; + private int nSugarCubes; + private int nCandyFlowers; + private int nGlutenFreeFlourPower; + + public Nana_NutHouse() { + + } + + public int chocoBridgeNumber() { + if (//number is odd, bridge breaks, and lose one life) { + //if statement is true + } else { + //false + } + return this.selectNumber; + //how do I make it so the chocolate bridge breaks if an odd number is typed ? + //advance to nana nut house if even number is typed? if, else + } + + + public boolean scavengerHunt() { + return this.discoverIngredients; + //hide sugar, candy, and gluten-free flour for Nana's home. if found advance straight to Nana's house + } + + public int findSugarCubes() { + //if land on certain color, sugar cube found + //how do I create a baseline sugar cube amount + } + + + //scanner class needed + //or use random number generator within a range + //hide a peppermint candy on trail and if found, advance to peppermint forest + // how many gingerbreads in the bag, then you advance + + public static void main(String[] args) { + Scanner scanner = new Scanner(System.in); + Random random = new Random(); + } +} diff --git a/PathPlaces.java b/PathPlaces.java new file mode 100644 index 00000000..726c9c70 --- /dev/null +++ b/PathPlaces.java @@ -0,0 +1,20 @@ + +public class PathPlaces { + + protected String name; + protected int colorBlocks; + protected int selectNumber; + protected int secretObjects; + +public PathPlaces() { + this.name = name; + this.colorBlocks = colorBlocks; + this.selectNumber = selectNumber; + this.secretObjects = secretObjects; +} + +// attributes +// constructor +//random number +//random objects +} \ No newline at end of file diff --git a/nananuthouse.java b/nananuthouse.java deleted file mode 100644 index 127b867a..00000000 --- a/nananuthouse.java +++ /dev/null @@ -1,6 +0,0 @@ -public class Nana_NutHouse { - - public Nana_NutHouse() { - - } -} From b202fb8c699eb639618ed5015613d51626e29b0c Mon Sep 17 00:00:00 2001 From: merodriguez27 Date: Tue, 22 Apr 2025 11:41:59 -0400 Subject: [PATCH 3/3] Committing to branch --- Nana_NutHouse.java | 4 ++-- PathPlaces.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Nana_NutHouse.java b/Nana_NutHouse.java index 5fed8a0b..e4059dd5 100644 --- a/Nana_NutHouse.java +++ b/Nana_NutHouse.java @@ -9,7 +9,7 @@ public class Nana_NutHouse { private int nGlutenFreeFlourPower; public Nana_NutHouse() { - +//add method for nanahouse where if you get the number right you get a gluten-free cake for Kandy Kastle --> } public int chocoBridgeNumber() { @@ -23,7 +23,7 @@ public int chocoBridgeNumber() { //advance to nana nut house if even number is typed? if, else } - +//peppermint forest change position to #20 public boolean scavengerHunt() { return this.discoverIngredients; //hide sugar, candy, and gluten-free flour for Nana's home. if found advance straight to Nana's house diff --git a/PathPlaces.java b/PathPlaces.java index 726c9c70..b1e13e10 100644 --- a/PathPlaces.java +++ b/PathPlaces.java @@ -12,7 +12,7 @@ public PathPlaces() { this.selectNumber = selectNumber; this.secretObjects = secretObjects; } - +//all need trivea question // attributes // constructor //random number