diff options
author | Robby Zambito <Zambito101@gmail.com> | 2019-11-30 21:20:27 -0500 |
---|---|---|
committer | Robby Zambito <Zambito101@gmail.com> | 2019-11-30 21:20:27 -0500 |
commit | 0a33acbf0dd5ca40bbf18089b20885fa832acfc5 (patch) | |
tree | f9b06804f37865b320dba69f66aa0aca6ec10f4c /src/main/scala/me/robbyzambito/othello/Main.scala | |
parent | cdd6bbd57e9dcdea555fd410158304f94679e153 (diff) |
Made moveScore overloadable for AIPlayer.
Correctly assign currentOpponent.
Show final board after last move.
Handle ties with Tie object.
Added multiple AI implementations.
Diffstat (limited to 'src/main/scala/me/robbyzambito/othello/Main.scala')
-rw-r--r-- | src/main/scala/me/robbyzambito/othello/Main.scala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/scala/me/robbyzambito/othello/Main.scala b/src/main/scala/me/robbyzambito/othello/Main.scala index 3158f10..d0d4b6f 100644 --- a/src/main/scala/me/robbyzambito/othello/Main.scala +++ b/src/main/scala/me/robbyzambito/othello/Main.scala @@ -1,9 +1,13 @@ package me.robbyzambito.othello -import me.robbyzambito.othello.game.Game +import me.robbyzambito.othello.game._ object Main extends App { Game().loop() +// Game.easy.loop() +// Game.random.loop() +// Game(List(AIPlayer(Position.WHITE), AIPlayer(Position.BLACK, -_.takenPositions.length))).loop() + //Game(List(AIPlayer(Position.WHITE, -_.takenPositions.length), AIPlayer(Position.BLACK, -_.takenPositions.length))).loop() } |