The badge
The “Play on Alldle” badge links from your site to your game’s page on Alldle. Once Alldle can see it, your game becomes a community partner. The home page shows the 12 most recently verified.
It is only for live games.
Add it
Section titled “Add it”-
Open your game’s Promote page, from your game in My games.
-
Choose how it looks, and copy the snippet it makes for you. It looks like this:
<a href="https://www.alldle.net/game/your-game?ref=badge" target="_blank" rel="noopener" aria-label="Play on Alldle"><img src="https://www.alldle.net/badge.svg?g=your-game-id&variant=light&size=compact&content=text"alt="Play on Alldle" width="180" height="48" style="border:0;" /></a> -
Paste it on your game’s page and deploy.
-
Press verify on the Promote page. From an assistant, ask it to verify the badge, which runs
verify_badge.
Variants
Section titled “Variants”| Option | Choices |
|---|---|
| Colour | Light (green background, dark logo), Dark (dark background, green logo) |
| Content | “Play on Alldle” (icon and wordmark), Logo only (the square icon) |
| Size | Compact, for sidebars and footers. Large, for hero areas |
| Content | Compact | Large |
|---|---|---|
| With text | 180×48 | 260×72 |
| Logo only | 48×48 | 80×80 |
From an assistant, the variant is one of dark-compact-logo, dark-compact-text, dark-large-logo, dark-large-text, light-compact-logo, light-compact-text, light-large-logo or light-large-text.
When verification fails
Section titled “When verification fails”Alldle fetches your game’s address and looks for the badge image in the HTML, with your game’s id in it.
| Message | What to do |
|---|---|
| Badge snippet not found on the page. | Use the exact snippet, on the page at your game’s address. As with the meta tag, it has to be in the HTML your server sends, not added by a script. |
| Could not reach your site (HTTP …). | Your site answered with an error, or a bot challenge refused the check. |
| Timeout while fetching your site (8s). | Your site took too long to answer. Try again. |