Question
I need immediate help with the slide puzzle. I need help to reset button. The nine (9) buttons that make up the puzzle can be
I need immediate help with the slide puzzle. I need help to reset button. The nine (9) buttons that make up the puzzle can be used to move a tile to a new location. It's ike swapping the text which means the nine (9) buttons stay in their original location only the text changes. When the user click on a button with text, swap the text with the blank button making it look like two tiles have switch places. If I am only swapping the text then reset should be simple. I believe all I have to do is set the text on the nine (9) buttons to their original value. (that's when I hit the reset button). However, the nine buttons must be in a two-dimensional array.
I need you to help me with coding the two-dimensional array nine (9) buttons as well as the reset button; when I click on it; it will swap the text with the blank button making it look like if the two tiles have switch places.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started