chessgen.josh.software

ECS Year 2 Chess Sample Generator for AI Coursework

5×5 Chessboard

♚
♔

Drag pieces from the palette to the board. Click any piece to remove it.

Grid Format

K=King, Q=Queen, B=Bishop, N=Knight, P=Pawn_Q, R=Right, .=Empty

Python Code

Edit the code above and click "Load from Code" to update the board.

Piece Palette

White

♔
♕
♗
♘
♙
R

Black

♚
♛
♝
♞
♟
r

Each side must have at least one King on the board

Built with v0