Housie / Tambola / Bingo Game Number Generator

Author posted by Jitendra on Posted on under category Categories Others and tagged as Tags with 22 Comments on Housie / Tambola / Bingo Game Number Generator

Online free Housie / Tambola / Bingo Game. Simple to use and play with Bingo Number descriptions

Its not education , technical or Salesforce related post. Its source code of Family fun game Tambola.

Free online Tambola Game
Free online Tambola Game

This weekend, we all friends gathered together to play one of most famous Indian game Tambola. This game is also known as Housie or Bingo.  Normally there is central pot where numbers between 1 to 90 placed in piece of paper or plastic balls. Host reveals numbers one by one by randomly selecting those balls or piece of papers from pot. Problem for us were, we all have children and there is no way they will allow us to play with this way. Instead of host picking numbers, our kids would have been played with those. So what I did is, simple HTML page with random number generator between 1 to 90. Plugged my laptop to chromecast and voila, everyone in room playing traditional game in modern way 😉

Sometimes, its hard to remember Tambola number meaning, so added those as well.

Play Tambola Game online here.

If anyone interested in Source code, below it is :

Related posts

    22 thoughts on “Housie / Tambola / Bingo Game Number Generator”

    1. Well done. Good to see that you also posted the description / aliases for the numbers or the way numbers are called in this game. It makes it very interesting. Thank you for this!

    2. Very good software. But why the numbers do not appear at the correct places. For example – no. 1 should appear in the first box, no. 2 in second box , no. 90 in last box. Also there should be vocal announcement of numbers.

    3. I also love to play bingo games with my family and sometime playing these type of games is lovable. But the number greater idea is really unique one.

    4. I was able to recreate the error that people are seeing of not all numbers getting generated. The issue is when you are impatient and click too many times, or are used to double clicking.

      There is a simple fix for that – we just disable the ‘generate number’ button as soon as we receive a click, and then re-enable it after we are done with generating the next number and the animation.

      Here is the suggested fix of the click handler of the btnGenerate button (indented the 4 additional lines of code):

      $(‘#btnGenerate’).click(function() {
      $(this).val(‘Please wait …’)
      .attr(‘disabled’,’disabled’);
      $(‘#prevNum’).text($(‘#numCounter’).text());
      random = bingo.generateNextRandom().toString();
      $(“#numCounter”).css(“display”,”none”);
      $(“#mirageElement”).css(“display”,””);
      $(‘#numCounter’).text(random);
      //$(‘td.cell’ + random).addClass(‘selected’);
      $(“#mirageElement”).numAnim({
      endAt: 90,
      duration: animDuration
      });
      setTimeout(function(){
      if(bingoNumberWords[random-1]){
      $(“#bingoWords”).text(bingoNumberWords[random-1]);
      }else{
      $(“#bingoWords”).text(“”);
      }
      $(‘td.cell’ + random).addClass(‘selected’);
      $(“#numCounter”).animate({zoom: ‘200%’}, “slow”);
      $(“#numCounter”).animate({zoom: ‘100%’}, “slow”);
      $(‘#btnGenerate’).val(‘Generate Number’)
      $(‘#btnGenerate’).removeAttr(‘disabled’);
      }, animDuration*1000);
      });

      Enjoy!

    5. Where I get tickets to play this game? I want to play this with my Colleagues online on call please help me with tickets

    6. i had try your code by pasting it in notepad with .htm format but its output is not able to run output(i.e. not able to generate numbers)

    Leave a Reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.