Skip to content

Hex Reversi

Nov โ€“ Dec 2023 with Akul Sethi; repository hosted under collaborator's account

  • Java
  • Swing

hex reversi is an extensible reversi/othello implementation on a hexagonal grid. the main emphasis is software design, clean MVC separation, adapters for different play modes, and modular AI strategies you can mix and match. built with one collaborator for a course on object-oriented design; the repo lives on their account.

what i built

  • hex-grid reversi engine with configurable board shapes and starting states
  • MVC architecture with GUI + text views and a controller layer
  • strategies composed with a TryTwo combinator: corners, then avoid-near-corners, then minimax, then capture-max

how it works

  1. 1represent the board on an odd-r hex coordinate system
  2. 2validate moves and apply flips according to reversi rules
  3. 3run players (human/AI) through a controller loop
  4. 4plug different strategies into the AI player

what's next

  • add stronger evaluation heuristics and time controls
  • improve UI polish and strategy visualization