Report what your players did, and AllDle handles the rest: the daily lineup, the cross-game streak, and a share card that links back to you. Ten lines, no account on your side, version 0.1.0.
One script tag. It exposes a global AllDle.
<script src="https://www.alldle.net/sdk.js"></script> For production, pin the version — this one never changes and is cached for a year:
<script src="https://www.alldle.net/sdk/0.1.0/sdk.js"></script> connect() waits for the AllDle frame to hand over a session. Outside an AllDle page the
calls do nothing, so this is safe to leave in your game everywhere.
const alldle = new AllDle({ gameSlug: 'your-game-slug' });
await alldle.connect();
// when the player finishes a round
await alldle.completeMode('classic', {
won: true,
attempts: 3,
maxAttempts: 6,
resultGrid: '🟩🟨⬜\n🟩🟩🟩'
}); Only won is required. Everything else is optional, and sending nothing but won is a perfectly good integration.
won boolean requiredattempts number maxAttempts number score number resultGrid string durationMs number puzzleId string Useful for showing your own "come back tomorrow" state without keeping your own record of it.
const status = await alldle.getDailyStatus();
if (status.modes.classic?.completed) {
showComeBackTomorrow();
} The SDK only does anything once your game has a page on AllDle. Listing is free and takes a URL.
List your game