changed int to unsigned int in forloops in gameboard