fixed view, added max limit to boardsize
valid move works, we now keep track of the perimeter within reset instead of calculating it