LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

basic idea for Simon game

can anyone provide me the basic idea for how to develop the Simon game?

 

Thanks alot

0 Kudos
Message 1 of 11
(3,422 Views)

@keat99 wrote:

can anyone provide me the basic idea for how to develop the Simon game?

 

Thanks alot


Learn how to program in LabVIEW.

0 Kudos
Message 2 of 11
(3,391 Views)

Hi keat,

 

the basic idea for how to develop the Simon game?

before you even start to learn LabVIEW you should understand the algorithms behind this "Simon Game"

 

General comments (in case you don't get that after our two answers):

- this is a LabVIEW forum and we will be happy to help you with your LabVIEW problems

- when you have problems with your VI you should attach the VI (or a snippet)

- ask specific questions…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 11
(3,379 Views)

Hi all,just want to know which framework is better to develop the Simon game

a) state machine (event driven)

b) JKI state machine

c) QMH

0 Kudos
Message 4 of 11
(3,354 Views)

Hi keat,

 

no need to start a new thread…

 

All these options can be used.

Using an event structure to handle user interactions is a great idea…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 11
(3,352 Views)

hi all,

 

any idea on transform VI below into a state machine event driven?

LabVIEW 2017

Download All
0 Kudos
Message 6 of 11
(3,326 Views)

Hi keat,

 

any idea on transform VI below into a state machine event driven?

  • Don't use (flat) sequence structures.
  • Use a case structure inside a loop.
  • Use an event structure.

What else do you need?

 

Comments on your VIs:

- Using non-latin chars in filenames is really annoying on "standard" English Windows… (Yes, it sucks.)

- You forgot to attach typedefinitions as well.

- To keep things in place yo should put all those VIs and CTLs in a LabVIEW project. Next time just ZIP the project folder (with all stuff inside)…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 11
(3,319 Views)

@ GeraldW

 

I still need to add username login and save the score and ranking of the user and also display the timer

0 Kudos
Message 8 of 11
(3,314 Views)

attached is my current main VI 

0 Kudos
Message 9 of 11
(3,313 Views)

Hi keat,

 

I still need to add username login and save the score and ranking of the user and also display the timer

I cannot read all those labels in your VI.

But from what I see I guess you already implemented some kind of "user managment".

The "timer" should be displayed in the timeout case of your (inner) event structure.

 

Is there a reason you need to use so many local variables? And stacked sequences?

 

Btw. I'm not "Gerald" - and you used to be "keat", but now you are "wayne"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 11
(3,308 Views)