100% Guaranteed Results


PCS – Create a Bingo game Solved
$ 20.99
Category:

Description

5/5 – (1 vote)

1. Create Bingo cards
a) Start with one card (A multi-dimensional)
b) Populate the card with numbers 1-75
c) Populate middle as box with 0 (Free)
d) Make sure not to use the same number twice (keep an array of numbers and
have a method check if the new generated number is on the list before using it)
e) Method to Display/Print the card

—— Optional ——
f) Try multiple cards (an array of multi-dimensional arrays)
Maybe also create another array of names of players matching how many cards you have
g) Print these cards with the player names
—— Optional ——

2. Play Bingo
a) Computer picks number from 1-75
b) Checks card(s) for matches and switches a matched square to something else
(maybe zero)
c) Method to evaluate all card(s) for winners
I. Check rows (double loop)
II. Check columns (double loop)
III. Check diagonals (actually a single loop)
(Hint: bingoBoard[i][i])
d) Reshow card(s)
e) Show winner if any
f) Wait for user prompt to do next turn (or else the computer will speed through
game in an instant)

Reviews

There are no reviews yet.

Be the first to review “PCS – Create a Bingo game Solved”

Your email address will not be published. Required fields are marked *

Related products