You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Mchristos When playing against AI, after the AI did a double jump, i got NPE in the console as follows. it seems it is coming from line 192 of BoardState. I had not modified the original code.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "org.davistiba.game.Piece.getPlayer()" because the return value of "org.davistiba.game.BoardState.getPiece(int)" is null
at org.davistiba.game.BoardState.getSuccessors(BoardState.java:192)
at org.davistiba.game.BoardState.getSuccessors(BoardState.java:170)
at org.davistiba.game.Game.getValidMoves(Game.java:79)
The text was updated successfully, but these errors were encountered:
@Mchristos When playing against AI, after the AI did a double jump, i got NPE in the console as follows. it seems it is coming from line 192 of BoardState. I had not modified the original code.
The text was updated successfully, but these errors were encountered: