Lesson 4: Interaction with Javascript

This video will likely be best viewed in fullscreen mode.  It's about 4 minutes long.  You can download the resulting file below.


In this lesson we'll set the game up so that we can switch turns; we'll have to use an if-else statement to make it happen.

Some thoughts:
  • Can you change your game to use M and W as the moves instead of X and O?
  • What else could you use an if-else statement for?

ċ
Lesson4.html
(1k)
Timothy James,
Apr 24, 2014, 1:02 PM
Comments