Peg Solitaire AI

Neural network solving multiple board types with ONNX

Loading model...
-
Pegs
0
Moves
-
Valid Moves
Select a board and click Solve
300ms
0.6 (0=greedy, 1=random)

About

This AI uses a neural network trained on multiple peg solitaire variants. The model learns to solve rectangular boards (English, European, 6x6) and triangular boards (Triangle-5, Triangle-6) using a unified 15x15 grid representation.

The network outputs probabilities for 8 possible directions at each position, covering both orthogonal moves (rectangular boards) and diagonal moves (diamond boards).

View Network Architecture