Pedro Navarrete
Projects

Game AI

Legal move display and negamax AI

HiveFront

A playable Hive interface that shows the board, legal moves, game state, and an AI opponent.

Next.jsReactTypeScriptMaterial UINegamax
View source

How the system fits together.

  1. Play

    Board and piece interaction

  2. Validate

    Game state and legal moves

  3. Respond

    Negamax AI opponent

HiveFront is a playable Hive board with a negamax AI opponent. The interface keeps the game state and legal moves on the board, so players can follow what the rules allow and watch the AI respond. The search uses a custom heuristic.

What I built

  • Next.js, React, and TypeScript frontend.
  • Material UI interaction layer.
  • Board state and legal move visualization.
  • Negamax game AI opponent with custom heuristics.

Engineering notes

HiveFront keeps legal moves, board state, and AI behavior visible around each turn. The player can follow the available moves and see the AI respond on the same board.