NOTE: Unfortunately, the original version-controlled repository was too large to upload to GitHub because I accidentally committed several hundred binary game datasets (each file was 1GB) to the local repository before it was uploaded to GitHub. Instead, I have included COMMIT_HISTORY.txt, which contains all the commit messages from the original.
Also, this was developed on a MacBook, so there is a slight chance that it doesn't work on Windows/Linux.
- Benjamin Lee
Start by cloning the repository from GitHub to your local machine:
git clone https://github.com/SGD2718/Computer-Othello.git
cd Computer-OthelloEnsure you have the following dependencies installed:
- CMake: For building the project. Download it here: https://cmake.org/download/
- A C++ Compiler:
- GCC (Linux/Mac users): https://gcc.gnu.org/install/
- Clang (Linux/Mac users): https://clang.llvm.org/get_started.html
- MSVC (Windows users, included with Visual Studio): https://visualstudio.microsoft.com/
- Qt 6.9.3 GUI Library: Required for GUI-related components. Download it here: https://www.qt.io/download
The repository includes the following:
CMakeLists.txt: Build configuration for the project.lib/QCustomPlot: Library folder for custom plotting.assets: Folder containing necessary game assets.src: Folder containing all source code.
Follow these steps to build the project:
- Create a
builddirectory:
mkdir build
cd build- Run
cmaketo configure the build:
cmake ..- Build the project:
cmake --build .After building, you can run the program directly from the build directory:
./Othello- Make sure the
assetsfolder remains in the same directory as the executable; it contains essential files for the bot to function. - If you encounter issues, check that your compiler supports C++17 or higher.