Skip to content

Instantly share code, notes, and snippets.

@snuke
Created May 10, 2024 18:13
Show Gist options
  • Save snuke/80ce4dc87f72e6fad01741fc60115687 to your computer and use it in GitHub Desktop.
Save snuke/80ce4dc87f72e6fad01741fc60115687 to your computer and use it in GitHub Desktop.
MOYOU (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title MOYOU
author snuke
homepage snuke.org
background_color #888
key_repeat_interval 0.2
========
OBJECTS
========
background
white
white
white black
11111
10001
10001
10001
11111
black
black
gray
#a9a9a9 black
11111
10001
10001
10001
11111
blue1
#0c69f2
.0000
00000
00000
00000
.0000
blue2
#0c69f2 white
00000
00010
01100
00100
00000
blue3
#0c69f2
0000.
00000
00000
00000
0000.
off
#6f6f6f
..0..
.000.
00000
0.0.0
00000
on
#b35f47
..0..
.000.
00000
0.0.0
00000
wa1
#da3344
.....
..0.0
..0.0
..0.0
...0.
wa2
#da3344
.....
.0...
.0..0
.0.00
0..0.
wa3
#da3344
.....
0....
.0...
000..
..0..
ac1
#67ae8e
.0000
00000
00000
00000
.0000
ac2
#67ae8e white
00000
00000
10101
00000
00000
ac3
#67ae8e
0000.
00000
00000
00000
0000.
ans1
green
.0...
.00.0
.0.0.
.0...
.0...
ans2
green
0..00
0...0
0...0
0...0
0..00
ans3
green
0..0.
...00
...0.
...0.
0..0.
ans4
green
..0..
..0..
0.0..
.00..
..0..
ans5
green
000..
.0...
.0...
.0...
000..
player
#a00
.....
..0..
.000.
..0..
.....
FIXED
white
JUDGE
white
BWB
white
WBW
white
AC
white
=======
LEGEND
=======
btn = blue1 or blue2 or blue3
unchi = off or on
wa = wa1 or wa2 or wa3
. = background
p = player
w = white and FIXED
b = black and FIXED
g = gray
1 = blue1
2 = blue2
3 = blue3
x = off
o = on
4 = wa1
5 = wa2
6 = wa3
7 = ac1
8 = ac2
9 = ac3
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
background
FIXED, JUDGE, BWB, WBW, AC
black, white, gray, blue1, blue2, blue3, off, on, wa1, wa2, wa3, ac1, ac2, ac3, ans1, ans2, ans3, ans4, ans5
player
======
RULES
======
[action player no FIXED gray] -> [player black]
[action player no FIXED white] -> [player black]
[action player no FIXED black] -> [player white]
[action player on] -> [player off]
[action player off] -> [player on]
[action player btn] -> [player btn JUDGE]
right [black|white|black|] [JUDGE] -> [black|white|black|BWB] [JUDGE]
right [white|black|white|] [JUDGE] -> [white|black|white|WBW] [JUDGE]
down [BWB|WBW|BWB] [JUDGE] -> [||] [AC]
[WA] [AC] -> [] [AC]
[AC] [blue1] -> [AC] [ac1]
[AC] [blue2] -> [AC] [ac2]
[AC] [blue3] -> [AC] [ac3]
down [ac1||no unchi] [AC] -> [ac1||off] [AC]
right [|no unchi|unchi] [AC] -> [|off|off] [AC]
right [unchi|no unchi|] [AC] -> [off|off|] [AC]
down [1|no WA] [JUDGE] -> [1|4] [JUDGE]
down [2|no WA] [JUDGE] -> [2|5] [JUDGE]
down [3|no WA] [JUDGE] -> [3|6] [JUDGE]
[JUDGE] -> []
[AC] -> []
[off|on|off|on|on] -> [ans1|ans2|ans3|ans4|ans5]
==============
WINCONDITIONS
==============
No background
=======
LEVELS
=======
p......
..bwg..
..wbg..
..bwg..
.......
..123..
.......
.......
.......
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment