This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
ssandiss's profile picture

Slot Machine Alpha V0.2

Started by ssandiss, 11 May 2013 - 12:09 PM
ssandiss #1
Posted 11 May 2013 - 02:09 PM
Slot Machine Alpha V0.2

This is my first program that i've publiced. It's a quite simple Slots program with some small features (More to come)

Features:

-Only works on Advanced Computers with Monitor(So far)
-Totaly random wins/lost
-Non advanced stuff ^^
-Requires 3 height and 6 wide monitor screen


ToDo List:

-Make the Win Table
-Adding how many attemps the user has
-Add animation to lever
-Make it useable for normal computers and without monitors
-PLEASE HELP ME WITH MORE!
-Post comments on what to add!







Download!
Lastest stable (Version Alpha 0.2)

pastebin get xLxD87iy slots
Version Alpha 0.1

pastebin get 6vsjTU9t slots
Please send me errors or if you find any bugs just send them to me:D
Please leave feedback! :D/>/>/>
svdragster #2
Posted 11 May 2013 - 03:38 PM
Where can I actually start it? :D/>
ssandiss #3
Posted 11 May 2013 - 03:48 PM
Just type "monitor top slots" :P/>

or whereever your monitor is ^^

Look at my feature list to see what size u need ;)/>
svdragster #4
Posted 11 May 2013 - 04:04 PM
I know, but do I have to click somewhere? Because in the code it looks like its waiting for monitor touch.
tom2018 #5
Posted 11 May 2013 - 04:05 PM
I know, but do I have to click somewhere? Because in the code it looks like its waiting for monitor touch.
Click the lever on the monitor
ssandiss #6
Posted 11 May 2013 - 04:06 PM
Yeah click on the thing to the right on the monitor which should look like the one you pull in real life ;)/>
tom2018 #7
Posted 11 May 2013 - 04:11 PM
Maybe you could add a spinning animation.
ssandiss #8
Posted 11 May 2013 - 04:48 PM
Erm, i've never used animations :P/> Could you tell me how to put it into a program? :)/>
tom2018 #9
Posted 11 May 2013 - 04:57 PM
Erm, i've never used animations :P/> Could you tell me how to put it into a program? :)/>
I am not really sure I do not use advanced computers much; maybe you could go post on ask a pro or Google it.
svdragster #10
Posted 12 May 2013 - 05:48 AM
For an animation you have to draw something on the screen, sleep() for like 0.2 seconds, clear the screen and draw again on the screen, but of course different.
0c370t #11
Posted 08 June 2013 - 03:55 PM
Help! I can't get past the "How many Attempts" screen, won't accept my input, how do I get past this?