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 11:09] – frchris | bingo [2021/05/02 13:15] – frchris | ||
---|---|---|---|
Line 42: | Line 42: | ||
The '' | The '' | ||
- | - a 2-D array of BingoCells | + | |
- | - a static | + | |
- | - a method | + | - a '' |
+ | - a '' | ||
+ | - a method '' | ||
+ | - a method '' | ||
+ | - 2 Constructors: | ||
- The " | - The " | ||
- The " | - The " | ||
Line 50: | 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 (later you can overload this with method that takes a parameter for the " | + | - a method 'hasBingoSelected' (that returns a boolean) which detects a win for the rows, columns, and diagonals (later you can overload this with method that takes a parameter for the " |
- a draw method takes a Graphics parameter to draw the board | - a draw method takes a Graphics parameter to draw the board | ||
bingo.txt · Last modified: 2021/05/10 12:08 by frchris