package de.pigeont.bowlinggame.model;

import java.util.Arrays;
import java.util.List;

public final class Pins {
    public static final List<Integer[]> ORIGIN_PIN = Arrays.asList(
            new Integer[][]{
                    {12, 2}, {14, 2}, {16, 2}, {18, 2},
                    {13, 3}, {15, 3}, {17, 3},
                    {14, 4}, {16, 4},
                    {15, 5}
            }
    );

    private static class Pin {
        private Integer x;
        private Integer y;

        Pin(Integer x, Integer y) {
            this.x = x;
            this.y = y;
        }
    }


}

@@ -393,16 +393,474 @@
 %7D%0A    );
+%0A    private List%3CInteger%5B%5D%3E currentPins;%0A%0A    public Pins() %7B%0A        currentPins = ORIGIN_PIN;%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        Long c = currentPins%0A                .stream()%0A                .count();%0A        return c.toString();%0A    %7D%0A%0A    public List%3CInteger%5B%5D%3E getPinsPosition() %7B%0A        return currentPins;%0A    %7D%0A%0A    public void setPinsPosition(List%3CInteger%5B%5D%3E pinsPosition) %7B%0A        this.currentPins = pinsPosition;%0A    %7D
 %0A%0A    pr
@@ -1028,23 +1028,189 @@
 y;%0A        %7D
+%0A%0A        @Override%0A        public String toString() %7B%0A            return %22pin X: %22 + this.x.toString()%0A                    + %22pin Y: %22 + this.y.toString();%0A        %7D
 %0A    %7D%0A%0A%0A%7D%0A

clean codes