Tariq Hook 7 years ago
commit
8cb8bf0bf0
6 changed files with 162 additions and 0 deletions
  1. 102
    0
      .gitignore
  2. 31
    0
      README.md
  3. BIN
      UML.pdf
  4. 19
    0
      pom.xml
  5. 5
    0
      src/main/java/io/zipcoder/casino/Casino.java
  6. 5
    0
      src/test/java/io/zipcoder/casino/CasinoTest.java

+ 102
- 0
.gitignore View File

1
+.metadata
2
+bin/
3
+tmp/
4
+*.tmp
5
+*.bak
6
+*.swp
7
+*~.nib
8
+local.properties
9
+.settings/
10
+.loadpath
11
+.recommenders
12
+
13
+# External tool builders
14
+.externalToolBuilders/
15
+
16
+# Locally stored "Eclipse launch configurations"
17
+*.launch
18
+
19
+# PyDev specific (Python IDE for Eclipse)
20
+*.pydevproject
21
+
22
+# CDT-specific (C/C++ Development Tooling)
23
+.cproject
24
+
25
+# Java annotation processor (APT)
26
+.factorypath
27
+
28
+# PDT-specific (PHP Development Tools)
29
+.buildpath
30
+
31
+# sbteclipse plugin
32
+.target
33
+
34
+# Tern plugin
35
+.tern-project
36
+
37
+# TeXlipse plugin
38
+.texlipse
39
+
40
+# STS (Spring Tool Suite)
41
+.springBeans
42
+
43
+# Code Recommenders
44
+.recommenders/
45
+
46
+# Scala IDE specific (Scala & Java development for Eclipse)
47
+.cache-main
48
+.scala_dependencies
49
+.worksheet
50
+
51
+# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
52
+# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
53
+
54
+# User-specific stuff:
55
+.idea/**
56
+.idea/**/tasks.xml
57
+.idea/dictionaries
58
+
59
+# Sensitive or high-churn files:
60
+.idea/**/dataSources/
61
+.idea/**/dataSources.ids
62
+.idea/**/dataSources.xml
63
+.idea/**/dataSources.local.xml
64
+.idea/**/sqlDataSources.xml
65
+.idea/**/dynamic.xml
66
+.idea/**/uiDesigner.xml
67
+
68
+# Gradle:
69
+.idea/**/gradle.xml
70
+.idea/**/libraries
71
+.idea/*
72
+*.iml
73
+
74
+# CMake
75
+cmake-build-debug/
76
+
77
+# Mongo Explorer plugin:
78
+.idea/**/mongoSettings.xml
79
+
80
+## File-based project format:
81
+*.iws
82
+
83
+## Plugin-specific files:
84
+
85
+# IntelliJ
86
+/out/
87
+
88
+# mpeltonen/sbt-idea plugin
89
+.idea_modules/
90
+
91
+# JIRA plugin
92
+atlassian-ide-plugin.xml
93
+
94
+# Cursive Clojure plugin
95
+.idea/replstate.xml
96
+
97
+# Crashlytics plugin (for Android Studio and IntelliJ)
98
+com_crashlytics_export_strings.xml
99
+crashlytics.properties
100
+crashlytics-build.properties
101
+fabric.properties
102
+target/*

+ 31
- 0
README.md View File

1
+##TC-Casino
2
+
3
+So in this lab you will be creating a casino based game.
4
+
5
+Your application must have at the very least 3 games.
6
+
7
+1. Go Fish a card game
8
+2. BlackJack a card game
9
+3. Craps a dice game
10
+
11
+In this repo is a file called UML.pdf
12
+
13
+In UML.pdf it shows 2 interfaces which you have to create
14
+
15
+1. Game
16
+2. Gamble
17
+
18
+All of the Games you create must implement the Game interface, while only games that involve gambling should implement Gamble.
19
+
20
+1. BlackJack
21
+2. Craps
22
+
23
+Go fish is a friendly game and should not involve gambling.
24
+
25
+Also notice that BlackJack and GoFish , both inherit from CardGame. Any logic or fields that both games use should live in the CardGame class, and not in BlackJack and GoFish.
26
+
27
+The UML provided is missing objects and definitions you will need to complete this project.
28
+
29
+Before you proceed to do any development you will need to have completed and had approved a workable UML diagram.
30
+
31
+You can either work by yourself , or in a group no bigger than 3.

BIN
UML.pdf View File


+ 19
- 0
pom.xml View File

1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project xmlns="http://maven.apache.org/POM/4.0.0"
3
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
+    <modelVersion>4.0.0</modelVersion>
6
+
7
+    <groupId>io.zipcoder</groupId>
8
+    <artifactId>casino</artifactId>
9
+    <version>1.0-SNAPSHOT</version>
10
+
11
+    <dependencies>
12
+        <dependency>
13
+            <groupId>junit</groupId>
14
+            <artifactId>junit</artifactId>
15
+            <version>4.12</version>
16
+            <scope>test</scope>
17
+        </dependency>
18
+    </dependencies>
19
+</project>

+ 5
- 0
src/main/java/io/zipcoder/casino/Casino.java View File

1
+package io.zipcoder.casino;
2
+
3
+
4
+public class Casino {
5
+}

+ 5
- 0
src/test/java/io/zipcoder/casino/CasinoTest.java View File

1
+package io.zipcoder.casino;
2
+
3
+
4
+public class CasinoTest {
5
+}