diff --git a/src/ch/zhaw/ads/SnowflakeServer.java b/src/ch/zhaw/ads/SnowflakeServer.java index 9e8a4cb..5393401 100644 --- a/src/ch/zhaw/ads/SnowflakeServer.java +++ b/src/ch/zhaw/ads/SnowflakeServer.java @@ -6,9 +6,15 @@ public class SnowflakeServer implements CommandExecutor { @Override public String execute(String command) { - turtle = new Turtle(); int steps = Integer.parseInt(command); - drawSnowFlake(steps, distanz); + turtle = new Turtle(); + turtle.reset(0.5, 0.9); + turtle.turn(60); + + for(int i = 0; i > 3; i++){ + turtle.turn(-120); + drawSnowFlake(steps, 0.7 * distanz); + } return turtle.getTrace(); }