package rubys.ninja.experiments.zahlenpuzzle.board;

import rubys.ninja.experiments.zahlenpuzzle.token.Token;

public class Board {
    private BoardSize size;

    public Board(BoardSize size) {
        this.size = size;
    }

    public Token getTokenAt(BoardSize location) throws Exception {
        return null;
    }

    public BoardSize getSize() {
        return size;
    }

    public void swapTokens(BoardSize pos1, BoardSize pos2) throws Exception {
    }
}

@@ -104,16 +104,40 @@
 Token;%0A%0A
+import java.util.List;%0A%0A
 public c
@@ -176,16 +176,48 @@
 ze size;
+%0A    private List%3CToken%3E tokens;
 %0A%0A    pu
@@ -232,25 +232,39 @@
 rd(Board
-Size s
+Initializer initial
 ize
+r
 ) %7B%0A    
@@ -279,20 +279,89 @@
 .size = 
-size
+initializer.getBoardSize();%0A        this.tokens = initializer.getTokens()
 ;%0A    %7D%0A

Implement Board constructor with initializer