Skip to content

Stockfish server

YSTEMandChess edited this page Oct 27, 2025 · 1 revision

Technologies

This component is a NodeJS server that uses an npm Stock Fish library to get the optimal move for the computer. That is it! A fairly simple server with a bit more then 35 lines of code.

How it Works

The YStemAndChess Component sends a POST to this server with the current FEN of the game. We pass the current FEN to the stock fish library which generates an optimal move. These results get sent back to the YStemAndChess Component.

Clone this wiki locally