Question: This is for programming with the java language. Here is a summary of the assignment, I have made a program at the bottom. It contains

This is for programming with the java language.
Here is a summary of the assignment, I have made a program at the bottom. It contains everything we need, just need to fix the bugs and get it working.
This project is to make a bingo card and fill it up with integers from a file given and print it out in a specific order with a header. Then to have a BitSet check out what has been selected from a random variable. Then make all integers of the card array equal 0 when the random variable == card[r][c]. The mark the card, as in when ever card[r][c] == 0, print X in its place. Then check for win which sums up all diagonals, horizontals, verticals for if either of these sum up to 0 then we have a win. Lastly it sends off to another method the win message.
I have already made this program but it has a a bit of errors. I know for a fact that the first method works perfectly, the bingo1() method fills up the card1 with the file and I have it printing properly. I have the BitSet thing working but I cant get it to print all the random numbers selected... I only got it to print out one of them. The rest of the methods I have problems with. Please get my program working using only this one program. Also please no adding crazy things like hashmap, only use the imports that I have imported. Also no constructer classes, only use this one program I created.
This is the third time I posted this question. Please help as I asked... thank you.  This is for programming with the java language. Here is a
summary of the assignment, I have made a program at the bottom.
It contains everything we need, just need to fix the bugs and
This is sample output that was given from the assignment. All the dashs and | is not necessary.
get it working. This project is to make a bingo card and
Heres my program
fill it up with integers from a file given and print it
out in a specific order with a header. Then to have a
BitSet check out what has been selected from a random variable. Then
make all integers of the card array equal 0 when the random
variable == card[r][c]. The mark the card, as in when ever card[r][c]
== 0, print X in its place. Then check for win which

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!