Skip to content

jamesshah/housie-tickets-generator

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

Housie(Tambola) Tickets Generator Using Python

About

A housie ticket consists of a random distribution of 15 unique numbers between 1-90 in a 3x9 matrix. Here is an example of a ticket.

RULE #1 - Each row cannot have more than 5 numbers

RULE #2 - Each column is assigned a range of numbers only: (ex. 1-10 can appear only in column 1)

RULE #3 - In a specific column, numbers must be arranged in ascending order from top to bottom

Requirements

Usage

  • Clone this repository.
  • Run code using python ticket-generator.py [number of tickets you want to generate]

Example

python ticket-generator.py 2

Ticket Example

About

Housie Tickets Generator Using Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages