Skip to content

Commit

Permalink
fixes #239
Browse files Browse the repository at this point in the history
  • Loading branch information
yamin8000 committed Sep 10, 2024
1 parent dd04bef commit a8b59c4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ class SimpleGameAi(
}

private fun hardPlay(): DoozCell {
return ((winOrWinBlockPlay() ?: forkOrForkBlockPlayHandler() ?: centerPlay()
?: cornerPlay()).getReadyToPlayCell() ?: easyPlay())
return (winOrWinBlockPlay() ?: forkOrForkBlockPlayHandler() ?: centerPlay()
?: cornerPlay()).getReadyToPlayCell() ?: easyPlay()
}

private fun cornerPlay(): DoozCell? {
Expand Down

0 comments on commit a8b59c4

Please sign in to comment.