I can't figure out this homework prompt I feel like an idiot.
This is the prompt: Declare and implement a function called gameOver. gameOver receives a single 3x3 char[][] array as a parameter, representing a tic-tac-toe board, with each cell containing either a X, a O, or a (blank space). gameOver should return X if X has won the game, O if O has won the game, and a blank space (' ') otherwise. Do not check the diagonals!
Can someone give me some advice on this.