bingo
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
bingo [2021/05/01 10:47] – frchris | bingo [2021/05/01 11:02] – frchris | ||
---|---|---|---|
Line 5: | Line 5: | ||
It's not just a song from summer camp, its an old-timey game: Here is a [[https:// | It's not just a song from summer camp, its an old-timey game: Here is a [[https:// | ||
- | First we will make a BingoCard class and later we will make a BingoGame class. | + | First we will make a BingoCell class, then a BingoCard class, and later we will make a BingoGame class. |
+ | |||
+ | The BingoCell class | ||
The BingoCard class will need: | The BingoCard class will need: | ||
- a 2-D array of BingoCells | - a 2-D array of BingoCells | ||
- a method that constructs the card so that: | - a method that constructs the card so that: | ||
- | - - The " | + | |
- | | + | - The " |
- | | + | - The " |
- | | + | - The " |
- | | + | - The " |
+ | - a toString method that has no parameters, and returns a string representation of the board that is similar to : {{:: | ||
+ | - a draw method takes a Graphics parameter to draw the board | ||
+ | - a method ' | ||
bingo.txt · Last modified: 2021/05/10 12:08 by frchris