Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66844

Programming the game "Craps" in Labview

$
0
0

I've been given two weeks on this project. Time is running short, and given that I'm not a natural with LabVIEW programming, it still hasn't been enough time for me to make significant progress. The objective is to have six dice (with indicators and a case structure), a default case, and having a master stop button. The game should start over automatically at the first role after a game finishes. There must be a numeric display logic to determine the score of the dice using the following rules: a number 1 is worth 100 points, a number 5 is worth 50 points, three of a kind is worth 100 times the face value of the dice. The player should roll six dice a total of four times and display the total score. If over 2,000 points is scored, a message should be displayed that indicates an excellent game.

 

I've provided what I have so far, and given that my dice don't work properly, you can tell just how much of a novice I am lol. Can anybody at least point me in the right direction?


Viewing all articles
Browse latest Browse all 66844

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>