Housie Tambola Game Software

Posted on  by 

Latest version

Released:

All the core logic for playing/simulating the popular game 'Housie' (also known as 'Bingo' or 'Tambola')

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. Spring Time Software (STS) is engaged in developing Games, Apps & Software. 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.

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:

Tambola Game Download For Pc

  • 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.
Software

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 named data 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 the followed_tickets.json file inside a data 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for housie, version 0.1.4
Filename, sizeFile typePython versionUpload dateHashes
Filename, size housie-0.1.4-py3-none-any.whl (20.0 kB) File type Wheel Python version py3 Upload dateHashes
Filename, size housie-0.1.4.tar.gz (14.8 kB) File type Source Python version None Upload dateHashes

Housie Tambola Game Software Downloads

Close

Housie Tambola Game Software Pdf

Hashes for housie-0.1.4-py3-none-any.whl

Hashes for housie-0.1.4-py3-none-any.whl
AlgorithmHash digest
SHA25646b4ea371090bf6f5daddcc62c3148a5c88901554e3ca4b420fe6969b0e16dde
MD5927630dd7b5bdfb1a3fbfb88a34cf53b
BLAKE2-2566c9015937e968dbf398c9775f1acb0e32b122de44b2d5532783b484fe0458643
Close

Hashes for housie-0.1.4.tar.gz

Hashes for housie-0.1.4.tar.gz
AlgorithmHash digest
SHA256d578b9967da731c9af3002385d5ad73f80fb4c1a9bc58816cb794b9aea5ec25e
MD5323da1a6ab0cf82f85c956d7fcb3e252
BLAKE2-25606f4a5ea3f191db37619d395cbad1505f6296a5875eae304b8a36f461fb4bdd9

The Company will redaw the game incase of server fault or any technical problem on server side during the draw.
Incase of redraw, no payments will be made on behalf of faulting draw.
Cancellation of tickets will not be entertained, if there is redraw in the game.

'FUNGAMETAMBOLA' is the ultimate online 'Housie' Gaming Software Developed by Fungametambola for all 'Housie' players and it is one of 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. We offer great opportunities for you to utilize your game skills and win exciting rewards in the form of money and keep multiplying them with your skills

Housie tambola game software

Fungametambola is completely legal (except in cases of Assam and Odisha) and has been designed by strictly following the set of rules stated by Indian Governing Law and Jurisdiction. At the same time it is legally registered with the appropriate registation authorities. Participation coupons for the game must be procured from the authorised escrow agents for the game. None of the employees / directors / partners of Fungametambola.com can participate in the game

Tambola Games Free

At Fungametambola, we provide the users with an excellent gaming platform to help them improve upon their gaming abilities, have a lot of fun and win exciting prize money. 'Fungametambola' is an exception online Gaming platform because of it's unconventional nature. It's not just 'Housie', IT IS SKILL BASED 'FUNGAMETAMBOLA'.

Coments are closed