Skip to main content
In some markets, a winner has to answer a maths question correctly before they get their prize. This page helps you set the question and its answer in the Gameplay Editor. The flow is for luck games.
Lobyco provides the gameplay flow for this, with its four pages already set up. You change the question and its answer.

How the flow works

The flow has four pages, on the Flow pages tab of the Game Navigator. Edit a gameplay in the Gameplay Editor explains the Game Navigator. A winner who answers wrongly doesn’t get the prize. The gameplay turns their win into a loss, in the same way as a wrong answer in a quiz. What the type decides, and what it doesn’t explains how. The Gameplay Editor on the Flow pages tab, which lists Registration with a padlock, Intro screen and Game, then Math Question, Loss screen, Wrong answer and Win screen, the last four outlined in green. Math Question is selected. The phone preview shows a page titled Answer correctly to get the prize, with a question mark picture, the question What is 10 * 2 - (8 / 4) ?, an Answer box and a Submit button. The Game menu is on its Basic tab, beside Style, Advanced and Revisions, with Name Math Question and the page's layout settings. The four pages of the maths question flow

Set the question

  1. On the Flow pages tab, open the Math Question page.
  2. Select the text block that holds the question.
  3. On the Content tab of the Game menu, type your question in Text content.
The Gameplay Editor with the Math Question page opened out into Row, Column, Text, Image, a selected Text, Registration and Button. The phone preview shows the question What is 10 * 2 - (8 / 4) ? outlined in green, above the Answer box and Submit button. On the Content tab of the Game menu, Text content holds the question, Editor type is Default, and a list of replacement tags follows, from #prize_id# to #bulk_prize_voucher_url#. The question, in the text block’s Text content

Set the answer

The answer is set in the Registration block on the Math Question page, the block with the Answer box. It’s not the locked Registration page at the top of Flow pages.
  1. Select the Registration block.
  2. On its Settings tab, select Modify form.
The Gameplay Editor with the Registration block selected on the Math Question page, outlined in green in the phone preview around the Answer box. The Game menu is on its Settings tab, beside Style, Decryption and Advanced. Its Registration fields table has the columns Type, Name, Default, Required and Visible: an Input named Answer, required and visible, a Hidden field named Correct with the default 18, and a Hidden field named ShowWin with the default false. The Modify form button under it is outlined in green. Below are Registration settings, with Disable cookies ticked and Autosubmit registration if all information is pre-filled unticked, then Event handling and Form width and alignment. The Registration block that holds the answer
  1. In the Correct row, enter the right answer in Value / Default, such as 18. Leave Answer and ShowWin as they are.
  1. Select Save.
The Modify form dialog of the Gameplay Editor, with the heading Modify form fields and a note that the pencil button opens more settings for a field. Show deleted fields is unticked. Three rows have the columns Type, Name, Placeholder, Value / Default, Required and Visible: an Input named Answer, required and visible, with no value, a Hidden field named Correct with the value 18, outlined in green, and a Hidden field named ShowWin with the value false, outlined in green. Add field is under the rows, and Save is at the bottom. Correct holds the answer, and ShowWin stays false
When you change the question, change Correct too.

Refresh the gameplay

Go back to Gameplay design and select Refresh, so customers see your changes straight away. Design a game explains how. To check it worked, play the game in the app as a test customer until you win. Answer correctly once and wrongly once, and see the Win screen and the Wrong answer page. Test before customers play explains how to limit a game to test customers.
Last modified on November 16, 2026