diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..5535e8f
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 3a689d2..bdb4873 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,7 +2,6 @@
-
\ No newline at end of file
diff --git a/Musterloesungen.iml b/Musterloesungen.iml
new file mode 100644
index 0000000..f76df2b
--- /dev/null
+++ b/Musterloesungen.iml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/out/production/Musterloesungen/Uebung_01/DecToRoem_Version_01.class b/out/production/Musterloesungen/Uebung_01/DecToRoem_Version_01.class
new file mode 100644
index 0000000..ae76c24
Binary files /dev/null and b/out/production/Musterloesungen/Uebung_01/DecToRoem_Version_01.class differ
diff --git a/out/production/Musterloesungen/Uebung_01/DecToRom_Version_02.class b/out/production/Musterloesungen/Uebung_01/DecToRom_Version_02.class
new file mode 100644
index 0000000..5b0c95b
Binary files /dev/null and b/out/production/Musterloesungen/Uebung_01/DecToRom_Version_02.class differ
diff --git a/out/production/Musterloesungen/Uebung_02/Main.class b/out/production/Musterloesungen/Uebung_02/Main.class
new file mode 100644
index 0000000..178d718
Binary files /dev/null and b/out/production/Musterloesungen/Uebung_02/Main.class differ
diff --git a/out/production/Musterloesungen/Uebung_02/TicTacToe.class b/out/production/Musterloesungen/Uebung_02/TicTacToe.class
new file mode 100644
index 0000000..00a0d09
Binary files /dev/null and b/out/production/Musterloesungen/Uebung_02/TicTacToe.class differ
diff --git a/out/production/Musterloesungen/Uebung_02/TicTacToe_AC1.class b/out/production/Musterloesungen/Uebung_02/TicTacToe_AC1.class
new file mode 100644
index 0000000..7b0a64d
Binary files /dev/null and b/out/production/Musterloesungen/Uebung_02/TicTacToe_AC1.class differ
diff --git a/out/production/Musterloesungen/Uebung_02/TicTacToe_AC2.class b/out/production/Musterloesungen/Uebung_02/TicTacToe_AC2.class
new file mode 100644
index 0000000..5069df0
Binary files /dev/null and b/out/production/Musterloesungen/Uebung_02/TicTacToe_AC2.class differ
diff --git a/out/production/Musterloesungen/Uebung_02/TicTacToe_AC3.class b/out/production/Musterloesungen/Uebung_02/TicTacToe_AC3.class
new file mode 100644
index 0000000..f10ccb5
Binary files /dev/null and b/out/production/Musterloesungen/Uebung_02/TicTacToe_AC3.class differ
diff --git a/out/production/Musterloesungen/Uebung_03/BracketChecker.class b/out/production/Musterloesungen/Uebung_03/BracketChecker.class
new file mode 100644
index 0000000..9f30223
Binary files /dev/null and b/out/production/Musterloesungen/Uebung_03/BracketChecker.class differ
diff --git a/out/production/Musterloesungen/Uebung_03/Main.class b/out/production/Musterloesungen/Uebung_03/Main.class
new file mode 100644
index 0000000..70c1181
Binary files /dev/null and b/out/production/Musterloesungen/Uebung_03/Main.class differ
diff --git a/out/production/Musterloesungen/Uebung_03/Stack.class b/out/production/Musterloesungen/Uebung_03/Stack.class
new file mode 100644
index 0000000..093cc41
Binary files /dev/null and b/out/production/Musterloesungen/Uebung_03/Stack.class differ
diff --git a/out/production/Musterloesungen/Uebung_04/Board.class b/out/production/Musterloesungen/Uebung_04/Board.class
new file mode 100644
index 0000000..5bd180a
Binary files /dev/null and b/out/production/Musterloesungen/Uebung_04/Board.class differ
diff --git a/out/production/Musterloesungen/Uebung_04/ComputerPlayer.class b/out/production/Musterloesungen/Uebung_04/ComputerPlayer.class
new file mode 100644
index 0000000..c88fa5d
Binary files /dev/null and b/out/production/Musterloesungen/Uebung_04/ComputerPlayer.class differ
diff --git a/out/production/Musterloesungen/Uebung_04/Game.class b/out/production/Musterloesungen/Uebung_04/Game.class
new file mode 100644
index 0000000..90ddee7
Binary files /dev/null and b/out/production/Musterloesungen/Uebung_04/Game.class differ
diff --git a/out/production/Musterloesungen/Uebung_04/HumanPlayer.class b/out/production/Musterloesungen/Uebung_04/HumanPlayer.class
new file mode 100644
index 0000000..3640d07
Binary files /dev/null and b/out/production/Musterloesungen/Uebung_04/HumanPlayer.class differ
diff --git a/out/production/Musterloesungen/Uebung_04/Main.class b/out/production/Musterloesungen/Uebung_04/Main.class
new file mode 100644
index 0000000..f65416c
Binary files /dev/null and b/out/production/Musterloesungen/Uebung_04/Main.class differ
diff --git a/out/production/Musterloesungen/Uebung_04/Player.class b/out/production/Musterloesungen/Uebung_04/Player.class
new file mode 100644
index 0000000..73fdadb
Binary files /dev/null and b/out/production/Musterloesungen/Uebung_04/Player.class differ
diff --git a/src/main/java/Uebung_01/DecToRom_Version_02.java b/src/main/java/Uebung_01/DecToRom_Version_02.java
index 4a371f5..f523387 100644
--- a/src/main/java/Uebung_01/DecToRom_Version_02.java
+++ b/src/main/java/Uebung_01/DecToRom_Version_02.java
@@ -15,7 +15,8 @@ public class DecToRom_Version_02 {
for (int i = 0; rom.length() > i; i++) {
- char eingabe = rom.charAt(i); //einzelne String Zeichen ausselen
+ //einzelne String Zeichen ausselen
+ char eingabe = rom.charAt(i);
char zeichen;
if (i + 1 != rom.length()) {
diff --git a/src/main/java/Uebung_02/TicTacToe.java b/src/main/java/Uebung_02/TicTacToe.java
index 5248f3e..3c21432 100644
--- a/src/main/java/Uebung_02/TicTacToe.java
+++ b/src/main/java/Uebung_02/TicTacToe.java
@@ -109,7 +109,9 @@ public class TicTacToe {
}
}
// Profit in diagonals
- if ((board[0][0] == board[1][1] && board[1][1] == board[2][2] && board[0][0] != ' ') || (board[0][2] == board[1][1] && board[1][1] == board[2][0] && board[0][2] != ' ')) {
+ if ((board[0][0] == board[1][1] && board[1][1] == board[2][2]
+ && board[0][0] != ' ') || (board[0][2] == board[1][1]
+ && board[1][1] == board[2][0] && board[0][2] != ' ')) {
return true;
}
return false;
diff --git a/src/main/java/Uebung_03/Main.java b/src/main/java/Uebung_03/Main.java
index 9477535..9551508 100644
--- a/src/main/java/Uebung_03/Main.java
+++ b/src/main/java/Uebung_03/Main.java
@@ -27,11 +27,17 @@ public class Main {
stack.push('A');
stack.push('B');
stack.push('C');
+// stack.push('(');
+// stack.push(')');
+// stack.push('[');
+// stack.push(']');
// Remove character from stack and output
while (!stack.isEmpty()) {
System.out.println("Pop: " + stack.pop());
}
+
+
}
}