https://github.com/swordedge/bingo-challenge
https://github.com/swordedge/bingo-challenge
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/swordedge/bingo-challenge
- Owner: swordEdge
- Created: 2023-11-27T10:25:53.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-27T10:34:21.000Z (over 2 years ago)
- Last Synced: 2025-03-06T06:31:16.365Z (over 1 year ago)
- Language: TypeScript
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bingo Challenge
## Overview
This program is designed to solve the Bingo Challenge, where the objective is to determine whether a given bingo card will ever get Bingo, and to identify which board to pick to guarantee a win against the giant squid.
## Solution
The solution to the challenge consists of two parts:
### Part 1 - Determining a Winning Bingo Game
The program takes an input of called numbers in order followed by a bingo card and determines whether the card will ever get Bingo. It uses a set of rules based on the bingo game to make this determination.
### Part 2 - Determining a Winning Bingo Game
In this part, the program is enhanced to handle multiple bingo boards and the order of numbers being called in advance. It analyzes the input data to identify which board to pick to guarantee a win against the giant squid.
## Running the Program
### Install dependencies
`npm install`
### Start the application
`npm start`
### Test the application with jest
`npm test`