Programming Abstraction in Class VI
Computer Science students recently did a deep dive into variables, and tackled problem-solving questions adapted from College Board’s AP Computer Science exam! In this activity—which occurred on pajama day—students learned how to use variables as counters to increment and decrement values, and mapped those numbers to a Circuit Playground’s LEDs so they could see their code working.
From there, they designed their own interactive games: a two-player war, hot "potato," spinner wheels, and digital dice. They used the same core building blocks (variables/loops/random values), and ended up with wildly different designs!