national geographic kids CODE THIS PUZZLES GAMES CHALLENGES AND COMPUTER CODING CONCEPTS FOR THE PROBLEM-SOLVER IN YOU JENNIFER SZYMANSKI 2 5 3 NATIONAL GEOGRAPHIC WASHINGTON D C
CONTENTS Introduction 6 Thinking Logically 8 Try It Out 10 Welcome to the Coder Crew 16 CHAPTER 1 THE MYSTERIOUS CAVE 18 Algorithms 22 Optimization 26 Cryptology 32 Directions 42 Loops 46 The Challenge The Mysterious Cave 50 CHAPTER 2 deep sea SURPRISES 52 Constraints 56 Debugging 62 Binary Code 70 Binary Search 74 The Challenge deep sea Surprises 80
CHAPTER 3 SAVE THE SATELLITE 82 Trial and Error 86 Users and Events 88 Pixels 96 Decomposition 102 The Challenge Save the Satellite 108 CHAPTER 4 TRICKY TEPUI 110 Optimization 114 Making Shapes 120 Conditionals 126 The Challenge Tricky Tepui 136 Afterword 138 Solutions 140 Go Further 148 Code On 152 Glossary 154 Index 156 Credits 159 Copyright and Acknowledgments 160 I’m a hair ball hacker