Play with Employees and their families. There is no limit on number of players playing together in one game. How to Play WooHoo Tambola 1.jpeg. Free internet games tambola housie housie housie game tambola in english housie tambola playing tambola new tambola games playing housie tambola new games. Winning Points 1.jpeg. Tambola, also known as Housie and Bingo, is a game of probability. Tambola by STS is a LIVE ONLINE game that you can play with your friends and family online. You can play anytime and anywhere. 'GK Tambola' is the ultimate online 'Housie' Gaming Software for all 'Housie' players and it is one of the India’s most popular Skill Based 'Housie' Game and is one of it's kind. Experience a unique gaming environment and challenge other players from all over the country. Jan 11, 2016 Dear tambola/housie readers, ur wait 4 various games of tambola is over. I am going 2 list a few 4 ur info and practice. Top line,(of 5 numbers). Download Indian Rummy Game By Octro - real advice. Indian Rummy and 3 more programs. Tambola is a game of numbers available for windows.
Latest versionReleased:
All the core logic for playing/simulating the popular game 'Housie' (also known as 'Bingo' or 'Tambola')
Project description
Provides all the core models and logic required to simulate and play the classic game 'Housie' (also known as 'Bingo' or 'Tambola').
All the code is well segregated, so should be a breeze if you want toreuse and build upon any of the components.
Also provided is a simple terminal-driven menu that let's you generate tickets and play the game,if that's all you want to do.
Core Features Provided:
- Generating Housie Tickets to play the game (Ticket format is accurate! Numbers are exactly where they are supposed to be).
- Maintaining state of the Housie board and displaying the board visually in terminal.
- Randomly picking numbers on the board, for when you're hosting a game with friends.
- Auto-marking the numbers on your tickets, for when you are following a game hosted by someone else.
Installation and Setup
- Make sure you have python 3 installed. (If not you can get it here -> https://www.python.org/downloads/)
- Then install housie using pip:
Usage (Game-play)
If you are just looking to play the game, it's pretty simple. Just open terminal and run the following command.
This will start up the game and show you the main menu.
You have a few options here like: Host a game, Generate tickets, Follow a game.Each of these is explained in the following section.
Game-play Features
This section explains each of the features present in the main menu of the game.
Host a New Game
- This mode displays the housie board on the screen and lets you randomly pick numbers.
- This mode is for when you are playing a game with friends.
- The board is constantly updated with the selected numbers.
- Before using this mode, you may want to generateand distribute tickets among your friends.
Generate Tickets
- As the name suggests, this mode allows you to generate tickets.
- You specify the names of players and the number of tickets per player, and the program generates and printsout the tickets on the screen.
- The generated tickets are also stored in
data/generated_tickets.json
in the current directory fromwhich you ran the game.
Follow a Game
This mode was built as a convenience mode for when playing games that are hosted by someone else.It auto-marks your tickets as you enter the numbers called out. (NOTE: It's not as fun to play housie this way xD butit is helpful if you're playing with multiple tickets)
Before starting this mode, you need to create a json file representing the tickets you want to use for the game.You must name your file
followed_tickets.json
. Use the sample file as areference. Create a folder nameddata
in the current directory from where you intend to run the game and place yourfile into that folder. These steps are important becausethe program expects to find thefollowed_tickets.json
file inside adata
folder in the current directory.Then start up this mode. You will see the housie board displayed along with your tickets.
Enter the numbers called out by the host and these numbers will be automatically crossed out in your tickets.
Note: This mode persists game state (i.e. even if you shut the program suddenly and start up again, you cancontinue where you left off). If you want to start a new followed game, just delete the
data/followed_board.json
file.
Using the Underlying models and modules
This section will provide some details on accessing and manipulating the underlying models and modules inorder to use them in your own projects.
There are only two core models involved:
- Board
- Ticket
Board
This model is for representing and manipulating the state of the housie board. It stores which numbers have been calledout, and which are left in the pool. It provides methods to randomly or manually pick numbers from the remaining pool,list the last 5 numbers that were picked, and also exposes a convenience method to display the board visually in theterminal.
It can be imported as shown below:
You can then create and use it as follows:
You can also initialize the board with some numbers already called out:
You can also manually select numbers on the board
Ticket
This model is for representing and manipulating the state of a housie ticket. Stores the 15 numbers that make upthe ticket, along with those numbers which have been marked/crossed out. Provides methods to mark numbers andto display the ticket visually in the terminal.
It can be imported from housie.models
as shown below:
You can create a Ticket in a couple of ways:
1.
Manually by passing in the 15 numbers row-wise to the Ticket constructor. (Although this is not recommended, asthere are very specific rules for selecting and placing the numbers in each of the rows/columns)
2
. You could rather use the generate_ticket() function to create your tickets. This function adheresto all the rules for generating tickets and creates a completely random ticket for you each time you call it.
3.
You could also use the load_tickets() function to load your tickets from a json file (provided they are in thecorrect format. For a sample file, refer here). This function returns adictionary in which the key is the name of the user and the value is the list of tickets belonging to that user.
You can cross out numbers in your tickets:
And display your ticket:
Extending and Adding new functionality
The purpose of this package is to provide the core models and logic required to play/simulate the game.Keeping this in mind, I have tried to segregate the code as per functionality and reusability.
Feel free to add upon this base layer.
Author
Release historyRelease notifications | RSS feed
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.3
0.0.2
Tambola Game Download For Pc
Download files
Tambola Game App
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size housie-0.1.4-py3-none-any.whl (20.0 kB) | File type Wheel | Python version py3 | Upload date | Hashes |
Filename, size housie-0.1.4.tar.gz (14.8 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for housie-0.1.4-py3-none-any.whl
Algorithm | Hash digest |
---|---|
SHA256 | 46b4ea371090bf6f5daddcc62c3148a5c88901554e3ca4b420fe6969b0e16dde |
MD5 | 927630dd7b5bdfb1a3fbfb88a34cf53b |
BLAKE2-256 | 6c9015937e968dbf398c9775f1acb0e32b122de44b2d5532783b484fe0458643 |
Hashes for housie-0.1.4.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | d578b9967da731c9af3002385d5ad73f80fb4c1a9bc58816cb794b9aea5ec25e |
MD5 | 323da1a6ab0cf82f85c956d7fcb3e252 |
BLAKE2-256 | 06f4a5ea3f191db37619d395cbad1505f6296a5875eae304b8a36f461fb4bdd9 |
History of Housie Game
Housie, also known as Tambola, is a lottery-style board skill game which originated in Southern Italy. A variation of the game is a popular form of raffle in the UK and elsewhere.
How To Play Tambola Game
In Italy, a tombola is a traditional board game, first played in the city of Naples in the eighteenth century. It is similar to the game of bingo. It is mostly played at Christmas time, and prizes are often only symbolic.
In the United Kingdom, a tambola is a form of raffle in which prizes are pre-assigned to winning tickets.
Typically numbered raffle tickets are used, with prizes allocated to all those ending in a particular digit (traditionally a five or a zero). Players pay for a ticket, which they then draw at random from a hat or hallow empty box, and can instantly see whether or not they have won a prize.
Housie are popular at events such as village fates and coffee mornings, when it is expected that not all the players will be present at the end of the event. In some other languages such as French, Bulgarian, Slovak or Czech, 'Tombola' is a general word meaning raffle.