From d05f1ea4c46ded260de72b9ae5fae2833c8e5bd2 Mon Sep 17 00:00:00 2001 From: tashsmit Date: Sun, 3 May 2015 11:31:40 -0400 Subject: [PATCH] homework and excercises --- .gitignore | 3 + Tasha_Smith/.idea/.name | 1 + Tasha_Smith/.idea/Tasha_Smith.iml | 9 + Tasha_Smith/.idea/compiler.xml | 23 + .../.idea/copyright/profiles_settings.xml | 3 + Tasha_Smith/.idea/encodings.xml | 4 + Tasha_Smith/.idea/misc.xml | 205 +++++++++ Tasha_Smith/.idea/modules.xml | 12 + Tasha_Smith/.idea/scopes/scope_settings.xml | 5 + Tasha_Smith/.idea/vcs.xml | 6 + Tasha_Smith/.idea/workspace.xml | 424 +++++++++++++++++ .../AC_04-30/Excercise1/.idea/compiler.xml | 23 + .../.idea/copyright/profiles_settings.xml | 3 + .../Excercise1/.idea/description.html | 1 + .../AC_04-30/Excercise1/.idea/encodings.xml | 4 + .../AC_04-30/Excercise1/.idea/misc.xml | 12 + .../AC_04-30/Excercise1/.idea/modules.xml | 8 + .../Excercise1/.idea/project-template.xml | 3 + .../.idea/scopes/scope_settings.xml | 5 + Tasha_Smith/AC_04-30/Excercise1/.idea/vcs.xml | 6 + .../AC_04-30/Excercise1/.idea/workspace.xml | 197 ++++++++ .../AC_04-30/Excercise1/Excercise1.iml | 11 + .../Excercise1/src/nyc/c4q/tashsmit/Main.java | 8 + .../Adventure_Game/.idea/compiler.xml | 23 + .../.idea/copyright/profiles_settings.xml | 3 + .../Adventure_Game/.idea/description.html | 1 + .../Adventure_Game/.idea/encodings.xml | 4 + .../HW_04-28/Adventure_Game/.idea/misc.xml | 12 + .../HW_04-28/Adventure_Game/.idea/modules.xml | 8 + .../Adventure_Game/.idea/project-template.xml | 3 + .../.idea/scopes/scope_settings.xml | 5 + .../HW_04-28/Adventure_Game/.idea/vcs.xml | 6 + .../Adventure_Game/.idea/workspace.xml | 229 +++++++++ .../Adventure_Game/Adventure_Game.iml | 11 + .../src/nyc/c4q/tashsmit/Main.java | 8 + .../HW_04-28/Animal_Class/.idea/compiler.xml | 23 + .../.idea/copyright/profiles_settings.xml | 3 + .../Animal_Class/.idea/description.html | 1 + .../HW_04-28/Animal_Class/.idea/encodings.xml | 4 + .../HW_04-28/Animal_Class/.idea/misc.xml | 12 + .../HW_04-28/Animal_Class/.idea/modules.xml | 8 + .../Animal_Class/.idea/project-template.xml | 3 + .../.idea/scopes/scope_settings.xml | 5 + .../HW_04-28/Animal_Class/.idea/vcs.xml | 6 + .../HW_04-28/Animal_Class/.idea/workspace.xml | 407 ++++++++++++++++ .../HW_04-28/Animal_Class/Animal_Class.iml | 11 + .../src/nyc/c4q/tashsmit/Animal.java | 38 ++ .../src/nyc/c4q/tashsmit/Domestic.java | 9 + .../src/nyc/c4q/tashsmit/DomesticCat.java | 39 ++ .../src/nyc/c4q/tashsmit/Main.java | 8 + .../HW_04-28/Card_Game/.idea/compiler.xml | 23 + .../.idea/copyright/profiles_settings.xml | 3 + .../HW_04-28/Card_Game/.idea/description.html | 1 + .../HW_04-28/Card_Game/.idea/encodings.xml | 4 + Tasha_Smith/HW_04-28/Card_Game/.idea/misc.xml | 12 + .../HW_04-28/Card_Game/.idea/modules.xml | 8 + .../Card_Game/.idea/project-template.xml | 3 + .../Card_Game/.idea/scopes/scope_settings.xml | 5 + .../HW_04-28/Card_Game/.idea/uiDesigner.xml | 124 +++++ Tasha_Smith/HW_04-28/Card_Game/.idea/vcs.xml | 6 + .../HW_04-28/Card_Game/.idea/workspace.xml | 433 ++++++++++++++++++ Tasha_Smith/HW_04-28/Card_Game/Card_Game.iml | 11 + .../Card_Game/src/nyc/c4q/tashsmit/Card.java | 8 + .../src/nyc/c4q/tashsmit/CardGame.java | 11 + .../Card_Game/src/nyc/c4q/tashsmit/Main.java | 8 + .../src/nyc/c4q/tashsmit/PlayingCard.java | 29 ++ 66 files changed, 2555 insertions(+) create mode 100644 .gitignore create mode 100644 Tasha_Smith/.idea/.name create mode 100644 Tasha_Smith/.idea/Tasha_Smith.iml create mode 100644 Tasha_Smith/.idea/compiler.xml create mode 100644 Tasha_Smith/.idea/copyright/profiles_settings.xml create mode 100644 Tasha_Smith/.idea/encodings.xml create mode 100644 Tasha_Smith/.idea/misc.xml create mode 100644 Tasha_Smith/.idea/modules.xml create mode 100644 Tasha_Smith/.idea/scopes/scope_settings.xml create mode 100644 Tasha_Smith/.idea/vcs.xml create mode 100644 Tasha_Smith/.idea/workspace.xml create mode 100644 Tasha_Smith/AC_04-30/Excercise1/.idea/compiler.xml create mode 100644 Tasha_Smith/AC_04-30/Excercise1/.idea/copyright/profiles_settings.xml create mode 100644 Tasha_Smith/AC_04-30/Excercise1/.idea/description.html create mode 100644 Tasha_Smith/AC_04-30/Excercise1/.idea/encodings.xml create mode 100644 Tasha_Smith/AC_04-30/Excercise1/.idea/misc.xml create mode 100644 Tasha_Smith/AC_04-30/Excercise1/.idea/modules.xml create mode 100644 Tasha_Smith/AC_04-30/Excercise1/.idea/project-template.xml create mode 100644 Tasha_Smith/AC_04-30/Excercise1/.idea/scopes/scope_settings.xml create mode 100644 Tasha_Smith/AC_04-30/Excercise1/.idea/vcs.xml create mode 100644 Tasha_Smith/AC_04-30/Excercise1/.idea/workspace.xml create mode 100644 Tasha_Smith/AC_04-30/Excercise1/Excercise1.iml create mode 100644 Tasha_Smith/AC_04-30/Excercise1/src/nyc/c4q/tashsmit/Main.java create mode 100644 Tasha_Smith/HW_04-28/Adventure_Game/.idea/compiler.xml create mode 100644 Tasha_Smith/HW_04-28/Adventure_Game/.idea/copyright/profiles_settings.xml create mode 100644 Tasha_Smith/HW_04-28/Adventure_Game/.idea/description.html create mode 100644 Tasha_Smith/HW_04-28/Adventure_Game/.idea/encodings.xml create mode 100644 Tasha_Smith/HW_04-28/Adventure_Game/.idea/misc.xml create mode 100644 Tasha_Smith/HW_04-28/Adventure_Game/.idea/modules.xml create mode 100644 Tasha_Smith/HW_04-28/Adventure_Game/.idea/project-template.xml create mode 100644 Tasha_Smith/HW_04-28/Adventure_Game/.idea/scopes/scope_settings.xml create mode 100644 Tasha_Smith/HW_04-28/Adventure_Game/.idea/vcs.xml create mode 100644 Tasha_Smith/HW_04-28/Adventure_Game/.idea/workspace.xml create mode 100644 Tasha_Smith/HW_04-28/Adventure_Game/Adventure_Game.iml create mode 100644 Tasha_Smith/HW_04-28/Adventure_Game/src/nyc/c4q/tashsmit/Main.java create mode 100644 Tasha_Smith/HW_04-28/Animal_Class/.idea/compiler.xml create mode 100644 Tasha_Smith/HW_04-28/Animal_Class/.idea/copyright/profiles_settings.xml create mode 100644 Tasha_Smith/HW_04-28/Animal_Class/.idea/description.html create mode 100644 Tasha_Smith/HW_04-28/Animal_Class/.idea/encodings.xml create mode 100644 Tasha_Smith/HW_04-28/Animal_Class/.idea/misc.xml create mode 100644 Tasha_Smith/HW_04-28/Animal_Class/.idea/modules.xml create mode 100644 Tasha_Smith/HW_04-28/Animal_Class/.idea/project-template.xml create mode 100644 Tasha_Smith/HW_04-28/Animal_Class/.idea/scopes/scope_settings.xml create mode 100644 Tasha_Smith/HW_04-28/Animal_Class/.idea/vcs.xml create mode 100644 Tasha_Smith/HW_04-28/Animal_Class/.idea/workspace.xml create mode 100644 Tasha_Smith/HW_04-28/Animal_Class/Animal_Class.iml create mode 100644 Tasha_Smith/HW_04-28/Animal_Class/src/nyc/c4q/tashsmit/Animal.java create mode 100644 Tasha_Smith/HW_04-28/Animal_Class/src/nyc/c4q/tashsmit/Domestic.java create mode 100644 Tasha_Smith/HW_04-28/Animal_Class/src/nyc/c4q/tashsmit/DomesticCat.java create mode 100644 Tasha_Smith/HW_04-28/Animal_Class/src/nyc/c4q/tashsmit/Main.java create mode 100644 Tasha_Smith/HW_04-28/Card_Game/.idea/compiler.xml create mode 100644 Tasha_Smith/HW_04-28/Card_Game/.idea/copyright/profiles_settings.xml create mode 100644 Tasha_Smith/HW_04-28/Card_Game/.idea/description.html create mode 100644 Tasha_Smith/HW_04-28/Card_Game/.idea/encodings.xml create mode 100644 Tasha_Smith/HW_04-28/Card_Game/.idea/misc.xml create mode 100644 Tasha_Smith/HW_04-28/Card_Game/.idea/modules.xml create mode 100644 Tasha_Smith/HW_04-28/Card_Game/.idea/project-template.xml create mode 100644 Tasha_Smith/HW_04-28/Card_Game/.idea/scopes/scope_settings.xml create mode 100644 Tasha_Smith/HW_04-28/Card_Game/.idea/uiDesigner.xml create mode 100644 Tasha_Smith/HW_04-28/Card_Game/.idea/vcs.xml create mode 100644 Tasha_Smith/HW_04-28/Card_Game/.idea/workspace.xml create mode 100644 Tasha_Smith/HW_04-28/Card_Game/Card_Game.iml create mode 100644 Tasha_Smith/HW_04-28/Card_Game/src/nyc/c4q/tashsmit/Card.java create mode 100644 Tasha_Smith/HW_04-28/Card_Game/src/nyc/c4q/tashsmit/CardGame.java create mode 100644 Tasha_Smith/HW_04-28/Card_Game/src/nyc/c4q/tashsmit/Main.java create mode 100644 Tasha_Smith/HW_04-28/Card_Game/src/nyc/c4q/tashsmit/PlayingCard.java diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..bfb3c577 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.DS_Store +out/ +*.class diff --git a/Tasha_Smith/.idea/.name b/Tasha_Smith/.idea/.name new file mode 100644 index 00000000..b9f539da --- /dev/null +++ b/Tasha_Smith/.idea/.name @@ -0,0 +1 @@ +Tasha_Smith \ No newline at end of file diff --git a/Tasha_Smith/.idea/Tasha_Smith.iml b/Tasha_Smith/.idea/Tasha_Smith.iml new file mode 100644 index 00000000..d6ebd480 --- /dev/null +++ b/Tasha_Smith/.idea/Tasha_Smith.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/.idea/compiler.xml b/Tasha_Smith/.idea/compiler.xml new file mode 100644 index 00000000..a8523149 --- /dev/null +++ b/Tasha_Smith/.idea/compiler.xml @@ -0,0 +1,23 @@ + + + + + \ No newline at end of file diff --git a/Tasha_Smith/.idea/copyright/profiles_settings.xml b/Tasha_Smith/.idea/copyright/profiles_settings.xml new file mode 100644 index 00000000..e7bedf33 --- /dev/null +++ b/Tasha_Smith/.idea/copyright/profiles_settings.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/Tasha_Smith/.idea/encodings.xml b/Tasha_Smith/.idea/encodings.xml new file mode 100644 index 00000000..d8210482 --- /dev/null +++ b/Tasha_Smith/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Tasha_Smith/.idea/misc.xml b/Tasha_Smith/.idea/misc.xml new file mode 100644 index 00000000..ee6be2fa --- /dev/null +++ b/Tasha_Smith/.idea/misc.xml @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.7 + + + + + + + + 1.7 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/.idea/modules.xml b/Tasha_Smith/.idea/modules.xml new file mode 100644 index 00000000..1a9cd046 --- /dev/null +++ b/Tasha_Smith/.idea/modules.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/.idea/scopes/scope_settings.xml b/Tasha_Smith/.idea/scopes/scope_settings.xml new file mode 100644 index 00000000..922003b8 --- /dev/null +++ b/Tasha_Smith/.idea/scopes/scope_settings.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/Tasha_Smith/.idea/vcs.xml b/Tasha_Smith/.idea/vcs.xml new file mode 100644 index 00000000..6564d52d --- /dev/null +++ b/Tasha_Smith/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/.idea/workspace.xml b/Tasha_Smith/.idea/workspace.xml new file mode 100644 index 00000000..1a3c30dc --- /dev/null +++ b/Tasha_Smith/.idea/workspace.xml @@ -0,0 +1,424 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1430593441154 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/AC_04-30/Excercise1/.idea/compiler.xml b/Tasha_Smith/AC_04-30/Excercise1/.idea/compiler.xml new file mode 100644 index 00000000..a8523149 --- /dev/null +++ b/Tasha_Smith/AC_04-30/Excercise1/.idea/compiler.xml @@ -0,0 +1,23 @@ + + + + + \ No newline at end of file diff --git a/Tasha_Smith/AC_04-30/Excercise1/.idea/copyright/profiles_settings.xml b/Tasha_Smith/AC_04-30/Excercise1/.idea/copyright/profiles_settings.xml new file mode 100644 index 00000000..e7bedf33 --- /dev/null +++ b/Tasha_Smith/AC_04-30/Excercise1/.idea/copyright/profiles_settings.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/Tasha_Smith/AC_04-30/Excercise1/.idea/description.html b/Tasha_Smith/AC_04-30/Excercise1/.idea/description.html new file mode 100644 index 00000000..db5f1295 --- /dev/null +++ b/Tasha_Smith/AC_04-30/Excercise1/.idea/description.html @@ -0,0 +1 @@ +Simple Java application that includes a class with main() method \ No newline at end of file diff --git a/Tasha_Smith/AC_04-30/Excercise1/.idea/encodings.xml b/Tasha_Smith/AC_04-30/Excercise1/.idea/encodings.xml new file mode 100644 index 00000000..d8210482 --- /dev/null +++ b/Tasha_Smith/AC_04-30/Excercise1/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Tasha_Smith/AC_04-30/Excercise1/.idea/misc.xml b/Tasha_Smith/AC_04-30/Excercise1/.idea/misc.xml new file mode 100644 index 00000000..ccf24ce4 --- /dev/null +++ b/Tasha_Smith/AC_04-30/Excercise1/.idea/misc.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/AC_04-30/Excercise1/.idea/modules.xml b/Tasha_Smith/AC_04-30/Excercise1/.idea/modules.xml new file mode 100644 index 00000000..e6068499 --- /dev/null +++ b/Tasha_Smith/AC_04-30/Excercise1/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/AC_04-30/Excercise1/.idea/project-template.xml b/Tasha_Smith/AC_04-30/Excercise1/.idea/project-template.xml new file mode 100644 index 00000000..1f08b887 --- /dev/null +++ b/Tasha_Smith/AC_04-30/Excercise1/.idea/project-template.xml @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/Tasha_Smith/AC_04-30/Excercise1/.idea/scopes/scope_settings.xml b/Tasha_Smith/AC_04-30/Excercise1/.idea/scopes/scope_settings.xml new file mode 100644 index 00000000..922003b8 --- /dev/null +++ b/Tasha_Smith/AC_04-30/Excercise1/.idea/scopes/scope_settings.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/Tasha_Smith/AC_04-30/Excercise1/.idea/vcs.xml b/Tasha_Smith/AC_04-30/Excercise1/.idea/vcs.xml new file mode 100644 index 00000000..6564d52d --- /dev/null +++ b/Tasha_Smith/AC_04-30/Excercise1/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/AC_04-30/Excercise1/.idea/workspace.xml b/Tasha_Smith/AC_04-30/Excercise1/.idea/workspace.xml new file mode 100644 index 00000000..869acec0 --- /dev/null +++ b/Tasha_Smith/AC_04-30/Excercise1/.idea/workspace.xml @@ -0,0 +1,197 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1430576016141 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/AC_04-30/Excercise1/Excercise1.iml b/Tasha_Smith/AC_04-30/Excercise1/Excercise1.iml new file mode 100644 index 00000000..c90834f2 --- /dev/null +++ b/Tasha_Smith/AC_04-30/Excercise1/Excercise1.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/AC_04-30/Excercise1/src/nyc/c4q/tashsmit/Main.java b/Tasha_Smith/AC_04-30/Excercise1/src/nyc/c4q/tashsmit/Main.java new file mode 100644 index 00000000..67889329 --- /dev/null +++ b/Tasha_Smith/AC_04-30/Excercise1/src/nyc/c4q/tashsmit/Main.java @@ -0,0 +1,8 @@ +package nyc.c4q.tashsmit; + +public class Main { + + public static void main(String[] args) { + // write your code here + } +} diff --git a/Tasha_Smith/HW_04-28/Adventure_Game/.idea/compiler.xml b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/compiler.xml new file mode 100644 index 00000000..a8523149 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/compiler.xml @@ -0,0 +1,23 @@ + + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Adventure_Game/.idea/copyright/profiles_settings.xml b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/copyright/profiles_settings.xml new file mode 100644 index 00000000..e7bedf33 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/copyright/profiles_settings.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Adventure_Game/.idea/description.html b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/description.html new file mode 100644 index 00000000..db5f1295 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/description.html @@ -0,0 +1 @@ +Simple Java application that includes a class with main() method \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Adventure_Game/.idea/encodings.xml b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/encodings.xml new file mode 100644 index 00000000..d8210482 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Adventure_Game/.idea/misc.xml b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/misc.xml new file mode 100644 index 00000000..ccf24ce4 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/misc.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Adventure_Game/.idea/modules.xml b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/modules.xml new file mode 100644 index 00000000..9bd062b3 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Adventure_Game/.idea/project-template.xml b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/project-template.xml new file mode 100644 index 00000000..1f08b887 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/project-template.xml @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Adventure_Game/.idea/scopes/scope_settings.xml b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/scopes/scope_settings.xml new file mode 100644 index 00000000..922003b8 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/scopes/scope_settings.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Adventure_Game/.idea/vcs.xml b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/vcs.xml new file mode 100644 index 00000000..6564d52d --- /dev/null +++ b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Adventure_Game/.idea/workspace.xml b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/workspace.xml new file mode 100644 index 00000000..3c72abd9 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Adventure_Game/.idea/workspace.xml @@ -0,0 +1,229 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1430575793788 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Adventure_Game/Adventure_Game.iml b/Tasha_Smith/HW_04-28/Adventure_Game/Adventure_Game.iml new file mode 100644 index 00000000..c90834f2 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Adventure_Game/Adventure_Game.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Adventure_Game/src/nyc/c4q/tashsmit/Main.java b/Tasha_Smith/HW_04-28/Adventure_Game/src/nyc/c4q/tashsmit/Main.java new file mode 100644 index 00000000..67889329 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Adventure_Game/src/nyc/c4q/tashsmit/Main.java @@ -0,0 +1,8 @@ +package nyc.c4q.tashsmit; + +public class Main { + + public static void main(String[] args) { + // write your code here + } +} diff --git a/Tasha_Smith/HW_04-28/Animal_Class/.idea/compiler.xml b/Tasha_Smith/HW_04-28/Animal_Class/.idea/compiler.xml new file mode 100644 index 00000000..a8523149 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Animal_Class/.idea/compiler.xml @@ -0,0 +1,23 @@ + + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Animal_Class/.idea/copyright/profiles_settings.xml b/Tasha_Smith/HW_04-28/Animal_Class/.idea/copyright/profiles_settings.xml new file mode 100644 index 00000000..e7bedf33 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Animal_Class/.idea/copyright/profiles_settings.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Animal_Class/.idea/description.html b/Tasha_Smith/HW_04-28/Animal_Class/.idea/description.html new file mode 100644 index 00000000..db5f1295 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Animal_Class/.idea/description.html @@ -0,0 +1 @@ +Simple Java application that includes a class with main() method \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Animal_Class/.idea/encodings.xml b/Tasha_Smith/HW_04-28/Animal_Class/.idea/encodings.xml new file mode 100644 index 00000000..d8210482 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Animal_Class/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Animal_Class/.idea/misc.xml b/Tasha_Smith/HW_04-28/Animal_Class/.idea/misc.xml new file mode 100644 index 00000000..ccf24ce4 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Animal_Class/.idea/misc.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Animal_Class/.idea/modules.xml b/Tasha_Smith/HW_04-28/Animal_Class/.idea/modules.xml new file mode 100644 index 00000000..2a6190ec --- /dev/null +++ b/Tasha_Smith/HW_04-28/Animal_Class/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Animal_Class/.idea/project-template.xml b/Tasha_Smith/HW_04-28/Animal_Class/.idea/project-template.xml new file mode 100644 index 00000000..1f08b887 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Animal_Class/.idea/project-template.xml @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Animal_Class/.idea/scopes/scope_settings.xml b/Tasha_Smith/HW_04-28/Animal_Class/.idea/scopes/scope_settings.xml new file mode 100644 index 00000000..922003b8 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Animal_Class/.idea/scopes/scope_settings.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Animal_Class/.idea/vcs.xml b/Tasha_Smith/HW_04-28/Animal_Class/.idea/vcs.xml new file mode 100644 index 00000000..6564d52d --- /dev/null +++ b/Tasha_Smith/HW_04-28/Animal_Class/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Animal_Class/.idea/workspace.xml b/Tasha_Smith/HW_04-28/Animal_Class/.idea/workspace.xml new file mode 100644 index 00000000..2753be53 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Animal_Class/.idea/workspace.xml @@ -0,0 +1,407 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1430574593014 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Animal_Class/Animal_Class.iml b/Tasha_Smith/HW_04-28/Animal_Class/Animal_Class.iml new file mode 100644 index 00000000..c90834f2 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Animal_Class/Animal_Class.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Animal_Class/src/nyc/c4q/tashsmit/Animal.java b/Tasha_Smith/HW_04-28/Animal_Class/src/nyc/c4q/tashsmit/Animal.java new file mode 100644 index 00000000..375e86ee --- /dev/null +++ b/Tasha_Smith/HW_04-28/Animal_Class/src/nyc/c4q/tashsmit/Animal.java @@ -0,0 +1,38 @@ +package nyc.c4q.tashsmit; +/** + * Created by c4q-tashasmith on 4/28/15. + */ +public class Animal implements Comparable +{ + String speciesName; + + public Animal (String speciesName) { + this.speciesName= speciesName; + } + + public String getSpeciesName() + { + return speciesName; + } + + public void setSpeciesName(String speciesName) + { + this.speciesName = speciesName; + } + + @Override + public int compareTo(Animal o) + { + return ((this.speciesName).compareTo(o.getSpeciesName())); + } + + public boolean equalsTo (Animal o) { + return (this.speciesName.equals(o.getSpeciesName())); + } + + + public static void main (String args []) { + + } + +} diff --git a/Tasha_Smith/HW_04-28/Animal_Class/src/nyc/c4q/tashsmit/Domestic.java b/Tasha_Smith/HW_04-28/Animal_Class/src/nyc/c4q/tashsmit/Domestic.java new file mode 100644 index 00000000..6506b5bb --- /dev/null +++ b/Tasha_Smith/HW_04-28/Animal_Class/src/nyc/c4q/tashsmit/Domestic.java @@ -0,0 +1,9 @@ +package nyc.c4q.tashsmit; +/** + * Created by c4q-tashasmith on 4/29/15. + */ +public interface Domestic +{ + public void setName (String name); + public String getName (); +} diff --git a/Tasha_Smith/HW_04-28/Animal_Class/src/nyc/c4q/tashsmit/DomesticCat.java b/Tasha_Smith/HW_04-28/Animal_Class/src/nyc/c4q/tashsmit/DomesticCat.java new file mode 100644 index 00000000..1471d91e --- /dev/null +++ b/Tasha_Smith/HW_04-28/Animal_Class/src/nyc/c4q/tashsmit/DomesticCat.java @@ -0,0 +1,39 @@ +package nyc.c4q.tashsmit; + +/** + * Created by c4q-tashasmith on 4/29/15. + */ +public class DomesticCat extends Animal implements Domestic +{ + String name; + + public DomesticCat(String speciesName, String name) + { + + super(speciesName); + this.name = name; + } + + @Override + public void setName(String name) + { + this.name = name; + } + + @Override + public String getName() + { + return this.name; + } + + public int compareTo(DomesticCat o) + { + return ((this.name).compareTo(o.getName())); + } + + public boolean equalsTo (DomesticCat o) { + return (this.name.equals(o.getName())); + } +} + + diff --git a/Tasha_Smith/HW_04-28/Animal_Class/src/nyc/c4q/tashsmit/Main.java b/Tasha_Smith/HW_04-28/Animal_Class/src/nyc/c4q/tashsmit/Main.java new file mode 100644 index 00000000..a5fc1dbe --- /dev/null +++ b/Tasha_Smith/HW_04-28/Animal_Class/src/nyc/c4q/tashsmit/Main.java @@ -0,0 +1,8 @@ +package nyc.c4q.tashsmit; + +public class Main { + + public static void main(String[] args) { + + } +} diff --git a/Tasha_Smith/HW_04-28/Card_Game/.idea/compiler.xml b/Tasha_Smith/HW_04-28/Card_Game/.idea/compiler.xml new file mode 100644 index 00000000..a8523149 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Card_Game/.idea/compiler.xml @@ -0,0 +1,23 @@ + + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Card_Game/.idea/copyright/profiles_settings.xml b/Tasha_Smith/HW_04-28/Card_Game/.idea/copyright/profiles_settings.xml new file mode 100644 index 00000000..e7bedf33 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Card_Game/.idea/copyright/profiles_settings.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Card_Game/.idea/description.html b/Tasha_Smith/HW_04-28/Card_Game/.idea/description.html new file mode 100644 index 00000000..db5f1295 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Card_Game/.idea/description.html @@ -0,0 +1 @@ +Simple Java application that includes a class with main() method \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Card_Game/.idea/encodings.xml b/Tasha_Smith/HW_04-28/Card_Game/.idea/encodings.xml new file mode 100644 index 00000000..d8210482 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Card_Game/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Card_Game/.idea/misc.xml b/Tasha_Smith/HW_04-28/Card_Game/.idea/misc.xml new file mode 100644 index 00000000..ccf24ce4 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Card_Game/.idea/misc.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Card_Game/.idea/modules.xml b/Tasha_Smith/HW_04-28/Card_Game/.idea/modules.xml new file mode 100644 index 00000000..cd6dcb80 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Card_Game/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Card_Game/.idea/project-template.xml b/Tasha_Smith/HW_04-28/Card_Game/.idea/project-template.xml new file mode 100644 index 00000000..1f08b887 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Card_Game/.idea/project-template.xml @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Card_Game/.idea/scopes/scope_settings.xml b/Tasha_Smith/HW_04-28/Card_Game/.idea/scopes/scope_settings.xml new file mode 100644 index 00000000..922003b8 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Card_Game/.idea/scopes/scope_settings.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Card_Game/.idea/uiDesigner.xml b/Tasha_Smith/HW_04-28/Card_Game/.idea/uiDesigner.xml new file mode 100644 index 00000000..e96534fb --- /dev/null +++ b/Tasha_Smith/HW_04-28/Card_Game/.idea/uiDesigner.xml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Card_Game/.idea/vcs.xml b/Tasha_Smith/HW_04-28/Card_Game/.idea/vcs.xml new file mode 100644 index 00000000..6564d52d --- /dev/null +++ b/Tasha_Smith/HW_04-28/Card_Game/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Card_Game/.idea/workspace.xml b/Tasha_Smith/HW_04-28/Card_Game/.idea/workspace.xml new file mode 100644 index 00000000..cc51622f --- /dev/null +++ b/Tasha_Smith/HW_04-28/Card_Game/.idea/workspace.xml @@ -0,0 +1,433 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1430575377619 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Card_Game/Card_Game.iml b/Tasha_Smith/HW_04-28/Card_Game/Card_Game.iml new file mode 100644 index 00000000..c90834f2 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Card_Game/Card_Game.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Card_Game/src/nyc/c4q/tashsmit/Card.java b/Tasha_Smith/HW_04-28/Card_Game/src/nyc/c4q/tashsmit/Card.java new file mode 100644 index 00000000..49fa476f --- /dev/null +++ b/Tasha_Smith/HW_04-28/Card_Game/src/nyc/c4q/tashsmit/Card.java @@ -0,0 +1,8 @@ +package nyc.c4q.tashsmit; +/** + * Created by c4q-tashasmith on 4/29/15. + */ +public class Card +{ + +} diff --git a/Tasha_Smith/HW_04-28/Card_Game/src/nyc/c4q/tashsmit/CardGame.java b/Tasha_Smith/HW_04-28/Card_Game/src/nyc/c4q/tashsmit/CardGame.java new file mode 100644 index 00000000..879dfb6e --- /dev/null +++ b/Tasha_Smith/HW_04-28/Card_Game/src/nyc/c4q/tashsmit/CardGame.java @@ -0,0 +1,11 @@ +package nyc.c4q.tashsmit; +import java.util.ArrayList; + +/** + * Created by c4q-tashasmith on 4/29/15. + */ +public abstract class CardGame +{ + public abstract ArrayList getPieces (); + +} \ No newline at end of file diff --git a/Tasha_Smith/HW_04-28/Card_Game/src/nyc/c4q/tashsmit/Main.java b/Tasha_Smith/HW_04-28/Card_Game/src/nyc/c4q/tashsmit/Main.java new file mode 100644 index 00000000..67889329 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Card_Game/src/nyc/c4q/tashsmit/Main.java @@ -0,0 +1,8 @@ +package nyc.c4q.tashsmit; + +public class Main { + + public static void main(String[] args) { + // write your code here + } +} diff --git a/Tasha_Smith/HW_04-28/Card_Game/src/nyc/c4q/tashsmit/PlayingCard.java b/Tasha_Smith/HW_04-28/Card_Game/src/nyc/c4q/tashsmit/PlayingCard.java new file mode 100644 index 00000000..32b3e0d8 --- /dev/null +++ b/Tasha_Smith/HW_04-28/Card_Game/src/nyc/c4q/tashsmit/PlayingCard.java @@ -0,0 +1,29 @@ +package nyc.c4q.tashsmit; +import java.util.ArrayList; + +/** + * Created by c4q-tashasmith on 4/29/15. + */ +public class PlayingCard extends CardGame +{ + ArrayList cards; + + public PlayingCard () { + cards = new ArrayList(); + + for(int i = 0; i < 52; i++) + { + Card newCard = new Card(); + cards.add(newCard); + } + + } + + public ArrayList getPieces () + { + return cards; + + } + + +}