board unhides the square you select. if you select a square with -1 it ends the game. 0 will open up all surrouding squares.