bingo
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| bingo [2021/05/02 11:08] – frchris | bingo [2021/05/10 12:08] (current) – frchris | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| - | First we will make a '' | + | First we will make a '' |
| {{:: | {{:: | ||
| Line 14: | Line 14: | ||
| === 2. BingoCell === | === 2. BingoCell === | ||
| - | Next we turn to the player' | + | Next we turn to the player' |
| The '' | The '' | ||
| Line 39: | Line 39: | ||
| {{:: | {{:: | ||
| - | === 3. BingoCard | + | === 3. BingoBoard |
| + | {{ :: | ||
| - | The '' | + | The '' |
| - | - a 2-D array of BingoCells | + | - the line '' |
| - | - a helper | + | - a 2-D array of BingoCells |
| - | - a method | + | - a '' |
| + | - a '' | ||
| + | - a method '' | ||
| + | - a method '' | ||
| + | - 2 Constructors: | ||
| - The " | - The " | ||
| - The " | - The " | ||
| Line 50: | Line 55: | ||
| - 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 '' |
| - | - a draw method takes a Graphics parameter to draw the board | + | - a draw method |
| + | - if you are using the starting code, fix the bug in the '' | ||
| The " | The " | ||
| Line 58: | Line 64: | ||
| {{:: | {{:: | ||
| - | The draw method can be tested by a '' | + | The draw method can be tested by {{ :: |
| + | {{:: | ||
| === 4. BingoGame === | === 4. BingoGame === | ||
bingo.1619968114.txt.gz · Last modified: 2021/05/02 11:08 by frchris