To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI demonstrates the famous game-Genius.
Description
Here is a brief description of the example:
This example code shows how to program the famous game. There are two stages. The first stage is that the computer will light the different color LEDS by the certain order, and then the player can press the related LEDS according to the computer’s order in the second stage. Finally, you can get the high score.
Note: the times of lighting LEDs is increased step by step.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Very clever.
I would like to see how you would re-code it without the excessive usage of local variables.