(Secure) Ruby Quiz - Code Challenge #3 - Powerball Mega Millions Grand Prize - Create a Power Play Contract for America's Most Popular Lottery

Hello,

  It's Friday. (Secure) Ruby Quiz Time!

  Let's use America's most popular lottery - Powerball Mega Millions -
and make it provable fair by - surprise, surprise -
putting the machinery on the blockchain with a contract script in
(secure) ruby, of course [1].

  First let's warm-up with the simplest possible lottery
from the book "Building Games with Ethereum Smart Contracts"
by Kedar Iyer and Chris Dannen.

  Join us. Question or comments welcome.
Note, the ruby-talk mailing list right here is the "official" sruby channel.

  Cheers. Prost. Happy coding and (crypto) blockchain contract
scripting with sruby.

[1] https://github.com/s6ruby/quiz/tree/master/003

Hello,
   FYI: I've folded the (Secure) Ruby Quiz back into the "regular"
Ruby Quiz [1]. After all the secure ruby is just ruby :-).

    Thus, the (Secure) Ruby Quiz - Code Challenge #3 - Powerball Mega
Millions Grand Prize - Create a Power Play Contract for America's Most
Popular Lottery

    has become

  Challenge #14 - Powerball Mega Millions Grand Prize - Create a Power
Play Contract for America's Most Popular Lottery [2]

   Please update any old (secure) ruby quiz links (I know I'm really
just talking to myself, anyways). Happy coding with (secure) ruby.
Cheers. Prost.

PS: Why not make history and be the very first person to post a
(secure) ruby script (apart from my humble self)?

[1] https://github.com/planetruby/quiz
[2] https://github.com/planetruby/quiz/tree/master/014