Score
A score keeper for a single player and round.
Method Summary
Public Methods | ||
public |
bankrupt() If points are positive, set points to 0. |
|
public |
Decrease points by a number (sign ignored). |
|
public |
double() Double points, even if negative. |
|
public |
Increase points by a number (sign ignored). |
|
public |
reset() Reset points to 0. |
Public Methods
public decrease(points: number) source
Decrease points by a number (sign ignored).
Params:
Name | Type | Attribute | Description |
points | number | number of points to decrease. |