stuartgroom
New Coder
Hi,
I don't suppose anyone could help me with an issue I'm having trying to make an Othello board game AI. The issue is with creating the list of "children" where each child is a copy of the current board with one legal move made on it (using this for minimax) I'm getting this error "Cannot invoke "com.company.othello.board.clone()" because "com.company.othello.board.currBoard" is null".
Code is here: https://stackoverflow.com/questions...-subsequent-board-state-from-the-current-boar or you can message me if you need to see more. Any help would be much appreciated! I've been stuck on this for a few days
I don't suppose anyone could help me with an issue I'm having trying to make an Othello board game AI. The issue is with creating the list of "children" where each child is a copy of the current board with one legal move made on it (using this for minimax) I'm getting this error "Cannot invoke "com.company.othello.board.clone()" because "com.company.othello.board.currBoard" is null".
Code is here: https://stackoverflow.com/questions...-subsequent-board-state-from-the-current-boar or you can message me if you need to see more. Any help would be much appreciated! I've been stuck on this for a few days