Question: Hello, this is for programming with the java language. (Below is my assignment package, please read carefully and at it also give sample output, that

Hello, this is for programming with the java language. (Below is my assignment package, please read carefully and at it also give sample output, that is our goal) I am to make a bingo card game... I have already made a method to fill up a bingo card as my assignment instructed me and i posted pictures off it at the bottom. Now all I need to do is a few things.
1st I need to make a BitSet called bingoBalls that generates random number between 1 and 75. We are to youse BitSet because it apparently wont generate a number thats already been generated... at least thats what the professor said... and I need it to print to the screen when method is called in main...
2nd I need to compare my bingoBalls to my bingo card so that when a number matches it is replaced with an X on my bingo card... I have no idea how to do that... my professor said to use StringBuffer thingy to do it... idk I posted a picture of it at the bottom along with the BitSet as well
3rd I need to checkforWin method that checks the horizontal sum, vertical sum, and diagonal sums and once one is found I need it to say WINNER by... and the ... is the type of win, like a vertical win.
lastly I just need to print the bingo card again but with Xs in place of the numbers that have been selected by the bingoBalls method.
Please use comments when you can.
Pleas stick to the assignment, I posted this once and it was ruined because they went crazy with it. Please just stick with my one program and just add the methods. No constructor class please, I beg of you to follow the assignment.
Thank you soooooo very much for your help, I am stressing like crazy and I couldnt thank you enough.
Assignment package from professor
 Hello, this is for programming with the java language. (Below is
my assignment package, please read carefully and at it also give sample
output, that is our goal) I am to make a bingo card
I need my program to do exactly as the sample run given below... thats the goal
game... I have already made a method to fill up a bingo
BitSet example
card as my assignment instructed me and i posted pictures off it
StringBuffer example
at the bottom. Now all I need to do is a few
My program of just filling up a bingo card
things. 1st I need to make a BitSet called bingoBalls that generates
random number between 1 and 75. We are to youse BitSet because
it apparently wont generate a number thats already been generated... at least
Example run
thats what the professor said... and I need it to print to

Computer Science 205 Project #1 The BINGO! Game Due Date : Friday, September 21st, 11:59 PM 50 Points Objective The purpose of this assignment is to acquaint ourselves with processing multi-dimensional ar- rays. This program will utilize loops, external file i/o, random numbers, and methods with array parameters The Game of BINGO! Bingo is a popular game played on a 5 row by 5 column grid, called a card. There is one letter of the word B-I-N-G-O at the top of each column. In each space under each letter are randomly . under B, 1-15 under I, 16-30 under N, 31-45 . under G, 46-60 under O, 61-75. As numbers are selected, they are marked off the card. When a line of five squares, horizontal, vertical, or diagonal, is marked out, the card is a winner. A sample bingo card is shown below 12 28 31 49 66 3 | 26 | 45 | 53 | 75 10 17 33 59 67 7 19 42 55 74 46 If the numbers 3, 45, 53, 75, and 26 are picked at random, then there will be a horizontal bingo on the second row. Diagonal wins may be from top left corner down to bottom right corner or top right corner down to bottom left corner. No free space will be utilized

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!