Changed the 3 in the tick function to board.length
moving on