# Creating Dynamic E-Learning with Random Number Variables #278

Random Number Variables in E-Learning #278: Challenge | Recap

Knowing how to use variables is essential when you need to present content based on your learners’ activity, choices, scores, and other defined conditions. And with Storyline's random number variables you have even more options for designing dynamic e-learning.

Here are just a few examples of what’s possible:

- Sales scenarios that present a new challenge each time the learner visits the course
- Red flags that show random risk events each time a slide is visited
- Customer service scenarios that randomize the number of customers, stock items, or shoplifters
- Food and beverage industry scenarios that randomize the available waitstaff, customers, or food items
- Skill and drill exercises for solving math problems

Using random number variables is just another way to design more dynamic e-learning. And that’s what this week’s challenge is all about.

## Challenge of the Week

This week, your challenge is to share an e-learning example that uses random number variables.

## Share Your E-Learning Work

**Comments**: Use the comments section below to share a link to your published example and blog post.**Forums**: Start your own**thread**and share a link to your published example..**Personal blog**: If you have a blog, please consider writing about your challenges. We’ll link back to your posts so the great work you’re sharing gets even more exposure.**Social Media**: If you share your demos on Twitter or LinkedIn, try using**#ELHChallenge**so your tweeps can track your e-learning coolness.

## Last Week’s Challenge:

Before you randomly jump into this week’s challenge, take some time to review the amazing instructional design activities your fellow community members shared over the past week:

Instructional Design Activities and Examples #277: Challenge | Recap

Wishing you a **great **week, E-Learning Heroes!

## New to the E-Learning Challenges?

The weekly e-learning challenges are ongoing opportunities to learn, share, and build your e-learning portfolios. You can jump into any or all of the previous challenges anytime you want. I’ll update the recap posts to include your demos.

## 166 Comments

That's a really tricky problem to solve, and similar to one that had me stumped for a good while on one of my builds shown above. I've covered the method I used to get around this in the 'Finding a solution' section of my linked blog post above: https://community.articulate.com/articles/dynamic-elearning-with-random-number-variables?page=1#comment-88171 Although my method won't directly solve your problem I hope it might give you some ideas. The one area I think you will need to think differently is that you'll want to continually update whether the True/False variables that I discuss are set to True or False, depending on the last number to be generated. This will prevent numbers being drawn twice in succession but will allow them to be drawn again out of succession (if that makes s... Expand

Hi all, hope every one is staying safe! Here is my entry: https://360.articulate.com/review/content/821ba887-1cd5-45bf-9775-f30db4686235/review Here's the source file: https://articulateusercontent.com/review/uploads/8yVuswNdPvpfqCnD/278-dynamic-e-learning-with-random-number-variables-2020-04-17.story About 8 or 10 years ago, I saw one of the original 8 stock characters dance. The article showed how using shapes offstage with motion paths could be used to create an infinite loop. I've used it many times since. When Articulate came out with the random number generator, I decided to see if I could apply it to a pair of dice and create random dice rolls. I applied the motion paths to the dice and got what looked like 2 dice rolling. For this challenge, I made it 1 dice (die?) and ... Expand