home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / l / lottery2 / !Lottery / !Help < prev    next >
Encoding:
Text File  |  1997-04-29  |  23.2 KB  |  462 lines

  1. !Help file for !Lottery (version 2.00 21st Mar 1997)
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3. Shareware ©1994-7 Paul Vigay (30 day evaluation)
  4.  
  5. This manual is also available as a StrongHelp file, called 'Manual'.
  6.  
  7. (Read the 'History' file for details of changes between versions)
  8.  
  9. Conditions of Use:
  10. ~~~~~~~~~~~~~~~~~~
  11. This application is SHAREWARE and may be copied freely subject to the
  12. following conditions being obeyed at all times.
  13.  
  14. a) Copyright and all rights remain the property of Paul Vigay (the author)
  15.  
  16. b) All files are copied in their entirety without alteration.
  17.    The only exception to this rule is the !Lottery.data.Results file which may
  18.    be distributed on it's own. This is the file in which the draw results are
  19.    stored.
  20.  
  21. c) Usage of this application is entirely at the users own risk. No
  22.    responsibility will be taken for any loss or damage, financial or otherwise
  23.    which may arise from usage of this application. (ie. if you spend all your
  24.    money buying tickets and don't win, don't blame me)
  25.  
  26. d) You register yourself by sending me a donation of £10.00. In return
  27.    you will be eligible to receive free upgrades as and when I produce them.
  28.    (in exchange for a blank, formatted disc disc and SAE.)
  29.  
  30. e) If you use this program and it wins you stacks of money, any donations
  31.    (such as RISC PC's/Land Rover Discovery's etc.) should be sent to the
  32.    author at the address below, where they will be gratefully received. :-) 
  33.  
  34. f) This application should NOT be distributed by Shareware or PD libraries
  35.    without my express written permission. This is so that I know who has
  36.    the latest version, and I know you are not charging too much for it.
  37.    
  38. Purpose
  39. ~~~~~~~
  40. To win loads of money - quite simple really!
  41. Although it's probably impossible to predict the outcome of Saturday night's
  42. ball juggling, I have won quite a few tenners using this program.
  43. This program is under constant development, so make sure you have the latest
  44. version.
  45. Now, if I could just tweak it to guess all six winning numbers instead of
  46. three......
  47.  
  48. Use
  49. ~~~
  50. Simply double-click on the !Lottery application to load the program onto the
  51. icon bar. This icon has six options on it's menu; Info,Graph,Analysis,Day,
  52. Country and Quit
  53. - These will be explained below.
  54.  
  55. To activate the program click SELECT on it's icon to open the 'main' window.
  56.  
  57. This will display a window containing a number of things:-
  58.  
  59. At the top of this (Main) window is a pale yellow status bar. This tells you
  60. what the program is currently up to. To the right of this is the date of the 
  61. current set of results. Below this are the draw results.
  62.  
  63. To the right of the seven results are left and right direction icons.
  64. Clicking SELECT on these lets you step backwards and forwards through the
  65. results database in order to view previous weeks results. The number between
  66. the two icons is the week number of the displayed set of results.
  67.  
  68. Below the results is a graph showing a cumulative plot of all previous
  69. results, indicating how many times each number has come up. The numbers on
  70. the left of the chart (Y axis) show the minimum and maximum number of times
  71. each number has come up. This chart automatically updates itself when you
  72. add new results. The average value of the current graph is shown on the top
  73. left of the graph.
  74.  
  75. The graph type can be changed by clicking MENU over the graph and moving
  76. right from the 'Graph' option. There are currently four graph options:-
  77.  
  78.     1. Break Even
  79.         This plots a chart of how many wins you would need in order
  80.         to recoup all the money you would have spent, should you
  81.         have entered the same number of times each week up to now.
  82.     2. Frequency
  83.             This displays the number of times each ball has come up.
  84.             This is the default graph type.
  85.     3. Last Occurance
  86.             This plots a graph showing how many weeks have elapsed
  87.             since each ball came up last.
  88.     4. Max weeks gap
  89.             This option is not implemented in version 1.17
  90.  
  91. If you click SELECT over the graph itself, a small icon to the top right of
  92. the graph will display the ball values whereever the mouse pointer is.
  93.  
  94. To the right of the graph are various graphical icons with which to control 
  95. the program. These are as follows (from top to bottom):-
  96.  
  97. Multiple Databases
  98. ~~~~~~~~~~~~~~~~~~
  99. Versions 1.19 and above incorporate the facility to store multiple databases,
  100. so that the results of the midweek (Wednesday) draw can also be stored. The
  101. facility is also provided to cater for foreign lotteries, namely the New
  102. Zealand one (although you'll need to provide me with precise details of the
  103. rules etc if you want me to add more support).
  104. The main menu has been ameded to contain a 'Day' and 'Country' option from 
  105. which you can select the relevant database.
  106. Once selected, !Lottery will automatically re-calculate it's graphs and
  107. statistics to use the alternative draw results.
  108.  
  109. N.B. Be careful that you have selected the correct draw database BEFORE you
  110. add any new results, as they will be added to the currently active database.
  111. The database files are stored within the "!Lottery.data.Results" directory.
  112.  
  113. Add new results
  114. ~~~~~~~~~~~~~~~
  115. Click SELECT on the top icon to the right of the graph. The date and results
  116. icons will be blanked in order for you to enter new results, as revealed on
  117. Saturday nights. If you make a mistake or decide you didn't want to add new
  118. results after all, pressing ESCAPE will cancel and return to 'Browse' mode.
  119. The date doesn't specifically have to be in any format - it's purely for
  120. your reference when viewing previous weeks results.
  121. N.B. From version 1.19 onwards the next relevant date is automatically
  122. calculated for you and entered in the icon box.
  123. As you enter new results, the 'voice of the balls' will display immediate
  124. statistics on the number entered. Now you too, can immitate the guy on the
  125. telly with the good memory!
  126.  
  127. The results are only added to the database when you press return after
  128. entering the bonus number. Until then, you can cancel adding by pressing
  129. ESCAPE. Versions 1.17 and above will also give you vital statistics on each
  130. number as you enter it.
  131.  
  132. N.B. (version 1.09+above) You can enter numbers by clicking on the relevant
  133. number in the 'playslip' window (which opens automatically when you add
  134. results).
  135.  
  136. You can edit previous weeks results (although it's unwise to, unless you made
  137. a mistake) by moving to the result you want and then clicking in the relevant
  138. icon. Make the change and keep pressing return until you get to the bonus
  139. number. Again, pressing return on the bonus number will save the changed
  140. results back in the correct position in the file.
  141.  
  142. N.B. The results are actually stored as a text file within the !Lottery
  143. application. They can be loaded into a word processor and printed out if
  144. required. However, if you decide to alter them, make sure you keep the
  145. same format. The six digit number in the second line of the file is the
  146. number of results stored. It should always be six digits long, padded with
  147. leading zeros. Likewise, each result below ten should be preceded with a
  148. leading zero.
  149.  
  150. Technical note:
  151. When you add new numbers !Lottery will automatically calculate a new
  152. statistical analysis file. The frequent combinations matches frequent
  153. combinations of x or more numbers, where x is 3 by default. As more weeks
  154. are added to the database, the number of combinations will grow quite
  155. substantially, thus !Lottery will automatically increment x if the number
  156. of frequent combinations becomes too large to manage (in excess of around
  157. 350). Should you wish to start from scratch or alter this value, you can
  158. load the file !Lottery.Resources.vars into !Zap or another decent text
  159. editor and change byte 4 in the file - which stores the number of balls
  160. to match in the frequent combinations. It is recommended to take a backup
  161. first, and allow for the fact that this is not recommended and may make
  162. !Lottery crash!
  163.  
  164. Setting the random seed
  165. ~~~~~~~~~~~~~~~~~~~~~~~
  166. Of course, with lotteries being completely random, there's no chance of
  167. predicting the numbers with any deal of accuracy (or is there???)
  168. Clicking SELECT on the second option down lets you alter the seeding given
  169. to the random number algorithm inside !Lottery. For example you could enter
  170. someones birthday, or enter a number, or just set the numbers to completely
  171. random. If you enter someones birthday, !Lottery will calculate the number
  172. of days since today and their birthday and then use that number to set the
  173. random seed inside the computer. Enter the date in the following format:-
  174.  
  175.              DD MMM YYYY     eg. 17 Jan 1995 or 01 Dec 1994
  176.                   
  177. When you press return, the 'number' icon will automatically be set to the
  178. number of days between the date you supply and todays date. Alternatively,
  179. you can enter a number directly for 'number'. In this case the date will be
  180. cleared and the number entered will be used as the seed.
  181.  
  182. - Click on 'Search' to try and find a random seed which will produce the
  183.   currently viewed draw results as a result of seven consecutive random
  184.   numbers.
  185.   This will start at the value contained in 'Number' and keep going until
  186.   either a) it reaches 2E9 or b) you get fed up and press ESCAPE to stop it.
  187.   It's extremely unlikely that this will ever find a suitable seed, but I
  188.   put this feature in 'just for the hell of it'.
  189.  
  190. Other options are getting !Lottery to favour certain ranges of numbers, such
  191. as high, low, medium etc. or to bias the prediction in favour of either
  192. numbers that have come up frequently before, or numbers that haven't been
  193. drawn before. 
  194.  
  195. On versions 1.09+, the 'Stats' bias will bias it's numbers towards those
  196. favoured in the 'Statistical Analysis' window.
  197.  
  198. On version 2.00 and above you can tell !Lottery to predict numbers within
  199. a preset range of the average weekly total for all weeks so far. Simply
  200. enter a value in the 'Average total' box and make sure the on/off option
  201. is set to 'on'. If on, each set of numbers predicted will total a value
  202. which falls within the requested percentage of the average total for each
  203. draw result to date.
  204. N.B. If when you make a prediction, the computer bleeps, it means !Lottery
  205. couldn't find any numbers within your seeding percentage and has increased
  206. the percentage automatically by 3 (maximum 99%). This may occur if you set
  207. the percentage to a small number and the bias to low or high numbers.
  208. !Lottery will make 250 loops using different numbers before it 'gives up'
  209. and just uses whatever percentage the 250th set of numbers gave.
  210.  
  211. Making a prediction
  212. ~~~~~~~~~~~~~~~~~~~
  213. Having fiddled about with setting the seed (above) or not, clicking SELECT
  214. on the third icon down will actually make a prediction of six numbers for
  215. you. If the numbers win you *mega bucks*, please don't forget who wrote the
  216. program for you....
  217. Versions 1.17 will also give a witty 'Mystic Madge' prediction each time you
  218. predict a set of numbers.
  219.  
  220. From version 1.04 onwards, each time you run the program, each set of guesses
  221. is stored automatically as a text file (!Lottery.data.guesses) inside the
  222. !Lottery application. This guesses file not only stores each set of six
  223. numbers, but also the various weighting factors and seeding values that may
  224. have been selected.
  225. If you click in one of the predicted number icons, you can add you own
  226. predictions which will also be added to this file when you press ENTER on
  227. either number 6 or the bonus number (leave blank if entering a prediction).
  228. This file can be handy to print out and use as a handy reference to check
  229. off your numbers as they are drawn. (However, versions v1.08+ allow you to
  230. import this file back into !Lottery in order to automatically check for any
  231. wins - simply drag the file into the main lottery window.
  232.  
  233. From version 1.11 onwards you can also click ADJUST on the 'predict' icon,
  234. to open a 'Block guess' window. This feature allows you to calculate a
  235. set of guesses (ideal for syndicates), which are subsequently checked 
  236. against all previous draw results to find the set of numbers that would give
  237. the maximum number of wins to date. My thinking for adding this went something
  238. like this; If you have a set of numbers that would have given, say 20 wins
  239. so far, surely they may stand a better chance of winning again than a set
  240. which hadn't given any wins so far.
  241.  
  242. To operate, enter a number (default 5) of lines you wish to predict and press
  243. RETURN. The computer will then constantly calculate a random selection of
  244. guesses (until you press ESCAPE) and automatically store the selection which
  245. gives the most wins so far. The number of loops is the number of sets of 
  246. numbers used so far. Only click SELECT on 'Accept' if you wish to enter the
  247. best selection found so far into the 'Guesses' file (explained earlier).
  248. From version 1.12 onwards, the block guess also includes a graph displaying
  249. how many wins you would need in order to 'break even' ie. win back your bets.
  250. Click SELECT over the graph to give specific values (only when not actually
  251. calculating the block guess).
  252.  
  253. Statistical Analysis:
  254. ~~~~~~~~~~~~~~~~~~~~~
  255. Clicking on the fourth icon (to the right of the graph) will display various
  256. statistics relating to previous results. This is where you may start to
  257. notice any trends developing after a few months worth of results.
  258. Clicking MENU in this window will produce a menu displaying the following
  259. options:-
  260.  
  261.        Week by week:  Displays a week by week analysis of results so far.
  262.                       - Useful for spotting trends or repeated sequences.
  263.                       N.B. Clicking anywhere in the table will display the
  264.                       relevant date.
  265.        Pattern:       As above, but scaled down to look more like a pattern.
  266.                       Clicking inside the window will display the relevant
  267.                       date and value.
  268.        Frequency:     Displays the 'Frequency analysis' window, containing
  269.                       each number, sorted in frequency order.
  270.        Statistics:    Displays a window containing various statistics such
  271.                       as frequent sets of numbers, distribution of numbers
  272.                       and various proportions of numbers.
  273.                       (If there are more than 4 sets of duplicated numbers,
  274.                       you can click on the '⇩⇩⇩' and '⇧⇧⇧' icons in order
  275.                       to go down and up the list)
  276.                       A textual file containing all of the 'Statistics'
  277.                       values is automatically created each time you load
  278.                       !Lottery. This is called 'Stats' and is saved inside 
  279.                       the !Lottery.data directory.
  280.  
  281. Printing your playslips (v1.09 onwards)
  282. ~~~~~~~~~~~~~~~~~~~~~~
  283. The bottom (printer) icon allows you to print out the actual playslips via
  284. the standard RISC OS printer driver application. Simply click SELECT on this
  285. icon and follow the on screen instructions. 
  286.        'Abort' will stop the entire print run at any point. Closing the
  287.                window also has this effect.
  288.        'Skip'  will jump to the next playslip, missing out the current one.
  289.        'OK'    will print the next playslip.
  290.  
  291. Version 1.19 and above include the ability to set the number of weeks and
  292. which draw is entered on the actual playslip. Just click on the relevant 
  293. icons at the bottom of this window.
  294.  
  295. The printer margins can be adjusted by clicking 'Adjust' on the print icon.
  296. You can enter two values for the top and left margin indents, to align the
  297. playslips within your particular printer. All values should be in millimeters.
  298. This facility is mainly to enable you to compensate for the distance between
  299. the margins in the RISC OS printer drivers and the actual edge of the paper.
  300.  
  301. N.B. Versions 1.17 and above allow you to print on the new 7 line playslips.
  302. You can toggle between 5 and 7 line playslips by clicking SELECT on the
  303. playslip in the 'printer margin' window. The actual sizes are now editable,
  304. if you know what you're doing, by editing the !Lottery.Resources.Messages
  305. file. Later versions will allow this to be set from within the program.
  306.  
  307. Printer Dimensions of Playslip (v2.00 onwards)
  308. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  309. Version 2.00 and above incorporate the ability to edit the actual dimensions
  310. of the playslip. However, you shouldn't really attempt this because every time
  311. a new version of playslip comes out I edit the program and set it up for you.
  312. The ability is there simply for advanced users to alter the dimensions of the
  313. marks on the playslip, to compensate for minor differences in printer output.
  314. Looking at the playslip with the black and white alignment marks at the top, 
  315. you should view it as below.
  316.  
  317. The "Playslip size name" can be any string of text you like, used to describe
  318. the playslip definition you are using. Up to five can be defined by opening
  319. the menu (click on icon to right of title box) and selecting one.
  320.  
  321. The "Units" simply indicate whether the measurements are in millimetres or
  322. inches.
  323.  
  324. The "No.of lines" is the number of ACTUAL entry boards on the playslip. This
  325. should be set to 7 for the latest 'combined draw' playslips.
  326.  
  327. The "Vertical gap between top of page and playslip" is an offset from the
  328. RISC OS printer drivers to compensate for various printer margins. This was
  329. previously the Y Margin in previous versions.
  330. The "Horizontal gap" is as above but previously the X margin.
  331. The horizontal width and vertical height of playslip refer to the 'actual'
  332. physical size of the playslip.
  333.  
  334. The "Right-hand distance to numbers" is the distance from the EDGE of the
  335. PAPER to the rightmost edge of the NUMBER square (ie. the edge of '5' in
  336. 'board G'.
  337.  
  338. The "Distance between board sections" is the distance between the left
  339. edge of the box for number 1 in one board entry to the left edge of the
  340. box for number 1 in the next board entry.
  341.  
  342. The "Top distance to numbers" is the distance from the top (ie the side
  343. with the black and white alignment marks on it) to the edge of the ACTUAL
  344. number boxes inside each board entry. (ie. from edge of paper to top edge
  345. of number 1 box in each board)
  346.  
  347. The "Horizontal distance between number boxes" is the distance from the
  348. edge of one number box to the same edge on the neighbouring number box
  349. in the same board entry.
  350.  
  351. The "Vertical distance between number boxes" is the distance from the edge
  352. of one number box to the same edge on the number box BELOW in the same
  353. board entry.
  354.  
  355. The "Colour" of the 'Black mark' is the colour of the mark to be printed
  356. on the paper. This should always be black.
  357.  
  358. The "Width" and "Height" of the 'Black mark' are the actual width and
  359. height respectively of the physical 'mark' printed for each number. This
  360. value is in pixels and should not really be changed from the default.
  361.  
  362.  
  363. "It could be you" end                                              "The National Lottery" end
  364.  
  365.        __________   __________   __________   __________   __________   __________   __________ 
  366. Which |£1 Board A| |£1 Board B| |£1 Board C| |£1 Board D| |£1 Board E| |£1 Board F| |£1 Board G|
  367. Draw  |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]|
  368. []    |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]|
  369. []    |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]|
  370. []    |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]|
  371. No.of |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]|
  372. Weeks |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]|
  373. [] [] |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]|
  374. [] [] |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| _
  375. [] [] |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| | Vert dist
  376. []    |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]| |[][][][][]|   between
  377.       |Lucky []  | |Lucky []  | |Lucky []  | |Lucky []  | |Lucky []  | |Lucky []  | |Lucky []  |   numbers
  378.        ----------   ----------   ----------   ----------   ----------   ----------   ----------
  379.                                                                                               |--------------|
  380.       |------------|  |-|                                                                      Distance from
  381.       Distance btwn   Horiz distance                                                           edge of numbers
  382.       entry sections  between number                                                           to edge of
  383.       (edge of one    boxes                                                                    ticket
  384.       to edge of      (edge of one to
  385.       next)           edge of next)
  386.  
  387.  
  388.                               
  389. Checking your predictions (v1.08 onwards)
  390. ~~~~~~~~~~~~~~~~~~~~~~~~~
  391. By dragging a previous 'Guesses' file into any !Lottery window (or the
  392. iconbar), you can check the entries against the results displayed in the
  393. main browser window. If you have any winning combinations, the winning
  394. entries will be displayed.
  395. If 4 or more numbers are matched *** will be displayed in red next to the
  396. display.
  397. Version 1.19 and above will also scan previous weeks to see how many wins
  398. you might have had, had you entered your guesses in previous draws.
  399.  
  400. Future Enhancements/Bugs
  401. ~~~~~~~~~~~~~~~~~~~~~~~~
  402. As far as I have tested it, there are no bugs present. If, however you find
  403. what you think is a bug, please contact me, giving details of what you were
  404. doing immediately prior to discovering the bug.
  405.  
  406. At present there is no facility to directly delete previous results.
  407. However, results may be deleted by loading the 'results' file (within
  408. !Lottery) into !Edit or !Zap and manually deleting the relevant line.
  409. Don't forget to update the results counter in the second line of the results
  410. file, making sure that it remains six digits long. You shouldn't need to 
  411. delete any results though.
  412.  
  413. As the lottery progresses, I hope to add more analytical functions in order
  414. to spot any mathematical correlations between the sets of results. Watch out
  415. for updates.
  416.  
  417. Before you write to me suggesting extra ideas and features to add to
  418. !Lottery, I would like to point out that I already have a number of
  419. ideas to add to future versions.
  420.  
  421. These are (and not in any particular order):-
  422.  
  423. * Add instruction/help/payout details text windows.
  424.  
  425. * Make the block-guess function multi-tasking. (not sure about this one, due
  426.   to speed)
  427.  
  428. * Export graphs as Sprite/Draw files.
  429.  
  430. * Add 'Syndicate' management calculator/database. (not sure how to implement
  431.   this one!)
  432.  
  433. If someone has the details, it would also be interesting to see how the
  434. results correlate against the different lottery machines/sets of balls.
  435.  
  436. My BBS (details below) also has a dedicated National Lottery area where
  437. people can discuss various aspects of the National Lottery. When logged on,
  438. just type *LOTTERY#
  439.  
  440. Of course there are probably many other options/enhancements I could make,
  441. so if you think of something you think I could add, please contact me.
  442.  
  443. Contacting the author
  444. ~~~~~~~~~~~~~~~~~~~~~
  445. !Lottery was written by Paul Vigay, who can be contacted at:
  446.  
  447.                 104 Manners Road,
  448.                 Southsea,
  449.                 Hants.,
  450.                 PO4 0BG
  451.                 England
  452.  
  453. Latest versions and help are available 24hrs a day, 7 days a week from
  454. my BBS: Dial (01705) 871531 (ANSI,8N1) and mail the sysop if in trouble.
  455. Also, check out my web page at:
  456. http://rainbow.medberry.com/enigma/shareware.html
  457.  
  458. or via Email:  pvigay@cix.compulink.co.uk
  459.                 or Arcade/World of Cryton BBS
  460.  
  461. Good luck and please enjoy :-)
  462.