type: TI
runs: 1
type: TI
runs: 0
type: TI
runs: 0
type: TI
runs: 0
type: TI
runs: 0
type: TI
runs: 0
type: TI
runs: 0
type: TI
runs: 0
Fixed endgame() method

- Rewrote endgame() method and fixed bugs including:

1) Winner not accurately recognised in all cases
2) Fixed bug causing bonus not to be properly factored into total
calculations