Appearance
You see the same frame in Player view that a player sees on the site, for a mini game and for a safe.
Before you start
Publish the game, and turn games on for the brand, before a player can open it. Player view in the editor is the preview of that frame. Play preview there does not spend a real play.
What every game shows
The heading is the Name. Under it, the cost reads Free, the points amount plus “points”, or Granted play. Next to that, plays left reads “Plays left:” and the number, or “Plays left: no limit”. When the line shows a number, one accepted play lowers it by one, for Free, a points price and Granted play, and the count stops at zero. At zero the status line reads “No plays left.” and the play control is unavailable. “Plays left: no limit” stays as it is. Player view in the editor does not lower the count: a preview uses none of the player’s plays.
With Show chances on, a list labelled Chances shows one line per outcome: the label of its first slice, then the percent. On the sample wheel that line is “Try again: 50%” for both Try again slices together. With the switch off, the editor label reads “Chances are hidden from players”, and the player list is hidden. The frame shows the prize name. Weights, stock counts, the segment, and the bonus or store item id stay in the editor. Internal name stays on the Mini games list. The hint under that field reads “Shown in the list. Players never see it.”
The result is chosen on the server before anything moves. A line for screen readers says “The result is decided before the animation. The animation ends on that result.” The wheel, card, boxes, coin or chest moves only when the server’s answer names a slice of this game, by its id or by its place in the list. The result line then uses Win text or No-win text. {prize} is replaced with the prize name. If the slice label is not already inside that sentence, the slice label is added after it. A coin that lands on Heads and pays 10 points reads “You won 10 points! Heads” when Win text is “You won {prize}!”. When the answer names no slice of this game, nothing moves, and the result is said in words. Reduced motion skips the spin, the scratch foil and the lid travel, and shows the named result at once. If the play cannot be completed, the frame reads “Could not complete this. Try again.” A play the customer already sent is answered again with the same result.
When Rules text has words, the frame shows Rules. Opening Rules shows that text, with its line breaks. An empty Rules text hides the section.
The play control is Play button when that box has text. When it is empty, the button is Spin, Scratch, Pick, Flip or Open.
Wheel of fortune
Slices are equal. The pointer sits at the Top or the Right. The wheel spins and stops with the winning slice at the pointer when the server named that slice. The player chooses Spin.
Scratch card
Reveal One panel is one covered card. The cover’s name is “Scratch the card”. The prize text is kept off the page until the card is revealed. Scratching about half the foil reveals it. Activating the card twice with the keyboard reveals it too. Reduced motion shows the result without a foil.
Match three is a grid of nine symbols. It needs at least five slices. Checks reads “A match-three card needs at least 5 symbols.” Three matching symbols are how a win is drawn on the card. The outcome is already decided. The grid is the picture of that outcome.
Pick a box
Boxes is how many closed boxes are on screen, from 2 to 12. The hint reads “How many closed boxes the player chooses from. The pick does not change the prize.” Changing Game to Pick a box on the sample wheel fills Boxes from the number of slices, so the six-slice wheel becomes 6 boxes. You can type any whole number from 2 to 12. The boxes are labelled Box 1, Box 2, and so on. The main play button is hidden. The player chooses a box. That box opens onto the prize the server already drew. The other boxes stay closed.
Coin flip
The coin has two faces, which are the two slice labels. Changing Game to Coin flip keeps the first two slices of the current game. A coin prepared as a coin uses Heads and Tails. The player chooses Flip. The coin lands on the face the server named.
Safe
The chest starts closed. The player chooses Open. The lid lifts, and the prize face appears under the chest: the slice label. The prize name is added after it when the two are different words. When they are the same words, ignoring capitals, the slice label is shown once, so “200 points” appears once under the lid. The result line under the button is still the Win text.
When a player cannot play
The play control is unavailable, and a status line says why:
- “No plays left.”
- “Not enough points.”
- “This game is paused.”
- “Out of stock.”
- “This game has not started.”
- “This game has ended.”
- “Outside playing hours.”
A play the server refuses says why in the result line, shows that status, and leaves the play control unavailable:
- No plays left: “No plays left.” or “No plays left for now.” The status line reads “No plays left.”
- No points: “Not enough points.”
- Out of stock: “This game is out of prizes.” The status line reads “Out of stock.”
- Paused: “This game is paused.”
- Outside the playing hours: “Outside playing hours.”
- Not started: “This game has not started.”
- Ended: “This game has ended.”
One action at a time. When their last action is still finishing, the result line reads “Finishing your last action. Try again in a moment.” Trying again sends the same action. The play control stays available.
When the server also sends the time play can resume, the status line reads “No plays left. Next play from ” and that date and time, in the browser’s medium date and short time. Player view in the editor shows “No plays left.” without a next time.
Out of stock. is what a player sees when a prize set to Pause the game has run out, or when nothing left can be paid. The refused play reads “This game is out of prizes.” This game is paused. is what they see after you choose Pause.
On the Games widget, a player who is not signed in sees “Sign in to play your games.”
Tip
Theme Daylight, Midnight, Neon or Brand colours the frame. Pictures on a slice come from Choose from Files. An address the game cannot accept is refused in Checks: “Pick the image from Files (an https: or /media/ address).”