housie-ticket-generator
v1.0.0
Published
A package for generating tickets for games like housie, bingo, lotto, Tambola, Tombola,, Sanchay, Jaldi 5, Bull's Eye, Satta, Keno
Downloads
17
Maintainers
Readme
Here's the updated README.md file with additional information about the supported games and the Indian version of bingo:
# Housie-ticket-generator
A package for generating tickets for Housie games, an Indian version of bingo.
## Installation
To install the Housie-ticket-generator package, use npm:
npm install housie-ticket-generator
## Usage
```javascript
const { generateTicket, generateMultipleTickets } = require('housie-ticket-generator');
// Generate a single ticket
const ticket = generateTicket();
console.log('Single Ticket:', ticket);
// Generate multiple tickets
const numTickets = 5;
const tickets = generateMultipleTickets(numTickets);
console.log('Multiple Tickets:', tickets);
Supported Games
This ticket generator can be used for the following games:
- Housie
- Tambola
- Tombola
- Lotto
- Bingo
- Sanchay
- Jaldi 5
- Bull's Eye
- Satta
- Keno
Functions
generateTicket()
Generates a single ticket for a Housie game.
Returns: Array
- A 3x9 array representing the ticket.
generateMultipleTickets(numTickets)
Generates multiple tickets for a Housie game.
numTickets
(number): The number of tickets to generate.
Returns: Array
- An array of tickets, each represented as a 3x9 array.
License
This project is licensed under the MIT License - see the LICENSE file for details.
This README now includes information about the supported games and clarifies that Housie is an Indian version of bingo. It also provides installation instructions, usage examples, and details about the functions provided by the package.