Please enable JavaScript to use CodeHS

Video Game Design in JavaScript

Lesson 2.6 Random Numbers

Description

In this lesson, students will learn how randomization can enhance a program.


Objective

Students will be able to:

  • Explain why random numbers are a useful part of computer programs.
  • Create random values in a program.
  • Utilize the DOCS for the Randomizer class in order to learn how to generate random values.