User Tools

Site Tools


bingo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
bingo [2021/05/02 13:10] frchrisbingo [2021/05/02 13:15] frchris
Line 55: Line 55:
       - The "O" column has 5 unique numbers from 61-75       - The "O" column has 5 unique numbers from 61-75
   - a toString method that has no parameters, and returns a string representation of the board.  Use ''\n'' to make a newline in the String to get different rows. It should be similar to : {{::bingotext.png?200|}}   - a toString method that has no parameters, and returns a string representation of the board.  Use ''\n'' to make a newline in the String to get different rows. It should be similar to : {{::bingotext.png?200|}}
-  - 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 "blackout," "corners," or "box" variants)+  - 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 "blackout," "corners," or "box" variants).  This is not yet an actual win until the BingGame class has confirmed that the numbers in the pattern have been called.  
   - 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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki