Skip to content

New activity: guess the next number

Relates to this discussion: https://phabricator.kde.org/T16840

I have implemented a simple example of an activity to let the user to enter the next item of two consecutive number. The activity (i.e. the JS code) is built in a fashion to let contributors to implement more activities following this scheme.

As of the user interface, I have opted for a drag & drop scheme. I can reminds the interface proposed in guess_count activity. It is intuitive for mobile/tablet users, but can be a bit annoying for desktop users.

number_guessing-1.gif

I have implemented two options:

  • to let the teacher to choose the number of tiles proposed to the user.
  • to have immediate feedback on the tile selected by the pupil

Showcases for the options:

number_guessing-2.gif

number_guessing-3.gif

I am waiting for your feedbacks. Some "minor" things still have to be done:

  • an improved level mechanism. Actually, it is random and can generate two times the same question. Also, other activities are often based on Data files. Is it preferable to do so? (would assure that every pupils of the class is doing the same questions)
  • polishing (icons, graphisms, whatever)
  • variants (in other activities/other MR, or as level option)

Merge request reports