Book Image

Design Innovative Robots with LEGO SPIKE Prime

By : Aaron Maurer
5 (1)
Book Image

Design Innovative Robots with LEGO SPIKE Prime

5 (1)
By: Aaron Maurer

Overview of this book

The new LEGO SPIKE Prime is one of the latest additions to the LEGO robotics line of products. This book will help you to enjoy building robots and understand how exciting robotics can be in terms of design, coding, and the expression of ideas. The book begins by taking you through a new realm of playful learning experiences designed for inventors and creators of any age. In each chapter, you'll find out how to build a creative robot, learn to bring the robot to life through code, and finally work with exercises to test what you've learned and remix the robot to suit your own unique style. Throughout the chapters, you'll build exciting new smart robots such as a handheld game, a robotic arm with a joystick, a guitar, a flying bird, a sumobot, a dragster, and a Simon Says game. By the end of this LEGO book, you'll have gained the knowledge and skills you need to build any robot that you can imagine.
Table of Contents (9 chapters)

Chapter 7: Building a Simon Says Game

Handheld games have long been a pastime favorite. Whether you grew up with basic analog games or started with the glory of digital gaming to the now ever-so-powerful phone apps, you cannot argue how fun games are to the human mind.

In this chapter, you will be building and coding a classic handheld game of Simon Says. This chapter is different from the previous chapters as the focus is less on the actual build and more space is given to the code. The goal of this chapter is to increase your coding skills so that you can go and create a favorite game of your own.

Here is a diagram of what your Simon Says game will look like by the end of this chapter:

Figure 7.1 – Simon Says handheld game

In this chapter, you will build and program in the following sections:

  • Building the handheld game
  • Coding Simon Says