Skip to content

Instantly share code, notes, and snippets.

View fb2dokuwiki.lua
local hp = require "gumbo"
local b64 = require "base64"
local banner = "_30q-"
local docBody = "_39k5"
local title = "_4lmk"
local bold = "_4yxo"
local italics = "_4yxp"
local emoji = "_47e3"
local hidden = "_7oe"
View module.lua
-- Original code
tpz = {}
tpz.testMethod = function(a, b, c)
print(a, b, c)
end
-- 'Module' helper
module = {}
module.override = function(t, name, func)
View Bison.lud
(define "ToCenter"
(and
(not (is In (to) (sites Top)))
(not (is In (to) (sites Bottom)))
)
)
(game "Bison"
(players 2)
(equipment {
View wstest.lua
local sockets = {}
local weblit = require "weblit"
local app = weblit.app
app.bind {host = "0.0.0.0", port = 8080 }
app.use(weblit.logger)
app.use(weblit.autoHeaders)
View BGSB.md

Multiplayer online board game sandbox

There are a few existing ones, with each their own characteristics. Which means of course I want to make my own.

Some design principles:

  • keep it simple but versatile
  • in browser, no install needed
  • click and drag 2D interface, compatible with mobile
  • no account needed: join rooms by URL or room code
View SILCAWL
body
skin (of man)
head
forehead
face
eye
eyebrow
eyelid
eyelash
pupil (of eye)
View enumerable.lua
local enumerator = {}
function enumerator.new(fun)
return setmetatable({},
{
__index = enumerator,
__call = fun
})
end
View Eidolist.md

The Eidolist

A Dungeon World class by Noé Falzon. CC BY-NC 4.0

The world is vast and infinite. It would take a million lifetimes to see it all. Yet some thurst for more adventure, more exotic calls. Beyond the world are other worlds. And in these worlds live strange beings, oblivious of our insignificant concerns.

Yet, once in a thousand years, an arcanist succeeds in making contact with the other planes, seeking unbelievable knowledge and strange company from the far reaches of the great unknown. Sometimes, they even bring something back with them.

Her "eidolon", she calls it. You ask me, that thing gives me the creeps. Every time it shows up, it looks different. Another arm, another mouth. The darned monster sometimes even shows up all jumbled, body parts sticking out where they shouldn't. What does it want really? Never heard it speak, but I can tell there's something wicked in its eyes.