Othello Reversi is a java based game build with graphics for our Artificial Intelligence course at AUEB. Othello is a two-player game, and here the player plays against the AI, which is implemented with the Minimax algorithm using a-b pruning. Our report for this project can be found in greek and in english.
- Clone the project.
- Open your terminal.
- Run
>>javac *.java >>java Window
- Starting screen will show up.
- Select the turn you want to play and the difficulty level.
- Select "Start" and enjoy!
Alternatively you can run the following commands
>>javac *.java
>>java Main
and play on your terminal.
Note: For the printing of the game board we used unicodes for coloring, so it may not be recognized from your terminal.
- Java AWT
- Java Swing
- Responsive AI using MinMax algorithm with alpha-beta pruning
- Customizable depth for the MinMax algorithm, selected by the user (1-5 can be visualized as difficalty level)
- Adaptable turn-user can choose if he wants to play first or second
- Possible valid moves for the user are provided, to help him play easier
- Error messages for invalid moves-checking for users miss
- Command line and GUI implementation