In Media Res
1: Drawing A circle
- Installation
- Creating your app
- Displaying a box
- Drawing a circle
- Setup complete
Training
2: Getting up to speed
- Components
- Handlebars
- Canvas
- Css
- Canvas context and drawing
- Let
- didInsertElement
- Functions
- import/export
- Feeling good yet?
Control
3: Input
- Steal This Code
- Bringing it in
- Mixins
- Defining keyboard shortcuts
- Hashes
- Logging
- Summary
Displacement
4: Movement
- Properties
- Updating Properties
- Moving the PAC
- Clearing the screen
- Extracting methods
- A computed property
- Summary
Barriers
5: Enclosure
- Alignment
- If statements
- Fully functional collisions
- Handlebars Binding
- Summary
The Maze Inside
6: Internal Barriers
- Drawing a wall
- Walls, arrayed before us
- Drawing all the walls
- Call the Draw
- Wall Collisions
- Summary
Clearing a Path
7: The Grid
- Seeing the grid
- Arrays of arrays
- Displaying the grid
- Calculating the level width and height
- Deep gets
- Moving through the space
- Summary
First Harvest
8: Pellets
- Drawing Pellets
- Say what you do, do what you say
- Scope Troubles
- Fat Arrows
- Share your circle
- Processing the pellets
- Summary
Gains and Losses
9: Scores and Levels
- Keeping Score
- Level Up
- New Syntax
- Summary
Smooth, Efficient
10: Animations
- Coordinating Directions
- nextCoordinate and Interpolated Strings
- Looking ahead with the Grid
- Smooth Animations
- Guarding our movement
- The Movement Loop
- Ember.run.later
- Drawing with FrameCycles
- Summary
No Stopping
11: The Game Loop
- Rollin rollin rollin
- The Intent system
- Summary
Objectifying
12: Separation of Concerns
- Defining new files
- Return of the ES2015 Modules
- Classy Systems
- Mixins
- Classes and Instances
- Summary
Loyalties
13: Separation of Concerns
- Separation: Pac Object
- Separation: SharedStuff Mixin
- Separation: pac-man Component
- Separation: Partial method extraction
- Resyncing on Restart
- Summary
Separation
14: Level Out
- The Level Object
- Restarting It All
- Making it all fit
- LessSharedStuff
- Another Level
- The Level Gains More Regulatory Power
- Summary
First Haunting
15: Ghostly
- The Ghost Itself
- True Colors
- Movement: It’s alive!
- Heat-seeking Ghosts
- Map
- Where’s the Pac?
- The (Weighted Random) Chase
- Summary
Sacrifice
16: Contact
- Multiple Ghosts
- Better Arrow Functions
- Collision Detection
- Places, Please
- Super Spread(optional)
- Level Knows Best
- Extra Lives
- Summary
Ruins
17: Moving On Down
- The Level Array
- Changing Levels
- Summary
Patrol
18: Teleport
- Finding What to Change
- Where Do We Go From Here
- Turning It On
- A Teleport-First Level
- Summary
A New Hope
19: Power
- On The Map
- Changing Colors, Ternary Operators
- Resetting the Level
- Summary
The PACs Strike Back
20: Turning the Tide
- Ghost Run
- Shorthand Operators
- More Specific Collisions
- Full Retreat
- Regroup
- Summary
The Return of the Jihadi
21: Time’s Up
- Timers
- Power Waning
- A New If
- Changing Colors
- RGB
- Mixing Colors
- Retreat, Redone
- Summary