Hack Forums
[C#] Slot Machine help - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C#] Slot Machine help (/showthread.php?tid=4965891)



Slot Machine help - Real Astra - Aug 27, 2015

I am looking for someone to code me a basic 3 wheel slot machine, I've tried to do it but I have no idea how to even start.

Thank you


* - SIM-297877 - Aug 27, 2015

(Aug 27, 2015 02:10 PM)Real Astra Wrote:  I am looking for someone to code me a basic 3 wheel slot machine, I've tried to do it but I have no idea how to even start.

Thank you

Have three text boxes, each box allows one char.

Have a random generator make a char/number for each textbox.

Compare the content of the textbox's.


* - caesay - Aug 27, 2015

Your post sounds pretty much like "I want a slot machine and I don't have the motivation or care to do any research or work myself, so plz write for me". We have a saying at Stackoverflow that goes pretty much like this:
whathaveyoutried.com

Putting that aside, I came across this fiddle a while back that was interesting and could be used to create a cool slot effect pretty easily (in html5 mind you)
jsfiddle.net/DnTX6/
You should check it out. Some of the same principles can be translated into WPF Storyboards and transitions.