Created
June 21, 2025 21:49
-
-
Save arya-s/12fa498839cd85b5e0942015579f9b2e to your computer and use it in GitHub Desktop.
Dice Collector (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 Dice Collector | |
author You | |
homepage https://www.puzzlescript.net | |
======== | |
OBJECTS | |
======== | |
Background | |
LIGHTGRAY | |
00000 | |
00000 | |
00000 | |
00000 | |
00000 | |
Wall | |
BROWN DARKBROWN | |
11111 | |
10001 | |
10001 | |
10001 | |
11111 | |
Player1 | |
WHITE BLACK | |
11111 | |
10001 | |
10010 | |
10001 | |
11111 | |
Player2 | |
WHITE BLACK | |
11111 | |
10101 | |
10001 | |
10101 | |
11111 | |
Player3 | |
WHITE BLACK | |
11111 | |
10101 | |
10010 | |
10101 | |
11111 | |
Player4 | |
WHITE BLACK | |
11111 | |
10101 | |
10101 | |
10101 | |
11111 | |
Player5 | |
WHITE BLACK | |
11111 | |
10101 | |
11011 | |
10101 | |
11111 | |
Player6 | |
WHITE BLACK | |
11111 | |
10101 | |
10101 | |
10101 | |
11111 | |
Pip | |
YELLOW ORANGE | |
00000 | |
01110 | |
01010 | |
01110 | |
00000 | |
Target | |
GREEN DARKGREEN | |
00000 | |
00100 | |
01110 | |
00100 | |
00000 | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
@ = Player1 | |
* = Pip | |
o = Target | |
Player = Player1 or Player2 or Player3 or Player4 or Player5 or Player6 | |
======= | |
SOUNDS | |
======= | |
Pip DESTROY 36772507 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Target | |
Wall | |
Player | |
Pip | |
===== | |
RULES | |
===== | |
(Pip collection upgrades dice) | |
[ Player1 Pip ] -> [ Player2 ] | |
[ Player2 Pip ] -> [ Player3 ] | |
[ Player3 Pip ] -> [ Player4 ] | |
[ Player4 Pip ] -> [ Player5 ] | |
[ Player5 Pip ] -> [ Player6 ] | |
(Basic movement - Player1 moves 1 step) | |
[ > Player1 | . ] -> [ . | Player1 ] | |
(Player2 moves 2 steps) | |
[ > Player2 | . | . ] -> [ . | . | Player2 ] | |
[ > Player2 | . | Wall ] -> [ Player2 | . | Wall ] | |
[ > Player2 | . | Player ] -> [ Player2 | . | Player ] | |
[ > Player2 | . | Pip ] -> [ . | . | Player3 ] | |
(Player3 moves 3 steps) | |
[ > Player3 | . | . | . ] -> [ . | . | . | Player3 ] | |
[ > Player3 | . | . | Wall ] -> [ Player3 | . | . | Wall ] | |
[ > Player3 | . | . | Player ] -> [ Player3 | . | . | Player ] | |
[ > Player3 | . | . | Pip ] -> [ . | . | . | Player4 ] | |
[ > Player3 | . | Pip | . ] -> [ . | . | Player4 | . ] | |
(Player4 moves 4 steps) | |
[ > Player4 | . | . | . | . ] -> [ . | . | . | . | Player4 ] | |
[ > Player4 | . | . | . | Wall ] -> [ Player4 | . | . | . | Wall ] | |
[ > Player4 | . | . | . | Player ] -> [ Player4 | . | . | . | Player ] | |
[ > Player4 | . | . | . | Pip ] -> [ . | . | . | . | Player5 ] | |
[ > Player4 | . | . | Pip | . ] -> [ . | . | . | Player5 | . ] | |
[ > Player4 | . | Pip | . | . ] -> [ . | . | Player5 | . | . ] | |
(Player5 moves 5 steps) | |
[ > Player5 | . | . | . | . | . ] -> [ . | . | . | . | . | Player5 ] | |
[ > Player5 | . | . | . | . | Wall ] -> [ Player5 | . | . | . | . | Wall ] | |
[ > Player5 | . | . | . | . | Player ] -> [ Player5 | . | . | . | . | Player ] | |
[ > Player5 | . | . | . | . | Pip ] -> [ . | . | . | . | . | Player6 ] | |
[ > Player5 | . | . | . | Pip | . ] -> [ . | . | . | . | Player6 | . ] | |
[ > Player5 | . | . | Pip | . | . ] -> [ . | . | . | Player6 | . | . ] | |
[ > Player5 | . | Pip | . | . | . ] -> [ . | . | Player6 | . | . | . ] | |
(Player6 moves 6 steps) | |
[ > Player6 | . | . | . | . | . | . ] -> [ . | . | . | . | . | . | Player6 ] | |
[ > Player6 | . | . | . | . | . | Wall ] -> [ Player6 | . | . | . | . | . | Wall ] | |
[ > Player6 | . | . | . | . | . | Player ] -> [ Player6 | . | . | . | . | . | Player ] | |
============== | |
WINCONDITIONS | |
============== | |
No Pip | |
All Player on Target | |
======= | |
LEVELS | |
======= | |
########## | |
#@.......# | |
#.*......# | |
#........# | |
#..*.....# | |
#........# | |
#....*...# | |
#........# | |
#.....*..# | |
#.......o# | |
########## | |
########## | |
#@.......# | |
#........# | |
#.*......# | |
#........# | |
#..*.....# | |
#........# | |
#....*...# | |
#........# | |
#.....*..# | |
#.......o# | |
########## | |
########## | |
#........# | |
#@.......# | |
#........# | |
#.*......# | |
#........# | |
#..*.....# | |
#........# | |
#....*...# | |
#.......o# | |
########## |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment