Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Johan Gustav Thrane-Nielsen
inf101.v20.sem2.losning
Commits
7a92d8b5
Commit
7a92d8b5
authored
Apr 17, 2020
by
Anna Maria Eilertsen
Browse files
fixed bug with AI player crashing in Connect Four
parent
d6ea32a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/inf101/v20/sem2/twoPlayerGame/player/AI/SimpleAIPlayer.java
View file @
7a92d8b5
...
...
@@ -21,6 +21,7 @@ public class SimpleAIPlayer extends AbstractPlayer implements AIPlayer{
game
.
putPieceAt
(
i
,
j
);
return
;
}
catch
(
IllegalArgumentException
e
)
{
}
catch
(
IllegalStateException
e
)
{
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment