Overview
I built a command-line Othello game in C++ with playable AI opponents. The project focuses on implementing the full board-game loop, legal move detection, board evaluation, and a console-based interface that makes the game easy to run and extend.
My Role
I designed and implemented the game logic, board representation, input handling, AI move selection, and match execution flow.
Key Features
- Console-based Othello gameplay
- Coordinate-based move input
- Legal move validation and stone-flipping logic
- Random AI opponent for baseline play
- Heuristic AI opponent for more strategic matches
- Simple build and run workflow with
make - Extensible AI structure for adding new strategies
Technical Highlights
The main challenge was translating Othello's rules into reliable board-state updates. I separated the game loop, move validation, board evaluation, and AI decision logic so that new AI strategies can be added without rewriting the core game.
What I Learned
This project helped me practice C++ fundamentals, board-game state modeling, heuristic evaluation, and designing code that can be extended by future AI implementations.
