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 11:55] – frchris | bingo [2021/05/01 12:58] – 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 BingoCell class, then a BingoCard class, and later we will make a BingoGame class. | + | First we will make a '' |
+ | |||
+ | The '' | ||
+ | - Constructors that can will allow a client class to initialize the digit (the number 0 can be used as the center " | ||
+ | - accessor methods so a client class can know a cell's number | ||
+ | |||
+ | You can test out your BingoCell class by adapting {{ :: | ||
- | The '' | ||
Line 19: | Line 24: | ||
- The " | - The " | ||
- a toString method that has no parameters, and returns a string representation of the board that is similar to : {{:: | - 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 ' | - a method ' | ||
+ | - a draw method takes a Graphics parameter to draw the board | ||
+ | |||
+ | The " | ||
+ | The draw method can be tested by a '' | ||
bingo.txt · Last modified: 2021/05/10 12:08 by frchris