O'Reilly logo

The LEGO MINDSTORMS EV3 Discovery Book (Full Color) by Laurens Valk

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required