Appearance
Games on Pages is the mini-games list: wheels, scratch cards, boxes, coin flips, safes, and the other kinds below. Quiz, Tile Match, and surprise rewards have their own pages. The card on Widgets is a separate switch, and on Widgets that card has no Enabled switch.
The card on Snippets is Games. The heading a player reads is Mini games. The small line above it is Your games. The line under the heading is “Games available to you, with your plays and rewards.”
Before you start
On Tools, Snippets, Pages, open Games. Turn Enabled on, press Save, and place <div data-orbit-page="games"></div>. See Place a page snippet on your site.
Copy snippet copies only that div. Two attributes are optional, and you add them yourself:
data-orbit-page-gameis one game’s activity id. The page opens that game. If it is not in this player’s list, the page reads “This game is not available to you.”data-orbit-page-kindkeeps one kind. The value is the left column below. Any other value is ignored, and the heading stays Mini games.
If you set both, the game has to be of that kind or the page reads “This game is not available to you.”
Kinds
With a kind attribute, the heading and the line under it change.
| Attribute | Heading | Line under the heading |
|---|---|---|
| wheel | Wheel of fortune | Your wheels, plays left and prizes. |
| scratch | Scratch card | Your scratch cards, plays left and prizes. |
| giftbox | Pick a box | Your boxes, plays left and prizes. |
| coinflip | Coin flip | Your coin games, plays left and prizes. |
| safe | Safe | Your safes, plays left and prizes. |
| cardpack | Card pack | Your card packs, plays left and prizes. |
| chest | Chest | Your chests, plays left and prizes. |
| crystal | Crystal | Your crystals, plays left and prizes. |
| orb | Orb | Your orbs, plays left and prizes. |
A safe is included on this page even with no kind attribute. A quiz or a tile match is not.
The list
Two counts sit above the tabs: Available games, and Games in progress.
The tabs are All, Ready to play, In progress, and Played, each with a count. Ready to play is a game that has not been started, still has plays, and is playable. Played is a game this player has already finished once. In progress is one they have started.
The page shows 20 rows, then “Showing {count} of {total}.” and Show more. Show more reveals the next 20 from the list already loaded. It does not read Loading….
An empty list reads “No games to play right now.” An empty tab, when the list itself has games, reads “No games in this tab.”
Each row shows the name, the kind (Wheel of fortune, Safe, and the rest of the headings above), and a pill:
| Situation | Pill |
|---|---|
| Started | In progress |
| The game itself is not playable | The sentence for that state, below |
| Plays left is zero | No plays left |
| Otherwise | Ready to play |
The state sentences are “No plays left.”, “Not enough points.”, “This game is paused.”, “Out of stock.”, “This game has not started yet.”, “This game has ended.”, and “Outside playing hours.” The zero-plays pill has no full stop. The state sentence “No plays left.” has one.
Under the name, the row reads Price and Plays left. Price is “{n} points”, Play credit, or Free. Plays left is the number, or “Limited by your points” when the game is not counted in plays. Prize is shown when the game has one. Ends {at} uses the player’s date and time.
The button is View game, or Continue game when a play is already started.
One game
The back button reads All games. It is omitted when the div names a single game.
The game opens on the page. How it works is a disclosure. On the open game, the first paragraph is the rules text saved on that game, when it has one. Otherwise it is the kind’s own sentence:
| Kind | How it works |
|---|---|
| Wheel of fortune | Start a play and spin to reveal your result. |
| Scratch card | Start a play and scratch the card to reveal your result. |
| Pick a box | Start a play, then choose a box to reveal your result. |
| Coin flip | Start a play and flip the coin to reveal your result. |
| Safe | Start a play and open the safe to reveal your result. |
| Card pack | Start a play and open the pack to reveal your card and result. |
| Chest | Start a play and open the chest to reveal your result. |
| Crystal | Start a play and reveal the crystal to see your result. |
| Orb | Start a play and reveal the orb to see your result. |
On the list, with a kind chosen, that first paragraph is the kind’s sentence from the table. With no kind chosen, it is “Open a game to see its rules, then play.” Rules text on a game is used only after the player opens it. On the list and on the open game, two lines follow that first paragraph: “Check the price and plays left before you start.” and “After a play, check your result and any reward's status.”
Signed out, or off
Signed out, the page reads “Sign in to see your games and plays left.”
Enabled off reads “This widget is not enabled.” The same sentence is used when games are switched off. A failed read reads “Could not load this section. Please try again.” and Try again.