bingoGame

  It is C++programming. The program should be solved as per the requirement list on the pdf. The image file is sample of the output how it suppose to look. Entered number should be in square box as in output image and should be able to assign, clear card, new game. vector should be used 

Thisis an individual assignment. Seeking direct help from students, tutors, and websites

Don't use plagiarized sources. Get Your Custom Essay on
bingoGame
Just from $13/Page
Order Essay

such as chegg or stack overflow will be construed as a violation of the honor code.

Semester Project 2: A BINGO Management System

Data Structures and Analysis of Algorithms, akk5

Objectives

• To strengthen student’s knowledge of C++ programming

• To give student experience reading and parsing strings of commands

• To give student experience in writing Data Structures for data types

Instructions

For this assignment you must write a program that implements a BINGO management system. The

management system should be able to create/delete player accounts, assign/remove BINGO cards to

each player, display the layout of a card, mark cards, and declare BINGO’s.

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 I’s values range from 16 to 30, column N’s values range from 31 to 45, column G’s

values range from 46 to 60, and column O’s values range from 61 to 75. In addition to these restrictions,

every cell in the grid is unique (no duplicated values). The central cell of the grid is usually considered a

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 5×5 grid, cards will be represented by an

integer that is the seed for the series of random numbers which generated the card’s values.

Your program should implement a text-based interface capable of handling the following commands:

exit – exits the program

load – parses the contents of the file as if they were entered from the command line

display user – displays a list of the user’s cards

display – displays a list of the users and their cards

display card – display the specified card.

new game – clears each card of their current markings.

mark – mark the given cell for every card being managed and check for a BINGO.

add user – add a new user to the game

This is an individual assignment. Seeking direct help from students, tutors, and websites
such as chegg or stack overflow will be construed as a violation of the honor code.

add card to – add the given card to the specified user. Report failure if the card is

duplicate.

remove user – remove the specified user.

remove card – remove the specified card.

Note: is an integer between 1 and 75.

is the integer id for the card; how this works is described below

is a single word

Guidance

Use the Tokenizer class you developed, or the one I have provided to assist in processing the commands

from the text-based interface.

There are a number of ways to generate random numbers in C++. We will be using the minstd_rand0

generator as implemented in the random library. In order to use this random number generator you

need to #include and create an instance of the generator as follows:

std::minstd_rand0 gen;

You can now generate random numbers with the generator as follow:

cout << gen()%100 << endl;

would print out a random number generated using gen between 0 and 99.

You can use:

gen.seed(x);

to set the initial seed for the random number generator to x.

Use the seeding mechanism to generate cards from the integer id described above.

This is an individual assignment. Seeking direct help from students, tutors, and websites
such as chegg or stack overflow will be construed as a violation of the honor code.

Grading Breakdown

Point Breakdown

Structure 12 pts

The program has a header comment with the

required information.

3 pts

The overall readability of the program. 3 pts

Program uses separate files for main and class

definitions

3 pts

Program includes meaningful comments 3 pts

Syntax 28 pts

Implements Class User correctly 13 pts

Implements Class Bingo correctly 1

5 pts

Behavior 60 pts

Program handles all command inputs properly

• Exit the program 5 pts

• Display a list of users and cards 5 pts

• Display a list of the user’s cards 5 pts

• Display a card specified by a given seed 5 pts

• Load a valid file 5 pts

• Clear the markings on every registered

card

5 pts

• Mark the specified cell on every card 5 pts

• Successfully declare a BINGO when it

occurs

5 pts

• Remove a given user 5 pts

• Remove a given card 5 pts

• Add a user to the game 5 pts

• Add a card to a given user 5 pts

Total Possible Points 100pts

Penalties

Program does NOT compile -100

Late up to 24 hrs -30

Late more than 24hrs -100

This is an individual assignment. Seeking direct help from students, tutors, and websites
such as chegg or stack overflow will be construed as a violation of the honor code.

Header Comment

At the top of each program, type in the following comment:

/*

Student Name:

Student NetID:

Compiler Used:

Program Description:

*/

Example:

/*

Student Name: John Smith

Student NetID: jjjs123

Compiler Used: Eclipse using MinGW

Program Description:

This program prints lots and lots of strings!!

*/

Assignment Information

Due Date: 2/21/2021

What Will You Get?

We provide professional writing services to help you score straight A’s by submitting custom written assignments that mirror your guidelines.

