How to implement a Slot-Machine
-
Hi! I'm planning to program some sort of electronic gaming machine / slot-machine (like: 5 columns with "Reels", each "Reel" shows some symbols, if you have 5 symbols in a row you hit the Jackpot). Although I think I'm already familiar with WPF's basics (how to create controls and edit their style), I have no clue how to solve this task with WPF. Are there any suggestions how I should program those "Reels"? Should I play videos or could it be solved by "animating" some icons? I have really no clue. Thanks, Mario M.
Cheers, Mario M.
Dear CodeProject member: Please don't forget to show me how clever you are by rating also this message as "crap/spam/trash" instead of writing a meaningful response!
-
Hi! I'm planning to program some sort of electronic gaming machine / slot-machine (like: 5 columns with "Reels", each "Reel" shows some symbols, if you have 5 symbols in a row you hit the Jackpot). Although I think I'm already familiar with WPF's basics (how to create controls and edit their style), I have no clue how to solve this task with WPF. Are there any suggestions how I should program those "Reels"? Should I play videos or could it be solved by "animating" some icons? I have really no clue. Thanks, Mario M.
Cheers, Mario M.
Dear CodeProject member: Please don't forget to show me how clever you are by rating also this message as "crap/spam/trash" instead of writing a meaningful response!
I dont really know WPF, but I am pretty sure it has an Animator class (something about a StoryBoard too). I am sure a Google will reveal more info :)
xacc.ide
The rule of three: "The first time you notice something that might repeat, don't generalize it. The second time the situation occurs, develop in a similar fashion -- possibly even copy/paste -- but don't generalize yet. On the third time, look to generalize the approach."