Slot Machines - Small Basic Featured Program
In LitDev's April Challenges: https://social.msdn.microsoft.com/Forums/en-US/3b975ffc-cbfd-407c-ab95-74912e57c65d/challenge-of-the-month-april-2015?forum=smallbasic
We had the...
Game Challenge
Write a slot machine game - pull the handle, spin the wheels and win win win.
Jibba Jabba submitted this beauty:
Here's my Slot Machine solution: JPT105 It uses some .au sound files so these may not run on some pc's.
You have to run it locally to get it to work! That means...
- Download Small Basic: https://social.technet.microsoft.com/wiki/contents/articles/30513.download-microsoft-small-basic.aspx
- Click Import in Small Basic
- Paste in the Import Code: JPT105
- Click Run
The highest I got up to was $35. I know. I'm no expert. What can you get up to?
Have a Small and Basic week!
- Ninja Ed
Comments
Anonymous
April 24, 2015
WOW, what fun! Thanks Jibba Jabba! Awesome job! In BASIC even!Anonymous
April 24, 2015
It pays out well. I've had a couple of Small Basic Royalies. That's when you have 3 squares matching the SB brand colours. That'll pay you $500.Anonymous
April 24, 2015
The comment has been removedAnonymous
April 24, 2015
The comment has been removedAnonymous
April 24, 2015
I love this :) But I'm not lucky 55$ max, I'll continue ! However I needed to change colors because I'm color blind and I does not distinguish between two of them.Anonymous
April 24, 2015
(translated by Google-translator) Very nice program. I am happy that I found your community. I will be very happy if I could be your friend. Evgeniy M.Anonymous
April 25, 2015
Jibba Jabba: The UI is in my opinion is as good as any professionally made game. The graphics and sound top-notch! Perhaps you could write some tutorials! How about some other games like say Video Poker. Are you a professional programmer? If not can you give us some info about yourself (only if you feel comfortable). Myself I've programmed on computers only as a hobby as far back as the C64 and Atari 400. Loved typing in programs and learning about the computer. Perhaps a project we could do is a community magazine that we can share with others to promote Small Basic. The magazine could include type in games, contests/challenges , articles about Small Basic concepts. I don't have any idea how to do this just thinking. BlainAnonymous
April 25, 2015
(translated by Google translator) Hello everyone. I want to perform my first task. I chose the task from topic "Small Basic Challenges - April 2015". Now I can not upload a picture from the Internet, as it makes Jibba Jabba in his program "Slot Machine".I can not upload an image from Google Drive and OneDrive, though I did open access to it. Any other images from any other sites have been loaded. Please tell me which site is best for storing those images that I will use in programs that will show in the community Small Basic? Thank you. Evgeniy M.Anonymous
May 08, 2015
I'm having trouble getting the images to display. Anybody else? Thanks!Anonymous
May 08, 2015
Yan, well your $55 is more than my $35! I think I lack the focus to do slots for that long!Anonymous
May 08, 2015
The comment has been removedAnonymous
May 08, 2015
Blain, I love your idea of a community magazine! In the past, for other products, we've done it with Flipbook. I'd love to learn more about your idea. Can you email me? It's edprice at Microsoft. Or add me on Skype (that's better). It's live:edwardnprice Thanks!Anonymous
May 08, 2015
Evgeniy, great question about images best practices! I'll see if Jibba Jabba and the team can weigh in on it. Could be a good Wiki article. Thanks!Anonymous
May 11, 2015
The comment has been removedAnonymous
May 11, 2015
Ed you mentioned: "I'm having trouble getting the images to display. Anybody else?" If you're talking about images for the game, they could be slow or get broken depending on your connection or the host. If so try again later. I'll be recoding this and adding it to my "coming soon" gallery. The gallery will be supported and supply Program IDs. Hopefully in the near future i'll post links to the gallery and SB folks can get the ID there. That way updates filter through to the community. Hopefully this will work.Anonymous
August 02, 2015
Thanks Jibba Jabba!Anonymous
November 14, 2015
The graphics etc can no longer be downloaded into the program ID so I've posted this game on the gallery: gallery.technet.microsoft.com/Slot-Machine-1f5bb1fcAnonymous
December 09, 2015
Jibba Jabba, why do you think the graphic can't be downloaded into the program ID? Did something change? Thanks!Anonymous
December 09, 2015
Yes. This was naïve on my part. The free webhost I was using applied some security feature that prevented acquiring anything automatically (e.g. by a Small Basic program) I reckon if you're going to remote host program assets then it's wise to do it with a registered domain name. That way if a free host makes changes you can then just move your site and re-point your domain name. I've learnt my lesson and registered a domain name, only costs like $20 pa. Can't stop me now. In the mean time I've put all my stuff on the gallery.Anonymous
December 10, 2015
Great to know. Thanks!