diff --git a/bin/model/Profession.class b/bin/model/Profession.class index 763e6e0..af4b4ba 100644 Binary files a/bin/model/Profession.class and b/bin/model/Profession.class differ diff --git a/src/model/Die.java b/src/model/Die.java new file mode 100644 index 0000000..8ea6be0 --- /dev/null +++ b/src/model/Die.java @@ -0,0 +1,24 @@ +package model; +import java.util.Random; + + +public class Die { +/* + * Die will probably have to go in each individual turn, so that it can pull charity status + * from the player currently playing + */ + public int rollDice(Boolean c) { + Random rand = new Random(); + if (c) { + int face = 1+rand.nextInt(12); + return face; + /* There needs to be something that takes charity - 1 from the player after rolling + * Or maybe just a simple "if charity > 0 then charity - 1 after every turn + */ + } + else { + int face = 1+rand.nextInt(6); + return face; + } + } +}