Skip to content

Quantum Chess: Undo broken if measurements occur #54

Open
@dstrain115

Description

@dstrain115

undo moves plays the moves from the beginning of the game, but it ignores the post-selection criteria and measurement results. Also, it seems to return if a measurement is zero. This behavior is incorrect. If a measurement is supposed to be zero, and we measure one, we continue the board in an incorrect state. If the measurement is zero, then the undo stops and doesn't finish replaying the moves. Both are incorrect.

I have not yet written a unit test for this, so I have not verified exact behavior, but I am pretty sure it is broken.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions