Created
December 23, 2025 20:48
-
-
Save Stingby12/7367bbf1dc1d8fc11ee110bd96f72f91 to your computer and use it in GitHub Desktop.
Monkey on a computer playing sokoban (PuzzleScript Script)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| title Monkey on a computer playing sokoban | |
| author Stingby12 | |
| homepage www.puzzlescript.net | |
| run_rules_on_level_start | |
| ======== | |
| OBJECTS | |
| ======== | |
| Background | |
| white | |
| Target | |
| darkblue | |
| ..... | |
| .000. | |
| .0.0. | |
| .000. | |
| ..... | |
| Wall | |
| gray | |
| WallA | |
| black | |
| .000. | |
| 0...0 | |
| 00000 | |
| 0...0 | |
| 0...0 | |
| WallB | |
| black | |
| 0000. | |
| 0...0 | |
| 0000. | |
| 0...0 | |
| 0000. | |
| WallC | |
| black | |
| .0000 | |
| 0.... | |
| 0.... | |
| 0.... | |
| .0000 | |
| WallD | |
| black | |
| 0000. | |
| 0...0 | |
| 0...0 | |
| 0...0 | |
| 0000. | |
| WallE | |
| black | |
| 00000 | |
| 0.... | |
| 0000. | |
| 0.... | |
| 00000 | |
| WallF | |
| black | |
| 00000 | |
| 0.... | |
| 0000. | |
| 0.... | |
| 0.... | |
| WallG | |
| black | |
| .0000 | |
| 0.... | |
| 0.000 | |
| 0...0 | |
| .000. | |
| WallH | |
| black | |
| 0...0 | |
| 0...0 | |
| 00000 | |
| 0...0 | |
| 0...0 | |
| WallI | |
| black | |
| 00000 | |
| ..0.. | |
| ..0.. | |
| ..0.. | |
| 00000 | |
| WallJ | |
| black | |
| .0000 | |
| ....0 | |
| ....0 | |
| 0...0 | |
| .000. | |
| WallK | |
| black | |
| 0...0 | |
| 0..0. | |
| 000.. | |
| 0..0. | |
| 0...0 | |
| WallL | |
| black | |
| 0.... | |
| 0.... | |
| 0.... | |
| 0.... | |
| 00000 | |
| WallM | |
| black | |
| 0...0 | |
| 00.00 | |
| 0.0.0 | |
| 0...0 | |
| 0...0 | |
| WallN | |
| black | |
| 0...0 | |
| 00..0 | |
| 0.0.0 | |
| 0..00 | |
| 0...0 | |
| WallO | |
| black | |
| .000. | |
| 0...0 | |
| 0...0 | |
| 0...0 | |
| .000. | |
| WallP | |
| black | |
| 0000. | |
| 0...0 | |
| 0000. | |
| 0.... | |
| 0.... | |
| WallQ | |
| black | |
| .000. | |
| 0...0 | |
| 0...0 | |
| 0..00 | |
| .0000 | |
| WallR | |
| black | |
| 0000. | |
| 0...0 | |
| 0000. | |
| 0..0. | |
| 0...0 | |
| WallS | |
| black | |
| .0000 | |
| 0.... | |
| .000. | |
| ....0 | |
| 0000. | |
| WallT | |
| black | |
| 00000 | |
| ..0.. | |
| ..0.. | |
| ..0.. | |
| ..0.. | |
| WallU | |
| black | |
| 0...0 | |
| 0...0 | |
| 0...0 | |
| 0...0 | |
| .000. | |
| WallV | |
| black | |
| 0...0 | |
| 0...0 | |
| 0...0 | |
| .0.0. | |
| ..0.. | |
| WallW | |
| black | |
| 0...0 | |
| 0...0 | |
| 0.0.0 | |
| 00.00 | |
| 0...0 | |
| WallX | |
| black | |
| 0...0 | |
| .0.0. | |
| ..0.. | |
| .0.0. | |
| 0...0 | |
| WallY | |
| black | |
| 0...0 | |
| .0.0. | |
| ..0.. | |
| ..0.. | |
| ..0.. | |
| WallZ | |
| black | |
| 00000 | |
| ...0. | |
| ..0.. | |
| .0... | |
| 00000 | |
| Player | |
| black orange darkgray blue | |
| ..1.. | |
| .222. | |
| 12221 | |
| 13331 | |
| .3.3. | |
| Monkey | |
| brown yellow orange | |
| .000. | |
| .010. | |
| 00200 | |
| .222. | |
| .0.0. | |
| Crate | |
| orange darkbrown brown | |
| 20002 | |
| 02120 | |
| 01210 | |
| 02120 | |
| 20002 | |
| Trap | |
| red | |
| .0.0. | |
| 00000 | |
| .0.0. | |
| 00000 | |
| .0.0. | |
| StopTP | |
| transparent | |
| ======= | |
| LEGEND | |
| ======= | |
| . = Background | |
| # = Wall | |
| P = Player | |
| ! = Monkey | |
| * = Crate | |
| @ = Crate and Target | |
| O = Target | |
| % = Crate and Trap | |
| X = Trap | |
| WallLet = WallA or WallB or WallC or WallD or WallE or WallF or WallG or WallH or WallI or WallJ or WallK or WallL or WallM or WallN or WallO or WallP or WallQ or WallR or WallS or WallT or WallU or WallV or WallW or WallX or WallY or WallZ | |
| ======= | |
| SOUNDS | |
| ======= | |
| undo 38175706 | |
| restart 51798301 | |
| startgame 73961708 | |
| startlevel 35600302 | |
| endlevel 90038108 | |
| Player move 6775107 | |
| sfx0 56319104 (player cantmove) | |
| Crate move 36772507 | |
| ================ | |
| COLLISIONLAYERS | |
| ================ | |
| Background | |
| Player, Monkey, Wall, Crate | |
| Target, Trap | |
| WallLet | |
| StopTP | |
| ====== | |
| RULES | |
| ====== | |
| [ StopTP ] -> [ ] | |
| [ Wall no WallLet ] -> [ Wall random WallLet ] checkpoint | |
| [ > Player Trap ] -> [ Player Trap ] sfx0 | |
| [ > Player ] [ Monkey ] -> [ > Player ] [ > Monkey ] | |
| [ > Monkey Trap ] -> [ Monkey Trap ] | |
| [ > Player | Crate ] -> [ > Player | > Crate ] | |
| [ > Monkey | Crate ] -> [ > Monkey | > Crate ] | |
| [ > Player | Wall ] -> [ Player StopTP | Wall ] sfx0 | |
| [ > Crate | Wall ] -> [ Crate | Wall ] | |
| [ > Crate | Crate ] -> [ Crate | Crate ] | |
| [ > Monkey | Wall ] -> [ Monkey | Wall ] | |
| [ > Monkey | stationary Crate ] -> [ Monkey | Crate ] | |
| [ > Monkey | stationary Monkey ] -> [ Monkey | Monkey ] | |
| [ > Player | stationary Monkey ] -> [ Player StopTP | Monkey ] sfx0 | |
| [ > Player | stationary Crate ] -> [ Player StopTP | Crate ] sfx0 | |
| [ moving Monkey ] [ StopTP ] -> [ Monkey ] [ StopTP ] | |
| [ moving Crate ] [ StopTP ] -> [ Crate ] [ StopTP ] | |
| ============== | |
| WINCONDITIONS | |
| ============== | |
| all Target on Crate | |
| ======= | |
| LEVELS | |
| ======= | |
| message Monkey theorem : If a monkey types on a typewritter randomly, there is a chance that he writes the entirety of hamilton in infinity years. (0/10) | |
| ######### | |
| #.......# | |
| #.....@.# | |
| #.p.*.o.# | |
| #.......# | |
| #.......# | |
| ######### | |
| #.......# | |
| #.....o.# | |
| #.!.*.o.# | |
| #.....*.# | |
| #.......# | |
| ######### | |
| message Monkey see, monkey do (1/10) | |
| ##########. | |
| #....#...#. | |
| #..*.#.o.#. | |
| ##...#...#. | |
| .#.p.#.!.#. | |
| .#...#...## | |
| .#.o.#.*..# | |
| .#...#....# | |
| .########## | |
| message How the turn tables (2/10) | |
| ############# | |
| #p....#!....# | |
| #..o..#..*..# | |
| #.*.*.#.o.o.# | |
| #..o..#..*..# | |
| #.....#.....# | |
| ############# | |
| message Weird mirror (3/10) | |
| .....###### | |
| ######....# | |
| #....#.o@.# | |
| #.#p.#.*@.# | |
| #.*@.#.#!.# | |
| #.o@.#....# | |
| #....###### | |
| ######..... | |
| message Cards (4/10) | |
| ################# | |
| #.......#.......# | |
| #.......#.......# | |
| #..o*o..#..*o*..# | |
| #..*o*..#..o*o..# | |
| #..o*o..#..*o*..# | |
| #..*o*..#..o*o..# | |
| #.......#.......# | |
| #...p...#...!...# | |
| ################# | |
| message Siamese twins (5/10) | |
| .......####.. | |
| ########.o#.. | |
| #......#..### | |
| #.o@@*p#@!..# | |
| #......#..*.# | |
| #####..#..### | |
| ....#######.. | |
| message Expand (6/10) | |
| #########...... | |
| #o..o..o####### | |
| #.......#.....# | |
| #..***..#.....# | |
| #o.*!*.o#..p..# | |
| #..***..#.....# | |
| #.......#.....# | |
| #o..o..o####### | |
| #########...... | |
| message Roommates (7/10) | |
| ....###. | |
| #####.#. | |
| #...o.#. | |
| ##.p..#. | |
| .#..!*## | |
| .#.....# | |
| .#.##### | |
| .###.... | |
| message Mind your steps (8/10) | |
| ##########..... | |
| x.......x####.. | |
| x.!.....x.xx### | |
| x.!..x...x..%o# | |
| x.p.x.......%o# | |
| x.!..x...x..%o# | |
| x.!.....x.xx### | |
| x.......x####.. | |
| ##########..... | |
| message Crowded (9/10) | |
| ..###...... | |
| .##o#...... | |
| ###%####### | |
| #o%!!!....# | |
| ###!p!....# | |
| ..#!!!....# | |
| ..#.......# | |
| ..#....*..# | |
| ..#.......# | |
| ..#......## | |
| ..######### | |
| message Help themselves (10/10) | |
| .....##### | |
| .....#...# | |
| .....#.p.# | |
| ..####...# | |
| ###..##### | |
| #.....*!#. | |
| #.#..#*!#. | |
| #.o.o#.!#. | |
| #########. | |
| message As the universe dies, the monkey sucessfuly writes the entire fiction, and cries at the efforts he put into their project. | |
| message Bonus level : Monkey triptych | |
| ################### | |
| #.....#.....#.....# | |
| #.*o*.#.o**.#.*o*.# | |
| #.opo.#.o!o.#.o!o.# | |
| #.*o*.#.**o.#.o**.# | |
| #.....#.....#.....# | |
| ################### | |
| message Thanks for playing ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment