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/02 10:54] – frchris | bingo [2021/05/02 13:49] – 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:// | ||
- | === BingoBallHopper === | + | === 1. BingoBallHopper === |
Line 12: | Line 12: | ||
{{:: | {{:: | ||
- | === BingoCard/BingoCell === | + | === 2. BingoCell === |
Next we turn to the player' | Next we turn to the player' | ||
Line 35: | Line 35: | ||
{{:: | {{:: | ||
- | The rest would not need to be changed since a '' | + | The rest would not need to be changed since a '' |
+ | {{:: | ||
+ | === 3. BingoCard === | ||
The '' | The '' | ||
- | - a 2-D array of BingoCells | + | |
- | - a method that constructs | + | |
+ | - a '' | ||
+ | - a '' | ||
+ | - a method | ||
+ | - a method '' | ||
+ | - 2 Constructors: | ||
- The " | - The " | ||
- The " | - The " | ||
Line 47: | Line 54: | ||
- The " | - The " | ||
- 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. Use '' |
- | - a method 'hasBingo' (that returns a boolean) which detects a win for the rows, columns, and diagonals | + | - a method 'hasBingoSelected' (that returns a boolean) which detects a win for the rows, columns, and diagonals |
- | - a draw method takes a Graphics parameter | + | - a draw method |
- | The " | + | The " |
- | The draw method can be tested by a '' | + | {{:: |
- | === BingoGame === | + | The draw method can be tested by a '' |
+ | |||
+ | === 4. BingoGame === | ||
The '' | The '' |
bingo.txt · Last modified: 2021/05/10 12:08 by frchris