They should be able to copy the code, and change the parts that use windows form items to their engine's UI. The ultimate goal for this is so someone could add a slot machine to their game.
(I don't know when or why you use properties instead of just a standard variable, but my book said you should use them so i did.) Half way through putting in all the stupid pay out labels, and trying to line them up i realized i should have used a table, but by then i was to far in! It is also really ugly, as I am not very creative.
I'm sure it could be optimized better, and some things are probably unneeded. i haven't scripted anything in like 4 or more years, and this is the first c# program I've completed on my own. i use windows forms so it is ugly but functional.īe nice to me. Currently this slot machine does work as a stand alone game. I figured I'd give it a go and make a script to be used in an engine that uses C# or i guess. I have made slot machines, video poker, 21, and a few others for a private Ragnarok server, and Eclipse.