Premium Quality

Get result-oriented writing and never worry about grades anymore. We follow the highest quality standards to make sure that you get perfect assignments.

Experienced Writers

Our writers have experience in dealing with papers of every educational level. You can surely rely on the expertise of our qualified professionals.

On-Time Delivery

Your deadline is our threshold for success and we take it very seriously. We make sure you receive your papers before your predefined time.

24/7 Customer Support

Someone from our customer support team is always here to respond to your questions. So, hit us up if you have got any ambiguity or concern.

Complete Confidentiality

Sit back and relax while we help you out with writing your papers. We have an ultimate policy for keeping your personal and order-related details a secret.

Authentic Sources

We assure you that your document will be thoroughly checked for plagiarism and grammatical errors as we use highly authentic and licit sources.

Moneyback Guarantee

Still reluctant about placing an order? Our 100% Moneyback Guarantee backs you up on rare occasions where you aren’t satisfied with the writing.

Order Tracking

You don’t have to wait for an update for hours; you can track the progress of your order any time you want. We share the status after each step.

image

Areas of Expertise

Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.

Areas of Expertise

Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.

image

Trusted Partner of 9650+ Students for Writing

From brainstorming your paper's outline to perfecting its grammar, we perform every step carefully to make your paper worthy of A grade.

Preferred Writer

Hire your preferred writer anytime. Simply specify if you want your preferred expert to write your paper and we’ll make that happen.

Grammar Check Report

Get an elaborate and authentic grammar check report with your work to have the grammar goodness sealed in your document.

One Page Summary

You can purchase this feature if you want our writers to sum up your paper in the form of a concise and well-articulated summary.

Plagiarism Report

You don’t have to worry about plagiarism anymore. Get a plagiarism report to certify the uniqueness of your work.

Free Features $66FREE

  • Most Qualified Writer $10FREE
  • Plagiarism Scan Report $10FREE
  • Unlimited Revisions $08FREE
  • Paper Formatting $05FREE
  • Cover Page $05FREE
  • Referencing & Bibliography $10FREE
  • Dedicated User Area $08FREE
  • 24/7 Order Tracking $05FREE
  • Periodic Email Alerts $05FREE
image

Our Services

Join us for the best experience while seeking writing assistance in your college life. A good grade is all you need to boost up your academic excellence and we are all about it.

  • On-time Delivery
  • 24/7 Order Tracking
  • Access to Authentic Sources
Academic Writing

We create perfect papers according to the guidelines.

Professional Editing

We seamlessly edit out errors from your papers.

Thorough Proofreading

We thoroughly read your final draft to identify errors.

image

Delegate Your Challenging Writing Tasks to Experienced Professionals

Work with ultimate peace of mind because we ensure that your academic work is our responsibility and your grades are a top concern for us!

Check Out Our Sample Work

Dedication. Quality. Commitment. Punctuality

Categories
All samples
Essay (any type)
Essay (any type)
The Value of a Nursing Degree
Undergrad. (yrs 3-4)
Nursing
2
View this sample

It May Not Be Much, but It’s Honest Work!

Here is what we have achieved so far. These numbers are evidence that we go the extra mile to make your college journey successful.

0+

Happy Clients

0+

Words Written This Week

0+

Ongoing Orders

0%

Customer Satisfaction Rate
image

Process as Fine as Brewed Coffee

We have the most intuitive and minimalistic process so that you can easily place an order. Just follow a few steps to unlock success.

See How We Helped 9000+ Students Achieve Success

image

We Analyze Your Problem and Offer Customized Writing

We understand your guidelines first before delivering any writing service. You can discuss your writing needs and we will have them evaluated by our dedicated team.

  • Clear elicitation of your requirements.
  • Customized writing as per your needs.

We Mirror Your Guidelines to Deliver Quality Services

We write your papers in a standardized way. We complete your work in such a way that it turns out to be a perfect description of your guidelines.

  • Proactive analysis of your writing.
  • Active communication to understand requirements.
image
image

We Handle Your Writing Tasks to Ensure Excellent Grades

We promise you excellent grades and academic excellence that you always longed for. Our writers stay in touch with you via email.

  • Thorough research and analysis for every order.
  • Deliverance of reliable writing service to improve your grades.
Place an Order Start Chat Now
image

Order your essay today and save 30% with the discount code Happy