Question: Can you help me with this java project? Project 4 This project provides an opportunity to practice object oriented programming. The intent of this project
Project 4 This project provides an opportunity to practice object oriented programming. The intent of this project is to create an object model of a bingo game, and implement all the classes needed to simulate a collection of players at a bingo competition. The Bingo Game Overview The first item that needs to be modeled is the bingo cage which contains 75 bingo balls, each of which has a letter and number (ie. B15). As the game is being played, a random bingo ball is removed from the cage and that bingo ball's letter and number are the next value to be played. To begin a new game, all the bingo balls are placed in the cage. The second item that needs to be modeled is the bingo card which contains 5 columns of 5 numbers, The 5 columns correspond to the letters B, N, G, O. Each column contains random values in the following ranges: . Column 0: B thru 15 . Column1: 16 thru 30 . Column 2: N 31 thru 45 . Column 3: G 46 thru 60 . Column 4: O61 thru 75 Each spot on the card must be able to be marked as played whenever a bingo ball is played. For instance, if ball N35 is played, and the spot in column 2 row 4 contains a 35, then that spot must be marked in some way to indicate that the number 35 was already played. The center spot on a bingo card is a free spot, so the spot in column 2 row 2 must always be marked as played. A bingo card must be able to be analyzed for the number of wins it contains. It is possible for multiple wins to result from a single ball being played. A win results from any of the following: All spots in a row have been marked All spots in a column have been marked All spots in either diagonal have been marked At the start of each new game, all the marks on the card from the previous game must be removed. The third item that needs to be modeled is the bingo player. Each player has a name. A player can play any number of bingo cards. At the beginning of each new game, a player must clear the marks from all their bingo cards. Whenever a bingo ball is played, a player is informed of the column and number being played. The player plays that column and number on each of their bingo cards. The player checks all cards for the number of wins thus far in the game. Whenever a new game starts, the number of wins from the current game is added to the total wins
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
