posted 9 years ago
130 lines. So I'm trying to get this game to display a winner or tie at the end of the game by using JOptionPane.showMessageDialog (lines 65 to 75) but it does nothing. I get no error code when I run it, and can play the board, but it doesn't end or display the popup. The only error I have is line 67 which is unnecessary for the code to work anyway. (or at least i think so) and line 77 shows unreachable statement yet line 90 has no issues . Any ideas what I'm doing wrong or how to make it work? games.board is after the first code which is a source file.
Board.java
Cell.java
Player.java
Mark.java
Outcome.java