Dennis Ping
Homework 2
June 4, 2021
Implement a minimax algorithm for the board game Othello.
- Python 3
- numpy
Available commands:
python othello.py < clearBestMove.txt
python othello.py < clearBestCounterMove.txt
python othello.py < arbitraryBoard5.txt
python othello.py < arbitraryBoard8.txt
python othello.py < board1.txt
python othello.py < endgame.txt
python othello.py
play
python othello.py < clearBestMove.txt
2
Time taken: 0.001 seconds
python othello.py < clearBestCounterMove.txt
-3
Time taken: 0.003 seconds
python othello.py < arbitraryBoard5.txt
1
Time taken: 0.302 seconds
python othello.py < arbitraryBoard8.txt
-6
Time taken: 15.626 seconds
python othello.py < board1.txt
5
Time taken: 4.24 seconds
python othello.py < endgame.txt
100
Time taken: 0.153 seconds