Skip to content

Instantly share code, notes, and snippets.

@pancelor
pancelor / readme.txt
Last active June 8, 2022 05:50
Elephant-in-a-Room (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@pancelor
pancelor / readme.txt
Last active July 3, 2021 08:05
Decimicroban (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@pancelor
pancelor / readme.txt
Created July 4, 2021 19:48
Simple Block Sliding Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@pancelor
pancelor / readme.txt
Created July 4, 2021 20:37
Simple Floor Cleaning Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@pancelor
pancelor / readme.txt
Created July 4, 2021 21:36
Simple Floor Cleaning Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@pancelor
pancelor / readme.txt
Created July 4, 2021 23:14
paint everything everywhere! (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@pancelor
pancelor / readme.txt
Created July 6, 2021 08:41
paint everything everywhere! (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@pancelor
pancelor / readme.txt
Created July 6, 2021 12:54
paint everything everywhere! (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@pancelor
pancelor / btnq.lua
Last active February 24, 2022 10:17
--
-- UPDATE 2022-02-23
-- blog post about input buffering: https://pancelor.tumblr.com/post/677053912115707904/input-buffering-in-grid-based-games
--
--
-- button queue
--
-- requires:
--[[
this is ~1400 characters and doesn't include auto-moving cards, sfx, proper card suits, etc.
(it's an earlier version of my pico1k jam entry)
It's not nearly as compressed as my <1024 character version (see https://pancelor.itch.io/free-cell-1k)
but it is similar enough that it might help you decipher the finished version.
Hopefully my comments help too.
]]
function rectwh(x,y,w,h,c) rect(x,y,x+w-1,y+h-1,c) end