Skip to content

UHP: Facilitating remote play between two Viewers on the same Engine #96

@wgreenberg

Description

@wgreenberg

Suppose we have an instance where two viewers, V1 and V2, representing two players playing remotely (e.g. online) want to play a game together on the same engine E

V1 <==> E <==> V2

This isn't really supported by UHP, since the only way a viewer can receive a move from the engine is by requesting it via bestmove, which is more like the engine suggesting a move rather than stating a new gamestate.

Assuming the engine maintains two separate UHP sessions for the viewers, a command like playandwait MoveString could be added which submits the move, and then only replies when the other viewer submits their move. This reply should include the other player's MoveString as well as the new GameString.

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