Autoplay
Autocomplete
HTML5
Flash
Player
Speed
Previous Lecture
Complete and continue
Build the Game of Life Project
Build the Game of Life Project
Guide to the Project (3:44)
Getting Started
Introduction (1:30)
Prerequisites and Tools
Exercise: Play the game of life on paper
Observations about the Game of Life
Field Trip: Learn more about the game of life
The Game Plan (1:54)
Audience Question
Create the View
Introduction to Module 2 (1:53)
Code the Markup with HTML
Code the Style with CSS
Exercise: Think about the grid
Create the grid (1:45)
Overheard on the forum
Exercise: Try creating the grid
Create the grid with JavaScript (6:29)
Crash test the grid (1:31)
Interact with the Grid
Introduction to Module 3 (1:59)
How to turn on a cell (2:02)
Add a click handler (2:17)
Crash test the click handler (1:06)
Take a break: Explore the Game of Life
Handle button clicks (2:30)
Exercise: Design the Button Handlers
Implement the button click handlers (3:36)
Crash test the button click handlers (1:32)
Create the Grid Model
Introduction to Module 4 (2:01)
Design the model
Overheard on the forum
Code the grid model (4:18)
Crash test the grid model (1:51)
Exercise: Think about the grid model
The rules of the Game of Life (4:46)
Compute one generation (6:48)
Crash test the code (1:57)
Exercise: Research the setTimeout function
Take a break: Generative applications
Update the View
Introduction to Module 5 (2:04)
The game plan for the view
Update the View from the Model (3:57)
Audience question
Crash test the View code (1:50)
Exercise: Think about how to keep the game going
Plan the timer (2:26)
Code the timer (2:29)
Crash test the timer (2:45)
Finish the Game
Introduction to Module 6 (2:18)
Code the clear button (2:05)
Crash test the clear button (1:25)
We have a bug! (3:56)
Fix the bug (2:09)
Bonus: add a random button
Final design and test (2:11)
The finish line
The final code
Extras
Bonuses (1:34)
Exercise: Research the setTimeout function
Lecture content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock