UniversalPegNet - Interactive 3D Visualisation
Description
Board state expanded to 4 channels: invalid positions, holes, pegs, and a learned board-type embedding that adapts to different game variants.
10 residual blocks with SE attention. Each block: Conv3x3 → BN → GELU → Conv3x3 → BN → SE → DropPath. Channel attention emphasizes important features.
4 transformer-style attention layers with 4 heads each. Enables global reasoning about distant board positions - crucial for planning long jump sequences.
Policy: 1800 logits (15×15×8 directions). Value: Solvability prediction [0,1] as auxiliary task to improve learned representations.
The network processes a board state through the following stages: