Question
Can you explain how to set an id to a card and add a card to a user? Please, I can't fail this assignment. For
Can you explain how to set an id to a card and add a card to a user? Please, I can't fail this assignment.
For this assignment you must write a program that implements aBINGO management system.The management system should be able to create/delete player accounts, assign/removeBINGO cards to each player, display the layout of a card, markcards, and declare BINGOs.A BINGO card is a 5 x 5 grid with columns labeled B, I, N, G, O; each cell contains a number between 1 and 75. In traditional BINGO, the numbers for each column are restricted, column B contains only the values 1 to 15, column Is values range from 16 to 30, column Ns values range from 31 to 45, column Gs values range from 46 to 60, and column Os values range from 61 to 75. In addition to these restrictions, every cell in the gridis unique (no duplicated values). The central cell of the grid is usually considereda free cell and thus has no assigned value we can assign it the value of 0 for ease of notation.The game of BINGO consists of randomly generating numbers from 1 to 75,announcing them to the players, giving them time to mark their cards and declared BINGOs, then repeating the process. A player declares a BINGO if 5 marked cells form a row, column, or diagonal. The game assumes that those numbers are generated elsewhere and is only concerned with managing the cards and declaring BINGO.Because each card contains 24 separate elements of data in its 5x5 grid, cards will be represented by an integer that is the seed for the series of random numbers which generated the cards values. Your program shouldimplement a text-based interface capable of handling the following commands:exit exits the programload
add card
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started