Commit d3779a90 authored by Anna Maria Eilertsen's avatar Anna Maria Eilertsen
Browse files

fixed bug with AI player crashing in Connect Four

parent 16b34b75
......@@ -21,6 +21,7 @@ public class SimpleAIPlayer extends AbstractPlayer implements AIPlayer{
game.putPieceAt(i, j);
return;
}catch(IllegalArgumentException e) {
}catch(IllegalStateException e) {
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment