diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 23426a4..f7e6463 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,7 +4,10 @@
-
+
+
+
+
@@ -20,9 +23,9 @@
-
+ {
+ "associatedIndex": 8
+}
@@ -31,29 +34,28 @@
-
-
-
-
-
-
-
-
@@ -63,6 +65,7 @@
1732108904989
+
@@ -72,7 +75,15 @@
1732109548353
-
+
+
+ 1732118799936
+
+
+
+ 1732118799936
+
+
@@ -91,6 +102,7 @@
-
+
+
\ No newline at end of file
diff --git a/TrailBlue.png b/TrailBlue.png
new file mode 100644
index 0000000..876a57b
Binary files /dev/null and b/TrailBlue.png differ
diff --git a/TrailRed.png b/TrailRed.png
new file mode 100644
index 0000000..bf34cf5
Binary files /dev/null and b/TrailRed.png differ
diff --git a/src/main/java/GraphicsProgram.java b/src/main/java/GraphicsProgram.java
index ae344b9..424ed2f 100644
--- a/src/main/java/GraphicsProgram.java
+++ b/src/main/java/GraphicsProgram.java
@@ -1,2 +1,49 @@
-public class GraphicsProgram {
+import processing.core.PApplet;
+import processing.core.PImage;
+
+import java.util.LinkedList;
+import java.util.Queue;
+
+public class GraphicsProgram extends PApplet {
+
+ PImage imgBlue;
+ PImage imgRed;
+
+ public static void main(String[] args) {
+ PApplet.main("Grafics");
+ }
+
+ public void settings() {
+ size(800, 600);
+ imgBlue = loadImage("TrailBlue");
+ imgRed = loadImage("TrailRed");
+ }
+
+ public void drawTrail(Queue trail, int playerID){
+
+ int particleSize = 5;
+
+
+ background(255);
+
+ for (int[] koordinates : new LinkedList<>(trail)) {
+ int x = koordinates[0];
+ int y = koordinates[1];
+
+ if(playerID == 1){
+ image(imgBlue, x, y, particleSize, particleSize);
+ } else if (playerID == 2) {
+ image(imgRed, x, y, particleSize, particleSize);
+ }else{
+ fill(0, 255, 0);
+ rect(x, y, particleSize, particleSize);
+ }
+ particleSize ++;
+ }
+
+ }
+
+ public void drawEvent(){
+
+ }
}