An Algorithmic and Social Introduction to Computer Science (CSC-105 2000S)

Class 27: Final Reflections on JavaScript

Back to Reflections on JavaScript. On to No Class.

Held Wednesday, March 8, 2000


Today, we'll investigate the way that ``real programmers'' might go about designing a game.

Question 27 for today's class: Describe a game that we might be able to write using the JavaScript we've figured out to date.

Question 29 for Monday's class: What categories of people might be to blame when a program fails, and in what way might they have contributed to the failure?




Selecting a Game

Here are some of the games that have been suggested (in alphabetical order):

Random Number Generation

One thing that seems essential to any game is the ability to choose a ``random'' number. Unfortunately, JavaScript does not include a built-in random number generator. What do we do as programmers?

What? You think I have a set of notes on ``Final Reflections on JavaScript'' prepared this far in advance of the class?


Saturday, 22 January 2000

Back to Reflections on JavaScript. On to No Class.

Disclaimer Often, these pages were created "on the fly" with little, if any, proofreading. Any or all of the information on the pages may be incorrect. Please contact me if you notice errors.

This page may be found at

Source text last modified Wed Mar 8 08:57:50 2000.

This page generated on Wed Mar 8 09:05:36 2000 by Siteweaver. Validate this page's HTML.

Contact our webmaster at