Skip to content

Instantly share code, notes, and snippets.

@ZacharyTalis
Created January 3, 2026 01:13
Show Gist options
  • Select an option

  • Save ZacharyTalis/9ea68c3467af1637fe752fbe9448572b to your computer and use it in GitHub Desktop.

Select an option

Save ZacharyTalis/9ea68c3467af1637fe752fbe9448572b to your computer and use it in GitHub Desktop.
Rock Paper Soko (Puzzlescript Next Script)
Play this game by pasting the script into https://puzzlescriptnext.polyomino.com/editor.html
title Rock Paper Soko
author Osi
homepage www.osscie.com
background_color blue
text_color black
again_interval 0.2
color_palette mastersystem
sprite_size 10
level_select
level_select_solve_symbol #
========
OBJECTS
========
Background
#8f9179
Player
grey white black brown yellow
...33300..
..2224000.
..1111..0.
..1111....
33333311..
33333311..
33333311..
33333311..
..00..00..
.0000.000..
Scissors
grey red
..11....00
.1111..000
11..11000.
11..1100..
.111000...
.111000...
11..1100..
11..11000.
.1111..000
..11....00
Rock
grey black
..000000..
..000000..
0011000000
0011000000
0000001100
0000001100
0000110000
0000110000
..000000..
..000000..
Paper
white black
..000000..
..000000..
000000....
000000....
..000000..
..000000..
....000000
....000000
..000000..
..000000..
Wall
darkgrey darkgrey
1100000011
1100000011
0000110000
0000110000
1111001111
1111001111
0000110000
0000110000
1100000011
1100000011
Marker
purple yellow
...0000...
..000000..
..0000000.
.000..000.
.00....000
.00.....00
.00.....00
..0...1.0.
..00...1..
...0....1.
Block
orange
..........
..0000000.
.00000000.
.00....00.
.00....00.
.00....00.
.00....00.
.00000000.
.0000000..
..........
BlockMarker
purple yellow orange
...0000...
..2222222.
.22222222.
.220..022.
.22....220
.22....220
.22....220
.22222222.
.2222222..
...0....1.
WinObject
transparent
=======
LEGEND
=======
Thingy = Scissors or Rock or Paper or Block
. = Background
O = Player
R = Rock
P = Paper
S = Scissors
B = Block
C = BlockMarker
M = Marker
# = Wall
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
WinObject
Marker, BlockMarker
Player, Thingy, Wall
======
RULES
======
[BlockMarker] -> [Block Marker]
[> Player | Thingy] -> [> Player | > Thingy]
[> Thingy | Thingy] -> [> Thingy | > Thingy]
late [Scissors | Rock ] -> [ | Rock]
late [Rock | Paper ] -> [ | Paper]
late [Paper | Scissors ] -> [ | Scissors]
late [Paper Marker] -> [Scissors Marker]
late [Rock Marker] -> [Paper Marker]
late [Rock] -> [Rock WinObject]
late [Rock WinObject][Paper] -> [Rock][Paper]
late [Rock WinObject][Scissors] -> [Rock][Scissors]
late [Paper] -> [Paper WinObject]
late [Paper WinObject][Rock] -> [Paper][Rock]
late [Paper WinObject][Scissors] -> [Paper][Scissors]
late [Scissors] -> [Scissors WinObject]
late [Scissors WinObject][Paper] -> [Scissors][Paper]
late [Scissors WinObject][Rock] -> [Scissors][Rock]
==============
WINCONDITIONS
==============
some WinObject
=======
LEVELS
=======
message Welcome to the mightiest of arenas!
section 1 Mighty Welcome
############
##........##
#..........#
#..o.rr....#
#..........#
#..pp..ss..#
#..........#
##........##
############
section 2 Haste Makes Waste
#######
##rrr##
#.....#
#...s.#
#.....#
###.###
#.....#
#s.p.o#
#.....#
#######
section 3 Born To Snip
p###########p
##.........##
#...........#
#..pppp..r..#
#..p..p.....#
#..p..p..p..#
#.....p..p..#
#.os..pppp..#
#...........#
##.........##
p###########p
section 4 Persuasion
###########
##.......##
##o..r..m##
##.......##
#.........#
#.........#
#.........#
##r#ppppp##
###########
section 5 As Foretold
##########
#.......##
#..m....r#
#.......##
##..##..p#
##or######
##..######
##########
section 6 Not Quite Right
##########
#p#####sm#
########r#
########.#
########m#
#####....#
#...#....#
#.o.b.r..#
#...#....#
##########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment