Add a chapter on checking for the success condition
Closed this issue · 6 comments
wbprice commented
After the character is able to move and push boxes around, checking for the success condition is a good next step. Maybe a "You Win!" message is displayed.
iolivia commented
Yep, great idea! I actually have some code for this in this folder but it needs probably a rebase off of the latest sample code and some tweaking. Plus writing up in md as a section.
wbprice commented
Cool, I'll take a crack at adapting the code in that folder for solving a one-block puzzle.
wbprice commented
wbprice commented
I made some progress on writing the chapter for this today. I'll keep working on it.
iolivia commented
will have a look probably this weekend! 😄