Symbolic execution for the XorShift128+ algorithm.
Go to file
Douglas Goddard 5890bf23b6 Fixing some comments. 2016-11-02 15:52:56 -04:00
README Added note about Chrome's way to get doubles. Added readme content. 2016-05-17 09:10:09 -04:00
xs128p.py Fixing some comments. 2016-11-02 15:52:56 -04:00

README

For usage on the LA Time's powerball simulator. Careful about clicking the page.

Run the following snippet in your browser's console.

    _ = []; for(var i=0; i<5; ++i) { _.push(Math.random()) } ; console.log(_)

Paste at least 3 of those values into the dubs array in main().

Set the browser in main() to Chrome or Firefox. (Safari hasn't updated yet.)

    python xs128p.py

The winning numbers should have an arrow. Click once on the number inputs and tab between them to enter your "pick".

Click once on the play button.

Enjoy your lotto winnings :)