← Portfolio
Java · Software · 2026

Gomoku

A fully playable implementation of Gomoku - the Japanese five-in-a-row strategy game - built from scratch in Java.

Three play modes: Human vs Human, Human vs Computer, and Computer vs Computer. The computer opponent uses a strategy-based AI - evaluating board positions to make competitive moves rather than playing randomly. The board renders to the terminal, and a full suite of JUnit unit tests covers the core game logic.

Language Java
Context Year 1 university coursework, Semester 2
Year 2026
Testing JUnit unit tests

What it demonstrates

  • Object-oriented design with clear separation of concerns
  • AI logic - position evaluation and strategic decision-making
  • Unit testing with JUnit
  • Clean code documentation (Javadoc)
  • Three-mode game loop with input validation
Honest framing

This is first-year coursework, not a commercial project. It's here because it is complete, functional, and demonstrates structured thinking at the start of a CS degree. As more substantial work accumulates, it will move down the list.

View source on GitHub →