Skip to content

Instantly share code, notes, and snippets.

@lyudenn
Created September 16, 2019 22:33
Show Gist options
  • Select an option

  • Save lyudenn/b6a72a0a270fac5c3da4a5cd8f42cf00 to your computer and use it in GitHub Desktop.

Select an option

Save lyudenn/b6a72a0a270fac5c3da4a5cd8f42cf00 to your computer and use it in GitHub Desktop.
Miner Guy (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Miner Guy
author Dennis M.
homepage www.puzzlescript.net
========
OBJECTS
========
Background
gray
00000
00000
00000
00000
00000
Target1
whiteRed
0...0
.111.
.101.
.111.
0...0
Target2
whitelightgray
0...0
.111.
.1.1.
.111.
0...0
Rock
BROWNBlack
00000
01110
00010
00110
00000
Player
BlueYellowRedPink
.000.
.333.
22222
21112
.0.0.
Cristal
white
.....
00000
.000.
..0..
.....
Topacio
Red lightgray
.....
01110
00000
00000
.....
=======
LEGEND
=======
. = Background
# = rock
P = Player
* = Cristal
@ = Cristal and Target1
O = Target1
t = Target2
Q = Topacio and Target2
R = Topacio
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Target1, Target2
Player, Rock, Cristal, Topacio
======
RULES
======
[ > Player | Cristal ] -> [ > Player | > Cristal ]
[ > Player | Topacio ] -> [ > Player | > Topacio ]
==============
WINCONDITIONS
==============
All Target2 on Cristal
all Target1 on Topacio
=======
LEVELS
=======
message Lets mine!
#o##t#
#.##.#
#.##.#
#r##*#
#....#
#.p..#
#....#
######
message You won!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment