Skip to main content
Participant
June 5, 2017
Answered

Random number Captivate 2017

  • June 5, 2017
  • 2 replies
  • 991 views

Hello,

 I am preparing some exercises based on sequences of numbers, scope of each exercise is to understand the missing value in a shown sequence:

f.i.:   5   10    20     ---     80  (missing 40; multiply previous time 2)

 If I can have use of variables, based on a random number generation, I can have "infinite" number of examples to show.

How can it be implemented in Captivate 2017?

Do you have any tutorial on random generated variables?

 

Thank you

Best regards.

    This topic has been closed for replies.
    Correct answer Lilybiri

    I don't know if this is what you are looking for. On my blog I have a couple of articles about use cases with random numbers:

    Playing with Numbers - part 1 - Captivate blog

    Playing with Numbers - part 2 - Captivate blog

    Playing a dice game, using While loop - Captivate blog

    First two posts were created with CP9, but AFAIK the API for JS has not changed in CP2017. A full explanation of the used JS functions is in those first 2 posts.

    2 replies

    Participant
    June 8, 2017

    Dear Lieve, thank you for your prompt and really usefull answer.

    Lilybiri
    Legend
    June 8, 2017

    You're welcome!

    Lilybiri
    LilybiriCorrect answer
    Legend
    June 5, 2017

    I don't know if this is what you are looking for. On my blog I have a couple of articles about use cases with random numbers:

    Playing with Numbers - part 1 - Captivate blog

    Playing with Numbers - part 2 - Captivate blog

    Playing a dice game, using While loop - Captivate blog

    First two posts were created with CP9, but AFAIK the API for JS has not changed in CP2017. A full explanation of the used JS functions is in those first 2 posts.