LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Depleting deck for Blackjack

Hello

 

I am new to this website and started training myself for LabVIEW. I am trying to create a simple Blackjack game and I am stuck trying to figure out a way to deplete an array (52 card deck) every time I click on a boolean switch. I know how to deplete an element from an array, but I don't know how to make the array update every time I take an element out of the array. Any help from you guys will be much appreciated.

0 Kudos
Message 1 of 3
(2,689 Views)

To clarify, I want the depleting array to save so I can eventually deplete the entire array for a number of boolean clicks (52 in this case). 

0 Kudos
Message 2 of 3
(2,687 Views)

You use a shift register to maintain the array between loop iterations.

 

I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

0 Kudos
Message 3 of 3
(2,683 Views)