Game AI
Legal move display and negamax AI
HiveFront
A Hive game AI frontend that shows the board, legal moves, game state, and a playable AI opponent.
Next.jsReactTypeScriptMaterial UINegamax
View source
HiveFront is a frontend for the Hive board game with a playable AI opponent. It shows the board, pieces, game state, and legal moves so the player can see what the rules allow.
The AI uses negamax search, a minimax variant, with a custom heuristic. The interface keeps the rules and AI behavior close to the board so the game is easier to follow.
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
Game AI is easier to understand when the screen shows the rules around each turn. HiveFront keeps legal moves, board state, and AI behavior visible instead of hiding them behind the opponent move.