From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Symbol Guessing Game using LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Description

 1. Overview

This game uses an event-driven state machine to provide a fun mind game for users of all age groups based on pure mathematics.

 

2. Description

The goal of this entry is to provide a fun mind game for users of all age groups. The trick is pure mathematics!
The project is made as an event driven state machine, which provides to the user a very easy and friendly way to udnerstand the dynamic of this programming architecture.

 

3. Requirements

  • NI LabVIEW Base Development System 2012 or above.

 

4. Steps to Implement or Execute Code

  1. Download and open the project "Symbol Guessing Game LabVIEW 2012 NIVerified.lvproj"
  2. Open the VI "Main.vi"
  3. Run the VI.
  4. Follow the instructions displayed on the screen.
  5. Click Cancel after finishing the guess to stop, or click Retry to try another guess.

 

5. Additional Information or References

Symbol Guessing Game Screenshot.PNG

 

 

Symbol Guessing Game Screenshot 2.PNG

 

Symbol Guessing Game Screenshot 3.PNG

 

Symbol Guessing Game Screenshot 1.PNG

 

 

 **The code for this example has been edited to meet the new Community Example Style Guidelines.**

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Marrows98
Member
Member
on

But how does it know?

altenbach
Knight of NI Knight of NI
Knight of NI
on

>But how does it know?

 

It doesn't. Write a program to calculate all possible results and look for patterns. 😄 Good exercise!