0

0

Share

3-by-3 toroidal number puzzle

Game

advanced motion, miscellaneous, basic math, simple conditionals, simple messaging, simple events, simple motion, resize actor, visibility, layers, simple costume handling, advanced math, advanced costume handling, simple loops, delays, functions, variables, simple variables, advanced control,

**#Lines:**1539**#Actors:**35**#Costumes:**100**#Scripts:**169

- 3-by-3 toroidal number puzzle
- start with a random configuration.
- randomize the initial configuration of the numbers in the grid.
- note: this code is not working properly as currently implemented.
- randomarrowclick
- click on an arrow button at random.
- rotate top row left
- rotate top row right
- rotate middle row left
- rotate middle row right
- rotate bottom row left
- rotate bottom row right
- rotate left column up
- rotate left column down
- rotate middle column up
- rotate middle column down
- rotate right column up
- rotate right column down
- game in progress
- broadcast win message once a winning configuration is achieved.
- if the 1 is in the top row, move it to the left one spot, wrapping around if necessary.
- if the 1 is in the right column, move it up one spot, wrapping around if necessary.
- if the 1 is in the top row, move it to the right one spot, wrapping around if necessary.
- if the 1 is in the middle row, move it to the left one spot, wrapping around if necessary.
- if the 1 is in the middle column, move it up one spot, wrapping around if necessary.
- if the 1 is in the left column, move it up one spot, wrapping around if necessary.
- start the 1 in the top-left corner.
- if the 1 is in the left column, move it down one spot, wrapping around if necessary.
- if the 1 is in the middle column, move it down one spot, wrapping around if necessary.
- if the 1 is in the right column, move it down one spot, wrapping around if necessary.
- if the 1 is in the bottom row, move it to the left one spot, wrapping around if necessary.
- if the 1 is in the bottom row, move it to the right one spot, wrapping around if necessary.
- if the 1 is in the middle row, move it to the right one spot, wrapping around if necessary.
- if the 2 is in the left column, move it up one spot, wrapping around if necessary.
- if the 2 is in the left column, move it down one spot, wrapping around if necessary.
- start the 2 in the middle of the top row.
- if the 2 is in the top row, move it to the left one spot, wrapping around if necessary.
- if the 2 is in the top row, move it to the right one spot, wrapping around if necessary.
- if the 2 is in the middle column, move it up one spot, wrapping around if necessary.
- if the 2 is in the middle column, move it down one spot, wrapping around if necessary.
- if the 2 is in the middle row, move it to the left one spot, wrapping around if necessary.
- if the 2 is in the middle row, move it to the right one spot, wrapping around if necessary.
- if the 2 is in the right column, move it up one spot, wrapping around if necessary.
- if the 2 is in the right column, move it down one spot, wrapping around if necessary.
- if the 2 is in the bottom row, move it to the left one spot, wrapping around if necessary.
- if the 2 is in the bottom row, move it to the right one spot, wrapping around if necessary.
- start the 3 in the top-right corner.
- if the 3 is in the left column, move it up one spot, wrapping around if necessary.
- if the 3 is in the left column, move it down one spot, wrapping around if necessary.
- if the 3 is in the top row, move it to the left one spot, wrapping around if necessary.
- if the 3 is in the top row, move it to the right one spot, wrapping around if necessary.
- if the 3 is in the middle column, move it up one spot, wrapping around if necessary.
- if the 3 is in the middle column, move it down one spot, wrapping around if necessary.
- if the 3 is in the middle row, move it to the left one spot, wrapping around if necessary.
- if the 3 is in the middle row, move it to the right one spot, wrapping around if necessary.
- if the 3 is in the right column, move it up one spot, wrapping around if necessary.
- if the 3 is in the right column, move it down one spot, wrapping around if necessary.
- if the 3 is in the bottom row, move it to the left one spot, wrapping around if necessary.
- if the 3 is in the bottom row, move it to the right one spot, wrapping around if necessary.
- start the 4 in the middle of the left column.
- if the 4 is in the left column, move it up one spot, wrapping around if necessary.
- if the 4 is in the left column, move it down one spot, wrapping around if necessary.
- if the 4 is in the middle column, move it up one spot, wrapping around if necessary.
- if the 4 is in the top row, move it to the left one spot, wrapping around if necessary.
- if the 4 is in the middle row, move it to the left one spot, wrapping around if necessary.
- if the 4 is in the middle column, move it down one spot, wrapping around if necessary.
- if the 4 is in the right column, move it up one spot, wrapping around if necessary.
- if the 4 is in the right column, move it down one spot, wrapping around if necessary.
- if the 4 is in the bottom row, move it to the left one spot, wrapping around if necessary.
- if the 4 is in the top row, move it to the right one spot, wrapping around if necessary.
- if the 4 is in the middle row, move it to the right one spot, wrapping around if necessary.
- if the 4 is in the bottom row, move it to the right one spot, wrapping around if necessary.
- start the 5 in the middle of the grid.
- if the 5 is in the left column, move it up one spot, wrapping around if necessary.
- if the 5 is in the middle column, move it up one spot, wrapping around if necessary.
- if the 5 is in the right column, move it up one spot, wrapping around if necessary.
- if the 5 is in the left column, move it down one spot, wrapping around if necessary.
- if the 5 is in the middle column, move it down one spot, wrapping around if necessary.
- if the 5 is in the right column, move it down one spot, wrapping around if necessary.
- if the 5 is in the top row, move it to the left one spot, wrapping around if necessary.
- if the 5 is in the middle row, move it to the left one spot, wrapping around if necessary.
- if the 5 is in the bottom row, move it to the left one spot, wrapping around if necessary.
- if the 5 is in the top row, move it to the right one spot, wrapping around if necessary.
- if the 5 is in the middle row, move it to the right one spot, wrapping around if necessary.
- if the 5 is in the bottom row, move it to the right one spot, wrapping around if necessary.
- start the 6 in the middle of the right column.
- if the 6 is in the left column, move it up one spot, wrapping around if necessary.
- if the 6 is in the middle column, move it up one spot, wrapping around if necessary.
- if the 6 is in the right column, move it up one spot, wrapping around if necessary.
- if the 6 is in the left column, move it down one spot, wrapping around if necessary.
- if the 6 is in the middle column, move it down one spot, wrapping around if necessary.
- if the 6 is in the right column, move it down one spot, wrapping around if necessary.
- if the 6 is in the top row, move it to the left one spot, wrapping around if necessary.
- if the 6 is in the middle row, move it to the left one spot, wrapping around if necessary.
- if the 6 is in the bottom row, move it to the left one spot, wrapping around if necessary.
- if the 6 is in the top row, move it to the right one spot, wrapping around if necessary.
- if the 6 is in the middle row, move it to the right one spot, wrapping around if necessary.
- if the 6 is in the bottom row, move it to the right one spot, wrapping around if necessary.
- start the 7 at the bottom-left corner.
- if the 7 is in the left column, move it up one spot, wrapping around if necessary.
- if the 7 is in the middle column, move it up one spot, wrapping around if necessary.
- if the 7 is in the right column, move it up one spot, wrapping around if necessary.
- if the 7 is in the left column, move it down one spot, wrapping around if necessary.
- if the 7 is in the middle column, move it down one spot, wrapping around if necessary.
- if the 7 is in the right column, move it down one spot, wrapping around if necessary.
- if the 7 is in the top row, move it to the left one spot, wrapping around if necessary.
- if the 7 is in the middle row, move it to the left one spot, wrapping around if necessary.
- if the 7 is in the bottom row, move it to the left one spot, wrapping around if necessary.
- if the 7 is in the top row, move it to the right one spot, wrapping around if necessary.
- if the 7 is in the middle row, move it to the right one spot, wrapping around if necessary.
- if the 7 is in the bottom row, move it to the right one spot, wrapping around if necessary.
- start the 8 in the middle of the bottom row.
- if the 8 is in the left column, move it up one spot, wrapping around if necessary.
- if the 8 is in the middle column, move it up one spot, wrapping around if necessary.
- if the 8 is in the right column, move it up one spot, wrapping around if necessary.
- if the 8 is in the left column, move it down one spot, wrapping around if necessary.
- if the 8 is in the middle column, move it down one spot, wrapping around if necessary.
- if the 8 is in the right column, move it down one spot, wrapping around if necessary.
- if the 8 is in the top row, move it to the left one spot, wrapping around if necessary.
- if the 8 is in the middle row, move it to the left one spot, wrapping around if necessary.
- if the 8 is in the bottom row, move it to the left one spot, wrapping around if necessary.
- if the 8 is in the top row, move it to the right one spot, wrapping around if necessary.
- if the 8 is in the middle row, move it to the right one spot, wrapping around if necessary.
- if the 8 is in the bottom row, move it to the right one spot, wrapping around if necessary.
- start the 9 in the bottom-right corner.
- if the 9 is in the left column, move it up one spot, wrapping around if necessary.
- if the 9 is in the middle column, move it up one spot, wrapping around if necessary.
- if the 9 is in the right column, move it up one spot, wrapping around if necessary.
- if the 9 is in the left column, move it down one spot, wrapping around if necessary.
- if the 9 is in the middle column, move it down one spot, wrapping around if necessary.
- if the 9 is in the right column, move it down one spot, wrapping around if necessary.
- if the 9 is in the top row, move it to the left one spot, wrapping around if necessary.
- if the 9 is in the middle row, move it to the left one spot, wrapping around if necessary.
- if the 9 is in the bottom row, move it to the left one spot, wrapping around if necessary.
- if the 9 is in the top row, move it to the right one spot, wrapping around if necessary.
- if the 9 is in the middle row, move it to the right one spot, wrapping around if necessary.
- if the 9 is in the bottom row, move it to the right one spot, wrapping around if necessary.
- top right arrow button
- move the top right arrow to the left side of the top row.
- arrow button clicked
- tell the numbers in the top row to move to the right, wrapping around if necessary.
- arrow button right
- middle right arrow button
- move the middle right arrow to the left side of the middle row.
- tell the numbers in the middle row to move to the right, wrapping around if necessary.
- bottom right arrow button
- move the bottom right arrow to the left side of the bottom row.
- tell the numbers in the bottom row to move to the right, wrapping around if necessary.
- top left arrow button
- move the top left arrow to the right side of the top row.
- tell the numbers in the top row to move to the left, wrapping around if necessary.
- arrow button left
- middle left arrow button
- move the middle left arrow to the right side of the middle row.
- tell the numbers in the middle row to move to the left, wrapping around if necessary.
- bottom left arrow button
- move the bottom left arrow to the right side of the bottom row.
- tell the numbers in the bottom row to move to the left, wrapping around if necessary.
- move the left up arrow to the bottom side of the left column.
- tell the numbers in the left column to move up, wrapping around if necessary.
- move the middle up arrow to the bottom side of the middle column.
- tell the numbers in the middle column to move up, wrapping around if necessary.
- move the right up arrow to the bottom side of the right column.
- tell the numbers in the right column to move up, wrapping around if necessary.
- move the left down arrow to the top side of the left column.
- tell the numbers in the left column to move down, wrapping around if necessary.
- middle down arrow
- move the middle down arrow to the top side of the middle column.
- tell the numbers in the middle column to move down, wrapping around if necessary.
- right down arrow
- move the right down arrow to the top side of the right column.
- tell the numbers in the right column to move down, wrapping around if necessary.
- go to the bottom-right corner of the screen and hide until prompted.
- display the message "you win!" if the player wins.
- go to the top-left corner of the screen.
- 10-second intervals
- 10-minute intervals1
- green button off
- go to the top-right corner of the screen.
- moves units digit
- moves tens digit
- moves hundreds digit
- update thousands
- moves thousands digit

by Itchy Grain

178.7k

by Itchy Grain

227.3k

by Itchy Grain

946

by Itchy Grain

1.1k