Push Stack
- April 26, 2021
- Steven Miller
Your moves are stored on the stack The bottom value of a move is its direction Any additional values are the indices of the boxes that were pushed A red dash indicates the end of a move A virtual undo takes the value at the bottom of the stack and moves the player in the opposite direction Any additional values are interpreted as box indices and the corresponding boxes will be moved The virt…