I saw that you're incorporating a skip check; the other side is that it should end a turn when all the actions are exhausted. But it's a fun Sukoban puncher