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/01 10:59] frchrisbingo [2021/05/01 11:01] frchris
Line 17: Line 17:
   - a toString method that has no parameters, and returns a string representation of the board that is similar to : {{::bingotext.png?200|}}   - a toString method that has no parameters, and returns a string representation of the board that is similar to : {{::bingotext.png?200|}}
   - a draw method takes a Graphics parameter to draw the board   - a draw method takes a Graphics parameter to draw the board
-  - a method 'hasBingo' (that returns a boolean) win detector for the rows and columns and diagonals (later you can overload this with method that takes a parameter for the "blackout" or "box" variants)+  - a method 'hasBingo' (that returns a boolean) which detects a win for the rowscolumnsand diagonals (later you can overload this with method that takes a parameter for the "blackout," "corners," or "box" variants)
  
  
bingo.txt · Last modified: 2021/05/10 12:08 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki