Functions Oct. 30, 2013
Agenda
- Discussion of Functions in JS
- Build Parchment, Stone, or Blade?
- Build Cash Register
Starter Files
Parchment, Stone, or Blade? (download) (preview)
A twist on the old classic. We’ll build out a version of this game that lets a human play against a computer which chooses randomly.
Cash Register (download) (preview)
We’ll start to explore a bit more interactivity in this bare-bones cash register example.
Further Reading
Eloquent JavaScript, Chapter 3: Functions
Functions and function scope at Mozilla Developer Network