fixes the gameboard bug and changes the game to a single array.