Skip to content

Instantly share code, notes, and snippets.

@jminor
Created June 3, 2022 16:37
Show Gist options
  • Select an option

  • Save jminor/e5d9050ce561d37b6187ec53d91c6999 to your computer and use it in GitHub Desktop.

Select an option

Save jminor/e5d9050ce561d37b6187ec53d91c6999 to your computer and use it in GitHub Desktop.

Revisions

  1. jminor created this gist Jun 3, 2022.
    1 change: 1 addition & 0 deletions readme.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    Play this game by pasting the script in http://www.puzzlescript.net/editor.html
    97 changes: 97 additions & 0 deletions script.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,97 @@
    title My Game
    author My Name Here
    homepage www.puzzlescript.net

    realtime_interval 0.01

    ========
    OBJECTS
    ========

    Background
    black

    White
    white

    Wall
    grey

    Player
    red

    Player2
    orange

    Green
    green

    =======
    LEGEND
    =======

    . = Background
    # = Wall
    P = Player
    2 = Player2
    W = White
    G = Green

    =======
    SOUNDS
    =======

    ================
    COLLISIONLAYERS
    ================

    Background
    Wall
    Player, Player2, White, Green

    ======
    RULES
    ======

    random [ Player | . | . ] -> [ Green | Green | Player2 ]
    random [ Player2 | . | . ] -> [ Green | Green | Player2 ]
    random [ Player | Green | Green ] -> [ White | White | Player ]
    late [ Player2 ] -> [ Player ]

    ==============
    WINCONDITIONS
    ==============

    no Player

    =======
    LEVELS
    =======

    ###########################
    #.........................#
    #.........................#
    #.........................#
    #.........................#
    #.........................#
    #.........................#
    #.........................#
    #.........................#
    #.........................#
    #.........................#
    #.........................#
    #.........................#
    #............P............#
    #.........................#
    #.........................#
    #.........................#
    #.........................#
    #.........................#
    #.........................#
    #.........................#
    #.........................#
    #.........................#
    #.........................#
    #.........................#
    #.........................#
    ###########################