For game creators · version 0.2.0
The Alldle SDK tells you how players actually do in your game — win rate, guesses, how hard each puzzle was — wherever they play it. And it puts your game in Alldle players' daily ritual, where finishing it counts toward their streak. Free, no account on your players' side.
One script tag with your slug — the end of your game's Alldle address, alldle.net/game/your-game-slug. It creates a ready alldle object; you only call it when a round ends.
<script src="https://www.alldle.net/sdk.js" data-game="your-game-slug"></script>
<script>
// when the player finishes a round
alldle.completeMode('classic', { won: true, attempts: 3, maxAttempts: 6 });
</script> In production, pin the version — this file never changes and is cached for a year:
<script src="https://www.alldle.net/sdk/0.2.0/sdk.js" data-game="your-game-slug"></script> Or from npm, with types:
npm i @alldle/sdk
import { Alldle } from '@alldle/sdk';
const alldle = new Alldle({ gameSlug: 'your-game-slug' });
alldle.completeMode('classic', { won: true, attempts: 3, maxAttempts: 6 }); completeMode() when a round ends, won or lost. startMode() is optional:
it measures time per round and shows how many rounds are abandoned.
// When a round starts (optional: measures time and abandoned rounds)
alldle.startMode('classic');
// When the player finishes, won or lost
alldle.completeMode('classic', {
won: true,
attempts: 3,
maxAttempts: 6,
puzzleId: '1172' // your puzzle number, if it has one
}); Only won is required; sending nothing else is a perfectly good integration.
won boolean requiredattempts number maxAttempts number puzzleId string durationMs number score number resultGrid string Results for every player, free
Win rate, guess distribution, time per round and abandoned rounds in your creator dashboard — for everyone who plays, on Alldle and on your own site, signed in or not.
How hard each puzzle was
Every puzzle against your usual win rate, so a word that was too obscure shows up the same day, not in the comments.
Your game in players’ daily ritual
A round finished inside Alldle, or on your site by a player Alldle sent, ticks your game off in their lineup and counts toward their streak. Your game page says so.
What Alldle brings you, measured
Rounds by players who came from Alldle are counted apart from your own players.
Open your game's SDK page in the creator dashboard and finish a round: it shows up under Live results within seconds, from localhost too. Add data-debug to the
script tag to see every call in the console; a slug or domain mistake is always reported there.
For your own "come back tomorrow" screen, without keeping a record of it yourself.
const status = await alldle.getDailyStatus();
if (status?.modes['classic']?.completed) {
showComeBackTomorrow();
}