meganetaaan / vue-8-puzzle

A simple 8-puzzle game made as a Vue.js component
MIT License
30 stars 9 forks source link

Reset puzzle? #41

Open pandalion opened 3 years ago

pandalion commented 3 years ago

Hi there, I wondered if you could advise what I should call if I want to re-initialise the puzzle on a button press (to reset the same image to be shuffled up again, after completion. It looks like the puzzle init happens only when difficulty changes?

Thank you!