connecting UCI engine to web browser

Discussion of chess software programming and technical issues.

Moderator: Ras

PK
Posts: 913
Joined: Mon Jan 15, 2007 11:23 am
Location: Warsza

connecting UCI engine to web browser

Post by PK »

Is anybody aware of example code that redirects standard input/output pipes to a web browser form in such a way that engine can be accessed locally, without internet connection?
jdart
Posts: 4420
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

Re: connecting UCI engine to web browser

Post by jdart »

Not quite sure if it is what you need but I have used python-chess (https://pypi.python.org/pypi/python-chess) quite a bit. It has a high-level interface to UCI chess engines. No need to do socket I/O directly.

Python can interface to the Web too. Look at Flask.

-Jon