Project for CS109, SUSTech, 2021 Fall.
This project is an implementation of the Othello game using Froster/2DBoardGameFrame.
由于是大一上写的代码,所以可能有很多特性(bug)。
- Clone the repository
$ git clone https://github.com/squarezhong/SUSTech-CS109-Othello
- Install the 2DBoardGameFrame
Make sure you have installed the Maven and JDK 17.
You can also use other versions (>= 9) of the JDK. But you need to modify the pom.xml
file.
$ wget https://github.com/Fros1er/2DBoardGameFrame/releases/download/v0.2.3-alpha/2DBoardGameFrame-0.2.3-Alpha.jar
$ mvn install:install-file -Dfile=./2DBoardGameFrame-0.2.3-Alpha.jar -DgroupId=com.froster -DartifactId=2DBoardGameFrame -Dversion=0.2.3 -Dpackaging=jar
- Compile the project
$ mvn clean
$ mvn compile
- Run the project
$ mvn exec:java -Dexec.mainClass="com.squarezhong.Othello"
Simple greedy algorithm. (菜的一逼)
- Simple alpha-beta pruning algorithm
Apache License 2.0