Skip to content

makeMove with fedback about success or fail #33

@dkwach

Description

@dkwach

In current version makeMove methods doesn't return anything.

It could be useful to propagate information from game.move to the caller if move was accepted or rejected.
Use cases:

  • info for user that move was rejected on some status bar or other widget
  • chess engine development when engine is providing incorrect move

Instead return bool, raising some exception will be also good (However I would recommend to keep chess.move consistency )

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