Chapter 17. playing games on the EV3

You’ll now create a program that combines many of the programming techniques you’ve learned throughout this book. I’ve introduced each programming technique and block previously with short example programs, but now you’ll see how to combine them in a larger, more sophisticated program.

In this chapter, you’ll create a program that lets you play an Etch-A-Sketch-like game on the EV3. You’ll create drawings on the EV3 screen using the Large Motors as input knobs, and you’ll use the Touch Sensor and Color Sensor as additional input controls (see Figure 17-1).

Playing an Etch-A-Sketch-like game on SK3TCHBOT

Figure 17-1. Playing an Etch-A-Sketch-like game on SK3TCHBOT ...

Get The LEGO MINDSTORMS EV3 Discovery Book (Full Color) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.