bulding game board and functions