Vernier Software and Technology
Vernier Software & Technology

Shell Game


The shell game is a contest in which a person hides a small object (usually a pea) underneath one of three cups and then rapidly shuffles them about on a flat surface. The spectators must pay close attention during the shuffling process in order to try and guess the final location of the hidden object. It is typically a sleight-of-hand swindling game. The shell game dates back to ancient Greece and was originally called “thimble-rig” because it was played using sewing thimbles.

Design Requirements

In this project, your challenge is to design and build a robot that can play the shell game with you. The robot will act as the spectator, and you will hide a magnet under one of three cups. The three cups will be lined up in a row with a few inches between each cup. The robot will use a Vernier Magnetic Field Sensor to determine the location of the hidden magnet—the highest sensor reading will correspond to the location of the hidden magnet. The robot should evaluate each cup, make its determination, and give some type of feedback to the operator to let them know which cup it has chosen.

Sensors and Equipment

This experiment features the following Vernier sensors and equipment.

Additional Requirements

You will also need NXT Sensor Adapter and a LEGO MINDSTORMS EV3 robotics system.

Vernier Engineering Projects with LEGO® MINDSTORMS® Education EV3

See other experiments from the lab book.

0Introductory Project Robot Walker
1Data Display and Acidity Tester
2Plant Waterer
3Audio Assistant
4String Tension Tester
5Aquarium Monitor
6Cartesian Diver
7Sunscreen Tester
8Battery Tester
9Solar Tracker
10Magnet Detector
13Shell Game

Experiment 13 from Vernier Engineering Projects with LEGO® MINDSTORMS® Education EV3 Lab Book

<i>Vernier Engineering Projects with LEGO<sup>®</sup> MINDSTORMS<sup>®</sup> Education EV3</i> book cover

Included in the Lab Book

Vernier lab books include word-processing files of the student instructions, essential teacher information, suggested answers, sample data and graphs, and more.

Buy the Book

Dev Reference: VST0735

Go to top