How I Created My Own Tombola Ticket in JavaScript

How I Created My Own Tombola Ticket in JavaScript

Learn How I Created My Own Tombola Ticket in JavaScript. Writing the tombola alorigthm using JavaScript.

Writing the tombola alorigthm using JavaScript.

Under the hood

During the pandemic, the gaming industry boomed a lot. After my working hours, I played a lot of games on mobile devices. We played a tombola game over a Zoom call, which was quite interesting. So the game went like this — we had physical tombola tickets and over the Zoom call, we had one organiser who organised the game, and the rest all were the players.

The only problems we faced were occasional network issues and people talking too much over the microphone. This hindered my enjoyment of the game. It was then that I got an idea of how to solve this problem. One way would be to create a tombola game on my own and make it available for users to play.

Getting Started

Today, we will start with a very basic tombola ticket. Following are the few rules while generating a new ticket each time -

  • Rule #1 — There should be 3 rows and 9 columns in a single ticket.
  • Rule #2- Every column should have a range of numbers like first column 1–10, a second column 11–20.
  • Rule #3- In a specific column, the number must be arranged in increasing order.
  • Rule #4- The number should range from 1–99 including both 1 and 99.
  • Rule #5- Each row cannot have more than 5 numbers.

programming react javascript software-development

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

How native is React Native? | React Native vs Native App Development

Article covers: How native is react native?, React Native vs (Ionic, Cordova), Similarities and difference between React Native and Native App Development.

Offshore Software Development - Best Practices

To make the most out of the benefits of offshore software development, you should understand the crucial factors that affect offshore development.

Hire Dedicated JavaScript Developers -Hire JavaScript Developers

Hire dedicated JavaScript Developers who are proficient in AngularJS, ReactJS, NodeJS, & VueJS frameworks. Get flexible hiring models as per your business requirements.

Top React JS Development Company | React JS Development Services

As a leading React.js development company, our development team has created reusable React.js components, large-scale websites, and interactive user interfaces for global clients. 4200+ Projects | 16+ Yrs Exp

Hire India's Best React JS Developers| Hire React JS Development Company

Looking to hire top dedicated Reactjs developers in India at affordable prices? Our 5+ years of average experienced Reactjs developers comprise proficiency in delivering the most complex and challenging web apps. Hire ReactJS development...