You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's an example of passing a FEN position via the UCI protocol.
$ python main.py
position fen rnbqk1nr/p1ppppbp/1p4p1/8/2P5/2Q5/PP1PPPPP/RNB1KBNR b KQkq - 0 1
>>> position fen rnbqk1nr/p1ppppbp/1p4p1/8/2P5/2Q5/PP1PPPPP/RNB1KBNR b KQkq - 0 1
go
>>> go
>>> {'positions': 9128, 'time': 1.6894989013671875}
bestmove g7c3
I've also updated the README in abe8973 to make this clearer, thanks.
thanks. I could have been more specific .. i know the UCI protocol and i'm familiar with "position fen [..]" but when using CuteChess (which should handle every proper UCI engine) Andoma plays only a first move (white or black) but the second move fails : CuteChess reports the engine lost the game : 1-0 : "Black disconnects" .. i guess Andoma is not receiving the opponent move from CuteChess .. BTW. you type "go" and i know "go infinite" and others .. but i don't know how CuteChess communicates with an engine .. giving a max time limit for a game, how does an engine know to return a best move and stop evaluating ? (& maybe start pondering, until another "position fen & go" is received)
Ah, I developed enough of the UCI protocol to ensure that it would be able to play basic games (e.g. no knowledge of time left etc.) on lichess via ShailChoksi/lichess-bot.
There may be something missing. I'm not familiar with CuteChess but perhaps someone will see this issue and take it on.
I'll reopen this and add [CuteChess] to the title.
CuteChess is good quality open source for the 3 OS'. Many people use it and reference it. You should certainly test it with Andoma. I have "issues" with other engines available on GitHub and communicate with creators .. only some simple engines fail in CuteChess : then something basic must be wrong ..
Activity
healeycodes commentedon Feb 20, 2021
Here's an example of passing a FEN position via the UCI protocol.
$ python main.py position fen rnbqk1nr/p1ppppbp/1p4p1/8/2P5/2Q5/PP1PPPPP/RNB1KBNR b KQkq - 0 1 >>> position fen rnbqk1nr/p1ppppbp/1p4p1/8/2P5/2Q5/PP1PPPPP/RNB1KBNR b KQkq - 0 1 go >>> go >>> {'positions': 9128, 'time': 1.6894989013671875} bestmove g7c3I've also updated the README in abe8973 to make this clearer, thanks.
tissatussa commentedon Feb 20, 2021
i have some remark but this issue is closed !?
healeycodes commentedon Feb 20, 2021
@tissatussa perhaps I misunderstood the issue.
Can you provide a way to reproduce the problem? Happy to look into this for you 🙂
tissatussa commentedon Feb 20, 2021
thanks. I could have been more specific .. i know the UCI protocol and i'm familiar with "position fen [..]" but when using CuteChess (which should handle every proper UCI engine) Andoma plays only a first move (white or black) but the second move fails : CuteChess reports the engine lost the game : 1-0 : "Black disconnects" .. i guess Andoma is not receiving the opponent move from CuteChess .. BTW. you type "go" and i know "go infinite" and others .. but i don't know how CuteChess communicates with an engine .. giving a max time limit for a game, how does an engine know to return a best move and stop evaluating ? (& maybe start pondering, until another "position fen & go" is received)
healeycodes commentedon Feb 21, 2021
Ah, I developed enough of the UCI protocol to ensure that it would be able to play basic games (e.g. no knowledge of time left etc.) on lichess via ShailChoksi/lichess-bot.
There may be something missing. I'm not familiar with CuteChess but perhaps someone will see this issue and take it on.
I'll reopen this and add
[CuteChess]to the title.[-]play with FEN ?[/-][+][CuteChess] play with FEN ?[/+]tissatussa commentedon Feb 21, 2021
CuteChess is good quality open source for the 3 OS'. Many people use it and reference it. You should certainly test it with Andoma. I have "issues" with other engines available on GitHub and communicate with creators .. only some simple engines fail in CuteChess : then something basic must be wrong ..