Lotto
in package
Collection of functions to help with Lotto processing.
Table of Contents
Constants
- TICKET_COST = 1000000
- WIN_FRAC = 0.9
Methods
- checkForLottoWinner() : void
- getLottoInfo() : array{Prize: int, TimeRemaining: int}
Constants
TICKET_COST
public
mixed
TICKET_COST
= 1000000
WIN_FRAC
public
mixed
WIN_FRAC
= 0.9
Methods
checkForLottoWinner()
public
static checkForLottoWinner(int $gameID) : void
Parameters
- $gameID : int
getLottoInfo()
public
static getLottoInfo(int $gameID) : array{Prize: int, TimeRemaining: int}
Parameters
- $gameID : int