Damien works with students and teacher from around the world, bringing the effective use of technology to the classroom.  

Damien is a member of the MCP (Mindstorms Community Program), a small group of experts who collaborate with LEGO to make the MINDSTORM product better.

VEX IQ Robotics
Damien is a member of the VEX IQ Super User group, a small group of experts who collaborate with VEX to make the VEX IQ platform a better product 



Teacher Resource Books

Global Map

See where the DomaBot and RileyRover is being used around the world

« Fix a broken EV3 button | Main | Simon Game - LEGO EV3 version »

Simon Game - VEX-IQ version


The game of Simon is a lot of fun for kids and adults alike.  The basic premise is this:

Device does an action (display a light, plays a sound etc.)  Player has to repeat the action (press a button corresponding to the light/sound etc).  The device then does the original action plus a new action.  Player has to repeat the sequence.  Each time the player gets the sequence right, the device adds another action onto the sequence making it harder and harder to remember.

This is my VEX-IQ version of the Simon Game.


This project uses a VEX-IQ Smart Brain and 3 Touch LED's. Given the VEX-IQ can take up to 12 input/outputs, I could theoretically do one that had 12 TouchLED's (but I think that would prove just a little too difficult).  No other hardware other than some plates and pins to prop it up.


The software is all programmed in RobotC and you can download my software here - simon.c (if you use it, please acknolowgement where appropriate and forgive any glaring errors!)

These are some of the important parts of the code


Fill the sequence array with random numbers between 0-2 to represent which TouchLED's are going to light up.


Flash the right sequence level


Check to see which TouchLED's were pressed

Check to see if the TouchLED that was pressed is the right one, if it is, then allow it to check another.

This is a nice little project for teaching arrays in the classroom.  Let me know if you use it and how you would improve on it!

EmailEmail Article to Friend

Reader Comments (1)

how u do dis

April 27, 2017 | Unregistered Commenterwilson

PostPost a New Comment

Enter your information below to add a new comment.
Author Email (optional):
Author URL (optional):
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>