make the board a method - forgot to remove attr_accessor for :board