Skip to content

Instantly share code, notes, and snippets.

@inventortimer
Created April 23, 2024 09:10
Show Gist options
  • Save inventortimer/32d60c8481bbb30fe341c98902b74413 to your computer and use it in GitHub Desktop.
Save inventortimer/32d60c8481bbb30fe341c98902b74413 to your computer and use it in GitHub Desktop.
The Cable Guy (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title The Cable Guy
author 4sandwiches
homepage https://store.steampowered.com/app/2541310/The_Cable_Guy
========
OBJECTS
========
Background
lightgreen green
11111
01111
11101
11111
10111
UnconnectedBluePC
grey darkgray
00000
01110
00000
.000.
00000
ConnectedBluePC
gray blue
00000
01110
00000
.000.
00000
Wall
brown darkbrown
00010
11111
01000
11111
00010
Server
black orange blue grey
33333
32223
33333
32223
33333
NonActivePlayer
white
00.00
0...0
.....
0...0
00.00
ActiveBluePlayer
blue
00.00
0...0
.....
0...0
00.00
UnconnectedCable
darkblue
.....
.000.
.000.
.000.
.....
ConnectedCableVB
blue
..0..
..0..
..0..
..0..
..0..
ConnectedCableHB
blue
.....
.....
00000
.....
.....
=======
LEGEND
=======
player = ActiveBluePlayer or NonActivePlayer
. = Background
# = Wall
S = Server
N = NonActivePlayer
A = ActiveBluePlayer
U = UnconnectedBluePC
C = ConnectedBluePC
- = ConnectedCableHB
/ = ConnectedCableVB
=======
SOUNDS
=======
Server move 36772507
================
COLLISIONLAYERS
================
Background
ConnectedCableVB, ConnectedCableHB, UnconnectedCable
UnconnectedBluePC, ConnectedBluePC, Server
ActiveBluePlayer, NonActivePlayer
Wall
======
RULES
======
(Player state switch)
[Action NonActivePlayer Server] -> [ActiveBluePlayer Server]
[Action ActiveBluePlayer] -> [NonActivePlayer]
(Server rules)
(Server = BlueServer, RedServer...)
UP [UP ActiveBluePlayer Server | Background] -> [Server | ActiveBluePlayer ConnectedCableVB Background]
DOWN [DOWN ActiveBluePlayer Server | Background] -> [Server | ActiveBluePlayer ConnectedCableVB Background]
LEFT [LEFT ActiveBluePlayer Server | Background] -> [Server | ActiveBluePlayer ConnectedCableHB Background]
RIGHT [RIGHT ActiveBluePlayer Server | Background] -> [Server | ActiveBluePlayer ConnectedCableHB Background]
(Cable rules)
LEFT [LEFT ActiveBluePlayer | Server] -> [LEFT ActiveBluePlayer ConnectedCableHB | Server]
[VERTICAL ActiveBluePlayer | ConnectedCableVB] -> [VERTICAL ActiveBluePlayer ConnectedCableVB | ConnectedCableVB]
[horizontal ActiveBluePlayer | ConnectedCableHB] -> [horizontal ActiveBluePlayer ConnectedCableHB | ConnectedCableHB]
[ConnectedCableHB | UnconnectedBluePC] -> [ConnectedCableHB | ConnectedBluePC]
[Action NonActivePlayer ConnectedCableHB] -> [NonActivePlayer Background]
==============
WINCONDITIONS
==============
No UnconnectedBluePC
=======
LEVELS
=======
#######
#..u..#
#.....#
#..n..#
#..s..#
#.....#
#######
#######
#..u..#
#.....#
#..n..#
#.....#
#..s..#
#######
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment