Commit 7a92d8b5 authored by Anna Maria Eilertsen's avatar Anna Maria Eilertsen
Browse files

fixed bug with AI player crashing in Connect Four

parent d6ea32a9
......@@ -21,6 +21,7 @@ public class SimpleAIPlayer extends AbstractPlayer implements AIPlayer{
game.putPieceAt(i, j);
}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