Skip to content

Instantly share code, notes, and snippets.

local enumerator = {}
function enumerator.new(fun)
return setmetatable({},
{
__index = enumerator,
__call = fun
})
end
body
skin (of man)
head
forehead
face
eye
eyebrow
eyelid
eyelash
pupil (of eye)

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.

@Castux
Castux / wstest.lua
Last active October 29, 2020 08:10
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)
@Castux
Castux / Bison.lud
Last active November 9, 2020 08:59
(define "ToCenter"
(and
(not (is In (to) (sites Top)))
(not (is In (to) (sites Bottom)))
)
)
(game "Bison"
(players 2)
(equipment {
@Castux
Castux / module.lua
Last active December 14, 2020 13:11 — forked from zach2good/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)
@Castux
Castux / BGSB.md
Last active December 22, 2020 03:01

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
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"
local function parse_changes(meta_dir)
local find_cmd = string.format([[cat `find %s \( -name '*.changes' ! -name '_*' \)`]], meta_dir)
local months = {}
for line in io.popen(find_cmd):lines() do
local ts, kind = line:match "^(%d+)\t%S+\t(%w+)"
@Castux
Castux / chasers.map
Last active March 14, 2023 08:55
Chasers map
BEGIN WINTER 759 ADJUSTMENTS
COLONIES (COLONIAL) FOO GOL KOB
DARBARATE (DARBARIAN) OCH SAN SER
EMPIRE (IMPERIAL) LEP MOL OBR
FREECITIES (FREE) ARR HOL TWW
GOLIATHS (GOLIATH) ANA CLI IRO
NEWBARTIZAN (BARTIZAN) ADA NEW SNA
ORCS (ORCISH) BLA CAN DUR GAR