diff --git a/src/main/java/io/zipcoder/casino/BlackJack.java b/src/main/java/io/zipcoder/casino/BlackJack.java new file mode 100644 index 000000000..359282423 --- /dev/null +++ b/src/main/java/io/zipcoder/casino/BlackJack.java @@ -0,0 +1,6 @@ +package io.zipcoder.casino; + +import javax.smartcardio.Card; + +public class BlackJack extends Game implements CardGame { +} diff --git a/src/main/java/io/zipcoder/casino/CardGame.java b/src/main/java/io/zipcoder/casino/CardGame.java new file mode 100644 index 000000000..243744cb4 --- /dev/null +++ b/src/main/java/io/zipcoder/casino/CardGame.java @@ -0,0 +1,4 @@ +package io.zipcoder.casino; + +public interface CardGame { +} diff --git a/src/main/java/io/zipcoder/casino/Casino.java b/src/main/java/io/zipcoder/casino/Casino.java index 16ca0dd74..997f61e26 100644 --- a/src/main/java/io/zipcoder/casino/Casino.java +++ b/src/main/java/io/zipcoder/casino/Casino.java @@ -1,8 +1,19 @@ package io.zipcoder.casino; +import java.util.HashMap; + public class Casino { + String CasinoName = ""; + HashMap Players; + + public Casino (String CasinoName){ + this.CasinoName = CasinoName; + } + public static void main(String[] args) { // write your tests before you start fucking with this } + + } diff --git a/src/main/java/io/zipcoder/casino/Dealer.java b/src/main/java/io/zipcoder/casino/Dealer.java new file mode 100644 index 000000000..03d02886c --- /dev/null +++ b/src/main/java/io/zipcoder/casino/Dealer.java @@ -0,0 +1,4 @@ +package io.zipcoder.casino; + +public interface Dealer { +} diff --git a/src/main/java/io/zipcoder/casino/GamblerAttributes.java b/src/main/java/io/zipcoder/casino/GamblerAttributes.java new file mode 100644 index 000000000..bf19fe9fd --- /dev/null +++ b/src/main/java/io/zipcoder/casino/GamblerAttributes.java @@ -0,0 +1,5 @@ +package io.zipcoder.casino; + +public interface GamblerAttributes { + boolean isadult = true; +} diff --git a/src/main/java/io/zipcoder/casino/GamblingPlayer.java b/src/main/java/io/zipcoder/casino/GamblingPlayer.java new file mode 100644 index 000000000..a534df9af --- /dev/null +++ b/src/main/java/io/zipcoder/casino/GamblingPlayer.java @@ -0,0 +1,6 @@ +package io.zipcoder.casino; + +public class GamblingPlayer extends Player implements GamblerAttributes{ + //can play all games + //can bet, can win, can cashout. +} diff --git a/src/main/java/io/zipcoder/casino/Game.java b/src/main/java/io/zipcoder/casino/Game.java new file mode 100644 index 000000000..fe390b0b8 --- /dev/null +++ b/src/main/java/io/zipcoder/casino/Game.java @@ -0,0 +1,4 @@ +package io.zipcoder.casino; + +public class Game { +} diff --git a/src/main/java/io/zipcoder/casino/GoFish.java b/src/main/java/io/zipcoder/casino/GoFish.java new file mode 100644 index 000000000..72a6f80ec --- /dev/null +++ b/src/main/java/io/zipcoder/casino/GoFish.java @@ -0,0 +1,4 @@ +package io.zipcoder.casino; + +public class GoFish extends Game implements CardGame{ +} diff --git a/src/main/java/io/zipcoder/casino/Player.java b/src/main/java/io/zipcoder/casino/Player.java new file mode 100644 index 000000000..9f10e7c22 --- /dev/null +++ b/src/main/java/io/zipcoder/casino/Player.java @@ -0,0 +1,9 @@ +package io.zipcoder.casino; + +public class Player { + String playerName = ""; + Double chips = 0.0; + Double cash = 0.0; + boolean isAdult = true; + +} diff --git a/src/main/java/io/zipcoder/casino/inputOutput.java b/src/main/java/io/zipcoder/casino/inputOutput.java new file mode 100644 index 000000000..f1eea37a3 --- /dev/null +++ b/src/main/java/io/zipcoder/casino/inputOutput.java @@ -0,0 +1,4 @@ +package io.zipcoder.casino; + +public class inputOutput { +}