- Load tiles (background) from server
- Record coordinates from click
- Load polygons from server
- Choose game
- Load game from json
- Background tiles
- Features (polygons, lines or points) with
question
andanswer
- Payout function
(x,y) => [0,1000]
- Shuffle features and draw at most
numberOfRounds
features - For each feature
- Zoom to
center
- Show
question
- Count down to zero from
guessingDuration
in seconds - On
click
1. Calculate payout and add toscore
2.Mark
guess 3. Showfeature
andanswer