diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6a3417b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/out/
diff --git a/.idea/.gitignore b/.idea/.gitignore
index 73f69e0..0047fc0 100644
--- a/.idea/.gitignore
+++ b/.idea/.gitignore
@@ -5,4 +5,4 @@
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
-/httpRequests/
+/httpRequests/
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index c3dfb30..1029788 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,6 +1,6 @@
-
+
\ No newline at end of file
diff --git a/src/ch/zhaw/catan/Road.java b/src/ch/zhaw/catan/Road.java
new file mode 100644
index 0000000..7ba52c8
--- /dev/null
+++ b/src/ch/zhaw/catan/Road.java
@@ -0,0 +1,22 @@
+package ch.zhaw.catan;
+
+import java.util.HashMap;
+
+/**
+ * This Class represents a Road Object. It informs about the ressources needed to build a road
+ */
+public class Road {
+
+ final private HashMap buildCost;
+
+ public Road() {
+ buildCost = new HashMap<>();
+ buildCost.put(Config.Resource.LUMBER, 1);
+ buildCost.put(Config.Resource.BRICK, 1);
+ }
+
+ public HashMap getBuildCost() {
+ return buildCost;
+ }
+
+}
diff --git a/src/ch/zhaw/catan/SiedlerGame.java b/src/ch/zhaw/catan/SiedlerGame.java
index 48405eb..64f6632 100644
--- a/src/ch/zhaw/catan/SiedlerGame.java
+++ b/src/ch/zhaw/catan/SiedlerGame.java
@@ -213,6 +213,13 @@ public class SiedlerGame {
*/
public boolean buildRoad(Point roadStart, Point roadEnd) {
// TODO: Implement
+ // 0.Is Edge 1. Check if Edge is empty 2. Check if One neighbors Corner is own settlement 3. Set road
+ boolean validTask = true;
+ while (validTask) {
+ validTask = board.hasEdge(roadStart,roadEnd);
+ validTask = board.getEdge(roadStart,roadEnd) == null;
+ }
+
return false;
}