Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeat move always hangs UNDO #517

Open
Terkwood opened this issue Jun 27, 2021 · 1 comment
Open

Repeat move always hangs UNDO #517

Terkwood opened this issue Jun 27, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@Terkwood
Copy link
Owner

Terkwood commented Jun 27, 2021

Screenshot_20210627-183431-01

Different from #500 - - this bug should be easily reproducible and hopefully there is a more straight forward fix

@Terkwood Terkwood added the bug Something isn't working label Jun 27, 2021
@Terkwood
Copy link
Owner Author

Terkwood commented Jul 3, 2021

In gateway...

 ♟  ..SNIP..MAKEMOVE BLACK { 4 , 6  } ..SNIP..
 ..SNIP..
 🆗 ..SNIP..MOVEMADE W Some(Coord { x: 4, y: 3 })
..SNIP..
 🔙 ..SNIP..UNDOMOVE
 Send command: UndoMove(UndoMove { game_id: GameId(SNIP), player: BLACK })

 📥 Stream: MoveUndone(MoveUndone { game_id: GameId(SNIP), pl
ayer: BLACK, game_state: GameState { board: Board { pieces: {}, size: 9 }, captures: Captures { black: 0, white: 0 }, turn: 1, player_up: BLACK, mo
ves: [], game_id: GameId(SNIP) } })

 🏞 OK MoveUndone(MoveUndone { game_id: GameId(SNIP), player:
BLACK, game_state: GameState { board: Board { pieces: {}, size: 9 }, captures: Captures { black: 0, white: 0 }, turn: 1, player_up: BLACK, moves: [
], game_id: GameId(SNIP) } })

There should have been a MakeMove logged at the end of this sequence.

@Terkwood Terkwood pinned this issue Jul 3, 2021
@Terkwood Terkwood unpinned this issue Sep 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant