Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Puzzle Cube

6 ratings | 4.17 out of 5
Print

Downloads

Filename: puzzle_cube.llb
Requirements: View

This application creates a 3x3x3 cube that has 6 distinctly colored sides. You may rotate the various sides of the cube in different ways and thus create different colored patterns on the cube. Just when you think you are done and you have created your own unique pattern, you can then try to solve the cube, and return it to its original state!

This game displays a good use of mathematical manipulations in drawing the cube and a good use for the picture control in order to display the images.
If you like this game but think you can improve upon it, please feel free to download the application, modify it, and resubmit it!

NOTE: This example uses some of the LabVIEW analysis functions for determining cube rotation. This application was designed to find the analysis library in the default LabVIEW installation so if LabVIEW is installed to a non-default location, LabVIEW may ask you to manually locate this library the first time you run the application.

Requirements


Filename: puzzle_cube.llb

Software Requirements


Application Software: LabVIEW Full Development System 6.0
Language(s): LabVIEW

 
6 ratings | 4.17 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).