robust user input, square board