Introduction 1
About This Book 2
What You Will Need 2
How to Read This Book 3
How This Book Is Organized 4
Part I: Building the Foundation 4
Part II: Basic Game Development 4
Part III: Diving Deeper 5
Part IV: The Part of Tens 5
We Even Use the Internet Thingy! 5
Icons Used in This Book 6
Where to Go from Here 6
Part I: Building the Foundation 7
Chapter 1: Playing on the Web 9
Chapter 2: Talking to the User 35
Chapter 3: Coding Like a Pro 63
Chapter 4: Random Thoughts: Building a Simple Game 95
Part II: Basic Game Development 111
Chapter 5: Introducing simpleGamejs 113
Chapter 6: Creating Game Elements 133
Chapter 7: Getting to a Game 153
Part III: Diving Deeper 179
Chapter 8: Motion and Animation 181
Chapter 9: Going Mobile 211
Chapter 10: Documenting simpleGame 247
Part IV: The Part of Tens 261
Chapter 11: Ten Great Game Asset Resources 263
Chapter 12: Ten Concepts Behind simpleGame 275
Chapter 13: Ten Game Starters 305
Index 353