-
Notifications
You must be signed in to change notification settings - Fork 0
Title Page with Operator Selection
TimTree edited this page Oct 9, 2018
·
1 revision
So Many Numbers can now filter operators. For instance, you can play a game with:
- Addition/subtraction only
- Multiplication/division only
- Just addition
- Just multiplication
- etc.
To filter operators, add the query string ?mode=
to the end of the game URL. Then type:
-
a
for add -
s
for subtract -
m
for multiply -
d
for divide
A game with addition/subtraction would have the link:
A game with subtraction, multiplication, and division would have the link:
By default (missing/invalid query string), the game will use all four operators.
We need to add operator selectors to the game's title page. To achieve this:
- The title page should include +, -, x, and ÷ buttons.
- Optionally include preset modes like +-, x÷, and +-x÷.
- When the user selects an operator, that button color should change to something distinct.
- Based on the operators selected, the START button's link should change to the corresponding query string.
Ideally (but not necessary):
- Don't show the START button until the user selects an operator.
- Scale the font size to fit each screen using viewport units.
I look forward to seeing what you got!