View Source Buzzword.Bingo.Game.Checker (Buzzword Bingo Game v0.1.43)

Checks for a bingo!

Summary

Functions

Returns true if all the squares of a line (row, column or diagonal) containing the given phrase have been marked by the given player. Returns false otherwise or when the given phrase cannot be found.

Functions

bingo?(game, phrase, player)

Returns true if all the squares of a line (row, column or diagonal) containing the given phrase have been marked by the given player. Returns false otherwise or when the given phrase cannot be found.