Skip to content

Tilttek, open gamification tools

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.

Isometric gamification illustration: a trophy on a podium, a leaderboard, medals, a die, a game controller and a “1UP”.

The tools

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.

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

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.

Latest news

— The December 2 evening release

Four more Tilttek packages are published this evening, which makes 103, and two published packages move to a new version. The new ones bring a campaign’s journal, with secrets hidden by block and read as each player may, and reading quests counted from how far each reader really got in a book. The new versions bring schedules that resume after a restart. Like the others, they are free, at 0.1.0-alpha, and documented in English and in French. See the catalogue.

Campaigns and worlds

  • tilttek/journal — Keep a campaign's story in one journal: session summaries drafted from play, character and solo journals, secrets hidden by block, read as each player may.
  • tilttek/journal-bundle — Store a campaign's journal safely in Symfony: entries and blocks saved at a version, events dispatched, a player's entries exported and erased on request.

Hobbies

  • tilttek/reading-quests — Reward reading that really happened: quests and yearly goals counted from how far each reader got in a book, in pages or minutes, never from screen time.
  • tilttek/reading-quests-bundle — Count real reading, not screen time: each reader's place in a book kept in Symfony, pages or minutes counted once, yearly goals, export and erasure.

New versions

  • tilttek/escape-room-bundle 0.2.2-alpha — The schedule tilttek_escape_room is stateful by default: a restarted worker resumes where the last one stopped, sends the runs missed meanwhile as one, and runs under a lock when the application has one.
  • tilttek/leaderboards-bundle 0.1.4-alpha — The schedule tilttek_leaderboards is stateful by default: a restarted worker resumes where the last one stopped, sends the runs missed meanwhile as one, and runs under a lock when the application has one.

— 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.

All the news