Short description
- Library:
libothello— core game logic and API for Othello/Reversi. - Demo: simple console-based application demonstrating library usage.
Repository layout
include/— public headers (API)src/— library source filesapp/— console demo (e.g.,main.cpp)CMakeLists.txt— build configurationREADME.md— this file
Build (out-of-source)
mkdir buildcd buildcmake ..# default: Releasecmake --build . -- parallel# builds libothello and othello-app
Run demo
- From build directory:
- On Linux:
./othello-console-app
- On Linux:
- The demo runs in the terminal with the computer playing with himself using 2 different algorithms.
What to commit
- Source code, headers, CMake files, docs.
- Do NOT commit build artifacts or IDE/workspace files (add them to
.gitignore).
Contributing
- Open issues or submit PRs for bugs/features; keep changes focused (library vs demo).