This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The context here is a UCI chess interface such that a Javascript chess engine running in node.js can | |
// communicate with standard chess UIs like Arena and Winboard via stdin/stdout. But the code may be | |
// useful in other contexts too. | |
// My own UCI interface (node.js and web worker compatible) can be found here in the lozUCI class:- | |
// https://github.com/op12no2/lozza | |
// stdin |