basic gameboard layout code