Implement CECP 'computer' command
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 6 Nov 2016 11:15:31 +0000 (12:15 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 6 Nov 2016 13:28:17 +0000 (14:28 +0100)
commit291c1c2fdf76767c159c8a4ae2a24dbc5916ac51
treee962232ec15cef1c3151d4da813f3669b10f590c
parent738b96496d2cf30e7f7f25c49cce148f0443517a
Implement CECP 'computer' command

Remember if the 'computer' command was received from the GUI, and use
this info when setting the UCI_Opponent option to distinguish 'human'
and 'computer' as first word, instead of the uniformative 'none'.
The implemntation assumes 'computer' would be sent before 'name', which
XBoard does (but the CECP specs do not guarantee).
UCI2WB.c