Jump to content
rcamp48

Lotto 649 Source code to be converted to GFA Basic

Recommended Posts

Hi guys: Today I post my updated source code for my Lotto 649 Package , with data files for the purpose of rewriting into either GFA Basic or Hisoft Basic, whichever is easier and closer to Quick Basic 4.5 for the PC. This may be one heck of a job, I am attempting it now as we speak and will keep you all informed of my progress, as there are probably quite a few people that would like to see a well written program for the ST to try to figure out the lottery. If anyone rewrites this code and wins a million dollars in any Lottery with it, please send me a postcard from some remote island hahahaha. Without further adu, here is the zip file for conversion: LottoST.zip

 

Have fun with this one, I am going to my Mega ST to try and make it work now: Russ Campbell

 

  • Like 1

Share this post


Link to post
Share on other sites

I now have a semi working copy of my Lotto 649 Package written in GFA Basic, it is about 60 percent done , it needs more work. I include the GFA Basic disk with the source code on it so that anyone can take the disk into an emulator or a real Atari st, and play around with the program, no need to hunt down a version of GFA Basic it is already on the .ST file that I will upload. If you live in a different country that Canada , you can easily adapt the source code to work in your country for your lottery, it was originally written in Quick Basic 4.5 for the PC, I have just ported over to the Atari ST. My goal is to get it fully working, with graphics and mouse control as the Atari has that, an under 512 K of memory. As for an Atari STE version when my Atari STE is fixed I will full use the graphics and features of that system. Have a look at what I have done with it so far on the Atari ST (Mega ST4). If anyone has any ideas to where the program can be improved let me know, I am writing for monochrome first , then colour next. Russ Campbell

 

Lotto 649 Package Atari ST Version.zip

 

 

PS: As it is still only source code it will work in both.

Share this post


Link to post
Share on other sites

I will be working on the source code for about 6 hours this afternoon, my email and phone number is in the source code if anyone has any questions , I may be online during that timeframe. Russ

Share this post


Link to post
Share on other sites

In college I wrote a lottery prediction programs. At first I thought it is pointless, the numbers are completely random. But then I thought about it more. My state had a 3 digit and 4 digit drawing where each digit was drawn from a different ball machine. I wondered 'what if the balls aren't all exactly the same weight and some were more likely to be drawn than others?"

 

So I wrote a program (GFA as well) based on that idea. The top two most frequent numbers in each column would be used to generate picks

 

And I tested it-- but never actually with real money-- and it did perform better than chance, at least for awhile, where I guess they'd rotated the balls and different numbers became the most frequent

 

Anyway I calculated that if you followed it long term, you would come out slightly ahead. Not get-rich-quick or anything close. You would still get better results in the stock market (in a good year).

Share this post


Link to post
Share on other sites

I had a theory that random numbers can't be random numbers if they stop coming up over a period of say 2 months, and in my program I searched for the numbers from 1 to 49 that had not come up within 2 or more months , then I calculated each number to see what the average time for each occurrence of that number and based it on how many months it took between each occurrence, a lot of math programming. Anyways I am usually right but not immediately with all of the numbers that have not come up. I am enclosing my newest version which has been cleaned up considerably and colour box menus have been added, big text for main title pages etc.

 

Here is the newest file:Atari ST Lotto 649 Package Beta Version 0.998.zip

 

Share this post


Link to post
Share on other sites

supposedly there 'is no such thing' as a random number; they are pseduorandom.

 

and if one looks at all of creation as a divine plan then all is predestined or meant to be.

 

 

i wrote a GFA basic program to print random Hebrew letters to the screen

and to me it is like my own personal "Bible Code".

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...