Skip to content

Instantly share code, notes, and snippets.

@BlueNacho
Created August 29, 2025 02:57
Show Gist options
  • Select an option

  • Save BlueNacho/87d44a517d54afd73f672efa39b971ee to your computer and use it in GitHub Desktop.

Select an option

Save BlueNacho/87d44a517d54afd73f672efa39b971ee to your computer and use it in GitHub Desktop.
LeBron's Dribble Arena (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title LeBron's Dribble Arena
author Ignacio Tachini
homepage www.puzzlescript.net
========
OBJECTS
========
Background
#E0BF9B #D9AF82 #CE985F
00000
11111
11111
00000
22222
Target
#d11500 white gray #b01504 #7a0d01 darkgray
.000.
0.1.0
32.23
4.1.4
.444.
WallTop
YELLOW purple black
00000
00000
11111
11111
22222
WallBot
YELLOW purple black
22222
11111
11111
00000
00000
WallLeft
YELLOW purple black
00112
00112
00112
00112
00112
WallRight
YELLOW purple black
21100
21100
21100
21100
21100
CornerTopLeft
YELLOW purple black
00000
00000
00111
00111
00112
CornerTopRight
YELLOW purple black
00000
00000
11100
11100
21100
CornerBotLeft
YELLOW purple black
00112
00111
00111
00000
00000
CornerBotRight
YELLOW purple black
21100
11100
11100
00000
00000
Player
#513404 BLACK YELLOW purple #58331D white
.444.
.111.
42224
43334
.1.1.
Ball
#c23d00 #942f00 #702502
.....
.000.
.101.
.212.
.....
BallLocked
#a53600 #7a2100 #501700
.....
.000.
.101.
.212.
.....
TargetDone
#00a000 white gray #008000 #004000 darkgreen
.000.
0.1.0
32.23
4.1.4
.444.
=======
LEGEND
=======
. = Background
# = WallTop
? = WallBot
[ = WallLeft
] = WallRight
1 = CornerTopLeft
2 = CornerTopRight
3 = CornerBotLeft
4 = CornerBotRight
P = Player
* = Ball
O = Target
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Target, TargetDone
Player, WallTop, WallBot, WallLeft, WallRight, CornerTopLeft, CornerTopRight, CornerBotLeft, CornerBotRight, Ball, BallLocked
======
RULES
======
[ < Player | Ball ] -> [ < Player | < Ball ]
[ > Player | Ball ] -> [ > Player | > Ball ]
[ Ball | Target ] -> [ BallLocked | TargetDone ]
==============
WINCONDITIONS
==============
all Ball on Target
all TargetDone on BallLocked
=======
LEVELS
=======
1#######2
[..*....]
[.....O.]
[.P.*...]
[.....O.]
[.......]
3???????4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment