Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

PA2 Cannot undo first move #33

Answered by henryhchchc
ywanglf asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry for the mistake in the design of the requirement, in the original requirement, the TODO part is Perform undo on the game controller and trigger the move event with the latest move result after undo. And we found that is is not possible to do that when undoing the first move given the reference implementation of PA1. So we decided to change the TODO part to Perform undo on the game controller and trigger the move event with the move *that was just undone*.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ywanglf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants