A simple Python utility that helps players set up Fischer Random (Chess960) positions quickly and accurately.
Given a Chess960 starting position number, the script generates an SVG file that can be opened in any modern browser, making it easy to visualize and arrange pieces on a physical board.
The purpose of this script is to bridge the gap between digital and physical play in Chess960.
Instead of manually deciphering piece placements from a number, you can instantly generate a clean, browser-viewable SVG diagram to guide your setup. Perfect for casual matches, tournaments, or training sessions.
- python-chess
Install via pip:pip install chess
- Run the script:
python generate960.py
- Enter a Chess960 position number (0–959) when prompted.
- The script will generate an SVG file (e.g.,
svg_pos#.svg). - Open the SVG in any browser to view the board setup.