Skip to content

[CuteChess] play with FEN ? #7

Open

Description

@tissatussa

Andoma does not play when a FEN position is given. It only plays from the initial starting position ..

Activity

  1. healeycodes commented on Feb 20, 2021

    @healeycodes
    Owner

    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.

  2. tissatussa commented on Feb 20, 2021

    @tissatussa
    Author

    i have some remark but this issue is closed !?

  3. healeycodes commented on Feb 20, 2021

    @healeycodes
    Owner

    @tissatussa perhaps I misunderstood the issue.

    Can you provide a way to reproduce the problem? Happy to look into this for you 🙂

  4. tissatussa commented on Feb 20, 2021

    @tissatussa
    Author

    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)

  5. healeycodes commented on Feb 21, 2021

    @healeycodes
    Owner

    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.

  6. changed the title [-]play with FEN ?[/-] [+][CuteChess] play with FEN ?[/+] on Feb 21, 2021
  7. tissatussa commented on Feb 21, 2021

    @tissatussa
    Author

    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 ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions