chesstalk
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:Use festival to enter chess moves and have them spoken, plus list and save as .pgn
chesstalk has a few different operating modes to speak and collect chess moves, through festival.

the most basic mode is to collect chess moves from stdin and to speak to the user after a certain interval to request another move and speak a status update.

the output is a .pgn file.

there is also an undo move feature.

Run DEBUG=3 ./chesstalk
to have additional verbose statements such as memory tree additions, deletions, and undo operations displayed to stdout.

--

Commands to use in the program.

Type 'help' to get a brief overview.

The basic operation is to start typing your moves as you play them on a real gaming board or on some other chess interface.

As you do so, the move you type will be announced through festival.

Use 'show' to see a current list of moves, that have been played.

Use 'save' to output that list of in-memory moves to an output.pgn file.

Quick tip for xboard viewing: xboard -ncp -boardSize medium -lgf ./output.pgn

Use 'quit' to exit gracefully, when you're done.

--

Compiling and installing

Usually you run commands like this to get started:

# utilize configure.ac and Makefile.am files to generate a configure script
# (stay in the base directory with README and configure.ac to run this)

libtoolize
autoreconf --force --install

mkdir decimate
cd decimate
../configure --prefix=$HOME/bin/chesstalk
make 
make check
make install


There is also an ajaxtime module which takes move events from the main chesstalk routines, and binds these to specific times
to be made available through a file or shared memory location to a tcp or other server that will feed the web page browser.

To test it try the src/run-ajaxtime-module.sh script for that, but do so from the directory containing the compiled chesstalk binary.

It is the responsibility of the given modules to implement and contain this added time functionality. Perhaps in the future this type
of module will be even more remote, separated through a more generic zeromq interface.


You also need the sox audio converter installed unless you tweak one of the festival aplay lines in the sources.

If you have a mobile device you might need a better browser.
Check for jQuery compatibility here:
http://jquerymobile.com/gbs/


本源码包内暂不包含可直接显示的源代码文件,请下载源码包。