Online scratch card: create an instant win game
Create an instant win scratch card: 450 × 450 px visuals, scratch threshold, prizes, winning and losing tests, and three practical scenarios to adapt.
On this page
The scratch card is an instant win mechanic, like the jackpot and Plinko: the participant scratches a virtual card with the mouse or a finger and instantly finds out whether they have won. You provide three visuals, set up the scratching in the Creator Studio and schedule the prizes. Running example: Douceria's "Grattez la Douceur", one card a day from December 1 to 24, 2026.
How the scratch card works
The participant goes through the Accueil (Home), Form (the registration form), Ticket à Gratter (Scratch card) and Résultat (Result) screens; Attente (Waiting) and Fin (End) appear before and after the game dates.
The blank card image covers the winning or losing image. Once the scratched area goes past the chosen threshold, the card is fully revealed as soon as the player releases the mouse or lifts their finger. It animates, a sound plays if Activer le son (Enable sound) is on, then Résultat appears 1.5 seconds later, with the prize won, if any.
Create the scratch card
Choose the mechanic
In the campaign list, click Ajouter une campagne (Add a campaign), choose Site Web (Website), then Continuer (Continue).
Choosing the mechanic - 1Ticket à Gratter (Scratch card): the mechanic's thumbnail, in the Choix Mécanique (Mechanic choice) tab. The Rechercher (Search) field filters the list.
Confirm the mechanic
The Confirmation tab presents the mechanic with a demo preview.
The Scratch card mechanic page - 1Tester la mécanique (Test the mechanic): opens a demo game in a new tab.
- 2Valider (Confirm): creates the campaign and opens its Paramétrage (Setup) page.
Set the dates and the contest rules
Rename the campaign, then set its dates and upload the contest rules in Paramètres Généraux (General settings): see launch a web campaign.
Link the prizes to instant wins
In Paramétrage (Setup), Paramètres Gameplay (Gameplay settings) section, the Position du formulaire (Form position) field is grayed out: the form always comes before the card.
- 1Tirage au sort (Prize draw): grayed out, as it is not available on its own for the scratch card.
- 2Instant gagnant (Instant win): the default choice; prizes are awarded live.
- 3Tirage au sort & Instant gagnant (Prize draw & Instant win): instant wins during the game, plus a prize draw among the participants.
- 4Activer le mail automatique en cas de gain à un Instant Gagnant (Enable the automatic email for instant win winners): off by default. Its content is written in the Mails (Emails) tab of the Creator Studio.
Click Sauvegarder (Save): the Lots Instants Gagnants (Instant win prizes) tab appears. Add your prizes there, with the times at which they go into play (instant wins guide). Douceria has scheduled:
| Prize | Quantity | Notes |
|---|---|---|
| Coffret Prestige | 3 | Lot prioritaire (Priority prize) |
| Tablette Grand Cru 70 % | 40 | |
| Chocolat chaud offert | 120 | To be enjoyed in-store |
A prize goes to the first participant who displays their card after the prize's time (award rule). If no prize is available, the card is a losing one.
Prepare the three visuals
- Blank card: the surface to scratch, with an invitation such as "Grattez ici" (Scratch here).
- Winning card and losing card: what is revealed underneath. A single winning visual is used for all prizes.
- Dimensions: 450 × 450 px recommended, JPEG or PNG, identical for all three images, otherwise the underside no longer lines up with the blank card.
- Display: the card is shown at the actual width of the blank image (450 px on a computer) and shrinks on phones.
- Scratch area: the whole image can be scratched and the percentage applies to the entire image. Transparent areas of the blank image count as already scratched.
Set up the card in the Creator Studio
Open the card screen
In the Creator Studio, Écrans (Screens) tab, click Ticket à Gratter (Scratch card) in the left-hand column. Each setting is saved automatically.
Set the entries
The Gameplay group - 1Participations (Entries): Participation unique (Single entry, the default), Participations quotidiennes (Daily entries) or Participations illimitées (Unlimited entries). Douceria offers one card a day.
- 2Ajouter un écran Déjà joué (Add an "Already played" screen): a returning participant sees this screen instead of Résultat (Result). Not available with unlimited entries.
- 3Limiter à un gain par utilisateur (Limit to one win per user): on by default. A participant can only win once over the whole game.
- 4Gagné / Perdu (Won / Lost): switches the preview between the winning and the losing outcome.
Upload the visuals and set up the scratching
Expand Tickets, then click Remplacer (Replace) under each image to upload your own.
The Tickets section - 1Activer le son (Enable sound): on by default, a winning or losing sound when the card is revealed.
- 2Pourcentage requis pour découvrir le ticket (Percentage required to reveal the card): from 10 to 100% in steps of 5 (50% by default), capped at 95% in practice. Douceria chose 40%.
- 3Image du ticket vierge (Blank card image): the surface to scratch; the information icon shows the recommended size.
- 4Image du ticket gagnant (Winning card image): the underside shown when the player wins.
- 5Image du ticket perdant (Losing card image): the underside shown when the player loses.
- 6Card: the live preview.
Write the game header
The game header - 1Couleur de fond (Background color): the banner above the card, chocolate for Douceria.
- 2Texte de l'en-tête (Header text): the call to action, replacing the default text.
- 3Police de l'en-tête (Header font): the font, size and color. Playfair Display 22, in cream, for Douceria.
- 4Header: "Grattez votre ticket et découvrez votre douceur du jour !" (Scratch your card and discover your treat of the day!).
The Background group sets the background of the game block: Couleur de fond or Image de fond (Background image, 1300 × 700 px recommended). The winning and losing texts are set on the Résultat screen, in the Instant Gagnant (Instant win) block, in Gagné mode and then Perdu mode. For the logo and the site background, see customize the design.
Test winning and losing
The Creator Studio preview never awards a prize: test on the published game, scheduling a prize at a time that has already passed to trigger a win. Douceria placed two prizes on December 1, one in the morning and one in the afternoon. In the evening, Léa Fontaine plays first and wins the Coffret Prestige, a priority prize.
- 1Header: the instruction above the card.
- 2Blank card: ready to be scratched with the mouse.
- 1Scratched area: the winning visual appears under the brush. Below the 40% threshold, the card is not revealed when the player lets go: they have to keep scratching.
- 1Instant Gagnant (Instant win): the prize won, with its image, name and description, and your message.
- 2Résultat (Result): the message shown to all participants.
Chloé Lambert then plays on her phone and scratches with her finger: she wins the second unlocked prize, a Chocolat chaud offert.
Thomas Girard plays last. No more prizes are unlocked: his card reveals the losing visual.
- 1Instant Gagnant in lost mode: the losing image and text.
- 2Résultat: the same thank-you message.
Three scenarios to adapt
Till receipt with a QR code
Print the campaign QR code on your till receipts: customers scan it and scratch on their way out. Choose Participations quotidiennes (Daily entries) and keep Limiter à un gain par utilisateur (Limit to one win per user). A Texte court (Short text) field named "Numéro du ticket de caisse" (Receipt number) keeps a record of the purchase (registration form). To find out where customers scanned, see one QR code per shop.
Mother's Day
Over one week, Douceria runs "Une douceur pour maman": powder-pink visuals, one card a day, prizes spread over the seven days. With Tirage au sort & Instant gagnant (Prize draw & Instant win), a final draw among all participants also picks the winner of a bigger prize.
Shop reopening
For the reopening of the Bordeaux – Chartrons shop, limit the game dates to the opening week, display the QR code in the shop window and choose Participation unique (Single entry). Create prizes with the Lié à un champ du formulaire (Linked to a form field) mode, with "Boutique préférée" (Favorite store) equal to "Bordeaux – Chartrons": they are reserved for that shop's customers.
Frequently asked questions
Does scratching decide the win?
No. The win is decided when the card is displayed, based on the prizes available. Scratching only reveals it: a player who leaves the page without scratching keeps their prize if they have won.
Can I show a different winning visual for each prize?
No. The card has a single winning visual and a single losing visual. The prize won is then shown on the Résultat (Result) screen, with its image and description.
What scratch percentage should I choose?
The percentage applies to the whole image: if your scratch area covers half of it, 50% means scratching all of it. Douceria chose 40% for an area covering about half of the card.
Does the card work on phones?
Yes. The player scratches with a finger and the page does not scroll while they scratch. The card shrinks to the width of the screen.
Was this guide helpful?
