Skip to content

Instantly share code, notes, and snippets.

@sponege
Last active December 15, 2024 08:59
Show Gist options
  • Save sponege/592d54ee37ad4a4ecc3ed963a3261237 to your computer and use it in GitHub Desktop.
Save sponege/592d54ee37ad4a4ecc3ed963a3261237 to your computer and use it in GitHub Desktop.
Advent of Code 2024 Day 15 Part 1 but finished (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Advent of Code 2024 Day 15 Part 1
author sponege
homepage github.com/sponege
========
OBJECTS
========
Background
darkgrey
Wall
grey
Box
orange
00000
0...0
0...0
0...0
00000
Robot
blue white
10101
10101
11111
01110
10001
=======
LEGEND
=======
. = Background
# = Wall
@ = Robot
O = Box
Player = Robot
=======
SOUNDS
=======
Box move 33781707
================
COLLISIONLAYERS
================
Background
Robot, Box, Wall
======
RULES
======
[ > Robot | Box ] -> [ > Robot | > Box ]
[ > Box | Box ] -> [ > Box | > Box ]
==============
WINCONDITIONS
==============
=======
LEVELS
=======
##########
#..O..O.O#
#......O.#
#.OO..O.O#
#[email protected].#
#O#..O...#
#O..O..O.#
#.OO.O.OO#
#....O...#
##########
( <vv>^<v^>v>^vv^v>v<>v^v<v<^vv<<<^><<><>>v<vvv<>^v^>^<<<><<v<<<v^vv^v>^ )
( vvv<<^>^v^^><<>>><>^<<><^vv^^<>vvv<>><^^v>^>vv<>v<<<<v<^v>^<^^>>>^<v<v )
( ><>vv>v^v^<>><>>>><^^>vv>v<^^^>>v^v^<^^>v^^>v^<^v>v<>>v^v^<v>v^^<^^vv< )
( <<v<^>>^^^^>>>v^<>vvv^><v<<<>^^^vv^<vvv>^>v<^^^^v<>^>vvvv><>>v^<<^^^^^ )
( ^><^><>>><>^^<<^^v>>><^<v>^<vv>>v>>>^v><>^v><<<<v>>v<v<v>vvv>^<><<>^>< )
( ^>><>^v<><^vvv<^^<><v<<<<<><^v<<<><<<^^<v<^^^><^>>^<v^><<<^>>^v<v^v<v^ )
( >^>>^v>vv>^<<^v<>><<><<v<<v><>v<^vv<<<>^^v^>^^>>><<^v>>v^v><^^>>^<>vv^ )
( <><^^>^^^<><vvvvv^v<v<<>^v<v>v<<^><<><<><<<^^<<<^<<>><<><^^^>^^<>^>v<> )
( ^^>vv<^v^v<vv>^<><v<^v>^^^>>>^^vvv^>vvv<>>>^<^>>>>>^<<^v>^vvv<>^<><<v> )
( v^^>>><<^^<>>^v^<v^vv<>v^<<>^<^v^v><^<<<><<^<v><v<>vv>>v><v^<vv<>v^<<^ )
( There is no win condition to get to the next level, just copy and paste the below and paste it into the first level )
########
#..O.O.#
##@.O..#
#...O..#
#.#.O..#
#...O..#
#......#
########
( <^^>>>vv<v>>v<< )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment