Skip to content

Instantly share code, notes, and snippets.

@matrogers
matrogers / solve_chess_puzzles.py
Last active February 21, 2025 01:58
Solve Chess Puzzles with Stockfish
# MIT License
# Copyright (c) 2024 Mat Rogers
from typing import List
import numpy as np
import chess
from stockfish import Stockfish