PHP libraries and Symfony bundles, under the MIT licence, that make a site more playful: dice, generators, points, badges, progression, quests, collections, exchanges and leaderboards.
The same mechanics come back on every site that wants to reward its members or run a game. Tilttek writes them once, tested and documented.
Dice
Dice notation read, checked and rolled, with verifiable and replayable rolls.
Generators
Random text and loot tables that state their dice.
Points
A points ledger with currencies, earning rules, caps and expiry, never below zero.
Badges
Badges and achievements, with tiers, hidden achievements, titles and a showcase.
Progression
Experience, levels and streaks, counted in the member's time zone.
Quests
Quests and challenges in steps, alone, in a team or for the whole community.
Collections
Collectibles with rarity, sets and packs whose odds are published.
Exchanges
Points traded for rewards, and collectibles swapped between members.
Leaderboards
Rankings by measure and period, on the member's choice only.
The tools are open, the data belongs to the sites
Every package is under the MIT licence and installs in the site itself. Tilttek hosts nothing and keeps nothing: points, badges and rankings stay in the site's own database.
A member is an opaque reference that the site supplies: Tilttek reads no name, no email and no account.
The catalogue today
✅99 packages published
9 families
Each package page is generated from the package's own README and documentation, in English and in French.
The families
The families that already have published packages; each one leads to its part of the catalogue.
Activity, points, badges, progression, quests, collections, exchanges, leaderboards, an advent calendar, seasons, sets and stickers: what rewards the members of a site.
Dice anyone can roll, their exact statistics, the game master's hidden rolls, loot tables rolled verifiably, random generators written as data, and coats of arms.
Members' pastimes, such as writing or army lists, tracked without pressure.
Latest news
— The December 1 evening release
Fifteen published Tilttek packages move to a new version this evening; the showcase still holds 99. They bring security fixes: seeds and signatures under keys derived from the secret, points written in one transaction, and vulnerable dependencies refused. See the catalogue.
New versions
tilttek/accessible-dice 0.1.6-alpha — Security fix: requires tilttek/dice-bundle 0.2.4-alpha, which refuses a twig/twig older than 3.31.1, whose sandbox checks the policy in more places.
tilttek/bingo 0.2.2-alpha — Security fix: card layouts and check codes are seeded and signed under keys that HKDF-SHA256 derives from the secret, no longer under the secret itself; a card dealt before the update is drawn again with a new layout, and its former label is refused.
tilttek/dice-tower 0.1.3-alpha — Security fix: requires tilttek/dice-bundle 0.2.4-alpha, which refuses a twig/twig older than 3.31.1, whose sandbox checks the policy in more places.
tilttek/escape-room 0.1.1-alpha — Security fix: requires tilttek/puzzle-builder 0.1.1-alpha, which refuses saved progress holding moves that could not have been played.
tilttek/leaderboards 0.2.2-alpha — Security fix: a team's dice are seeded under a key that HKDF-SHA256 derives from the secret, no longer under the secret itself; a team's luck for a period differs from the one drawn before the update.
tilttek/random-character 0.1.1-alpha — Security fix: requires tilttek/generator 0.2.4-alpha, which requires twig/twig 3.31.1 or later, whose sandbox checks the policy in more places.
tilttek/referrals 0.1.1-alpha — Security fix: requires tilttek/exchange 0.2.2-alpha, which writes the points and the journal line in one transaction and counts the allowance again once the points move.
tilttek/tavern-games 0.1.1-alpha — Security fix: requires tilttek/game-engine 0.1.1-alpha, which no longer shows the log of a finished table whose seed other tables still in play share.
tilttek/weather 0.1.5-alpha — Security fix: requires tilttek/generator 0.2.4-alpha, which requires twig/twig 3.31.1 or later, whose sandbox checks the policy in more places.
tilttek/dice-probability-bundle 0.1.3-alpha — Security fix: requires tilttek/dice-bundle 0.2.4-alpha, and the key of the computation rate limit is derived from the application's secret by HKDF-SHA256; the counts kept before the update start again from zero.
tilttek/escape-room-bundle 0.2.1-alpha — Security fix: requires tilttek/escape-room 0.1.1-alpha and tilttek/puzzle-builder 0.1.1-alpha, which refuses saved progress holding moves that could not have been played.
tilttek/exchange-bundle 0.1.3-alpha — Security fix: requires tilttek/exchange 0.2.2-alpha, which writes the points and the journal line in one transaction and counts the allowance again once the points move; the package installs beside phil/privacy-bundle 0.4.
tilttek/generator-bundle 0.2.5-alpha — Security fix: requires tilttek/generator 0.2.4-alpha, which requires twig/twig 3.31.1 or later, whose sandbox checks the policy in more places.
tilttek/leaderboards-bundle 0.1.3-alpha — Security fix: requires tilttek/leaderboards 0.2.2-alpha, which seeds a team's dice under a key HKDF derives from the secret, no longer under the secret itself.
tilttek/loot-tables-bundle 0.1.3-alpha — Security fix: requires phil/commerce-bundle 0.5.4-alpha, which bounds the body of a payment webhook it reads before the gateway verifies it.
— The November 29 evening release
Six more Tilttek packages are published this evening, which makes 99, and eight published packages move to a new version. The new ones bring character sheets and their retirement, house rules shared between tables, campaign secrets, spotlight time and presence at an online table. The new versions bring security fixes: transactions for points, locks on kudos, stickers and offers, and the seed of daily games kept until the day is over. Like the others, they are free, at 0.1.0-alpha, and documented in English and in French. See the catalogue.
At the table
tilttek/player-knowledge — Keep secrets from players whose characters never learned them: revealed to one, some or all, dated, shared in play, apart from what players know.
tilttek/spotlight — Share play time fairly at a table: a discreet count, for the game master by default, of who had the scene and since when, and who waits a turn.
tilttek/table-presence — Who is at an online table, away or on a break, counted once per person across tabs, and the table's own status, such as paused.
Characters
tilttek/character-sheet — Keep a character sheet that knows its game system: attributes within its bounds, values computed by bounded formulas, equipment, charges, campaign fields.
tilttek/character-retirement — Mourn a character who retired, died or vanished: its sheet frozen as it stood, a cause, the player's epitaph, a campaign memorial, and a way back.
Campaigns and worlds
tilttek/homebrew-hub — Share house rules between tables: versioned releases under a chosen licence, credited remixes, endorsements, and adoption showing what each release changes.
New versions
tilttek/exchange 0.2.2-alpha — A security fix: a transfer, an offer and the refund of a reservation are each written in one transaction, and two offers of one member at the same moment can no longer pass their allowance together.
tilttek/game-engine 0.1.1-alpha — A security fix: the log of a finished table is refused while its seed, shared with other tables still in play, must stay hidden.
tilttek/kudos 0.1.1-alpha — A security fix: the caps are checked and the thanks written under a lock of the giver, so that two requests at the same instant can no longer pass the daily cap together.
tilttek/mini-games 0.1.1-alpha — A security fix: the log of a daily game, whose seed every player of the day shares, is refused to every reader until the day is over.
tilttek/stickers 0.1.5-alpha — A security fix: placing a sticker counts and adds in one step, so that two placements at the same moment can no longer pass the limit of a surface or of a holder.
tilttek/collections-bundle 0.2.3-alpha — A security fix: the inventory declares the connection of its copies, so that a trade never moves the copies and the points on two connections.
tilttek/exchange-bundle 0.1.2-alpha — A security fix: points and exchanges must share one connection, a member's offers go through a lock in the database, and a transfer or a refund commits or rolls back as a whole.
tilttek/game-engine-bundle 0.2.3-alpha — A security fix: the log of a finished table answers 409 while its seed must stay hidden, so the seed of a daily game is no longer shown before the day is over.
— The November 27 evening release
Twenty-one more Tilttek packages are published this evening, which makes 93. They bring a rewards box that celebrates each achievement only once, item recipes, downtime between sessions, factions and fantasy calendars, inventories, parties and random characters, game systems with their reference tables and a search of their rules, balanced encounters, grids for game maps, initiative dealt from cards, house rules, a game catalogue, game nights, each member's game shelf, a play log, tavern games and sets in Symfony. Like the others, they are free, at 0.1.0-alpha, and documented in English and in French. See the catalogue.
Gamification core
tilttek/celebrations — Celebrate each reward a member earns exactly once: an inbox that gathers achievements from any package, groups them and honours reduced motion.
tilttek/sets-bundle — Use tilttek/sets in Symfony: stores chosen by configuration, and completions whose event was lost sent again by a command or a schedule.
At the table
tilttek/table-rules — Keep a table's house rules versioned, accepted by each player and re-accepted when they change, with what changed between versions; system-neutral.
tilttek/initiative-cards — Turn order dealt from a card deck each round: hidden combatants, defeated ones faded and skipped, players ending their own turns and naming who goes next.
tilttek/rpg-systems — Describe a role-playing game system once so every tool reads it: attributes, rolls, terms, translations, and the source and licence of every record.
tilttek/reference-tables — Look up a game system's reference tables during play, by key or by range, or roll them with their die; each table keeps its source, licence and page.
tilttek/rules-lookup — Search the rules of a game system, SRD included, in the reader's language: every result shows the source and licence it comes from.
tilttek/encounter — Prepare game encounters balanced by the difficulty rules each game system declares, then hand the combatants to any initiative tracker.
tilttek/grid — Measure, snap and align game maps exactly: square, hex and isometric grids with coordinates, distances, lines of sight and areas of effect, without floats.
Characters
tilttek/inventory — Track what characters and parties carry in play: item quantities, containers, who holds what, weight or slots by the system's rules, and a change log.
tilttek/party — Track who is in a campaign party, the purse, loot and notes they share, and which roles of their game system the party lacks or crowds.
tilttek/random-character — Roll a ready-to-play character by the creation rules a game system declares: attributes in their bounds, names and traits from tables, replayable from a seed.
tilttek/crafting — Item recipes kept as data: combine or evolve items, by code or by tag, see what is missing before crafting, and craft once per request, all or nothing.
Campaigns and worlds
tilttek/factions — Track where the party and each character stand with the factions of a campaign: named tiers, ranks, relations between factions, every change with its reason.
tilttek/downtime — Track what characters do between sessions: activities the game system declares, with their days, costs and outcomes, in a log per character.
tilttek/fantasy-calendar — Keep time in an imaginary world: its own months, weeks, leap years, moons, eras and seasons, linked calendars, ages, reminders and a date that moves on.
Finding players and game nights
tilttek/game-catalog — Keep one catalogue of board and role-playing games: open database identifiers, errata, member corrections kept apart, and collections imported by file.
tilttek/game-night — Run the game nights of a club or store: tables and seats, sign-ups with a guest and a waiting list, games picked for the players and the time, a vote.
tilttek/game-shelf — Know which games each member owns, trades and wants: copies with their statuses, a wishlist in their own order, private notes, collection import and CSV export.
tilttek/play-log — Log who played which game, when, how long, with scores and winners; players stay anonymous until they confirm, and statistics per member or group.
Games and contests
tilttek/tavern-games — Classic dice and card games for a tavern table online, turn by turn: fair dice and shuffles, each player sent only their own cards.