/ruby_lottery

Research about threads creation in ruby

Primary LanguageRuby

Ruby Lottery

This project presents lucky numbers (Numbers that were drawn most often) for the Brazilian lottery (Megasena) and the ultimate goal is to research the creation of ruby threads and create a CLI.

Execute the script:

$ ruby lotto.rb

Commands:
  lotto load                      # Load tens
  lotto lucky                     # Show lucky numbers
  lotto random [GAMES]            # Print random tens
  lotto version                   # Print version

Ruby lottery

Disclaimer! This project is for study only, so the result is not reliable. 🤓