Coding - part A

1) Choose a corner piece to “take away”. [br] This empty space will make room to move the others pieces around. [br] The "away piece" will show up once the puzzle is solved. [br][br]2) Create Points [b]V[/b] and [b]Q[/b] ([b]V[/b] at [u]left bottom[/u] of the blank space and [b]Q[/b] at the [u]right bottom[/u] of the blank space).
3) For each PIECE (except "away piece"). Go to settings: scripting ----> on click, and type the following changing P1, P2, P3, etc for each [br][br]SetValue[Q,P_1] [color=#980000] -----> [i]Q take place of P1[/i][/color][br]If[Distance[Q,V]==1,SetValue[P_1,V]] [i][color=#980000]-----> if distance between Q and V is 1, then P1 take place of V[br][/color][/i]If[Distance[Q,V]==1,SetValue[V,Q]] [i][color=#980000]-----> if distance between Q and V is 1, then V take place of Q[br][/color][/i][br][br][color=#0000ff][b]Coding for Copy and Paste !!![/b][/color][br]SetValue[Q,P_8][br]If[Distance[Q,V]==1,SetValue[P_8,V]][br]If[Distance[Q,V]==1,SetValue[V,Q]]
[b][color=#ff0000]* Make sure the settings window is closed before testing![/color][/b]

Information: Coding - part A