|
Jacson | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.spieleck.app.turn.scoring.BaseScoring de.spieleck.app.turn.scoring.Chess
public class Chess
A ScoringMode for chess results.
Only knows 1:0, 0.5:0.5, 0:1 as results.
$URL: https://svn.sourceforge.net/svnroot/jtourney/src/de/spieleck/app/turn/scoring/Chess.java $
Nested Class Summary | |
---|---|
static class |
Chess.ChessScore
|
Constructor Summary | |
---|---|
Chess()
|
Method Summary | |
---|---|
PlayerScore |
addPlayers(PlayerScore ps,
PlayerScore pgs)
Accumulate player total scores to another total for tiebreaking reasons. |
PlayerGameScore[] |
adjustScore(PlayerGameScore[] pgs)
Perform adjustments on the playerscores of a game. |
java.lang.String |
checkScore(PlayerGameScore[] pgs)
Return error when scores are not fitting together. |
PlayerGameScore |
parseRawScore(java.lang.String line)
Parse a single players score from a String. |
java.lang.String |
toString()
|
PlayerGameScore |
zeroScore()
Generate a zero score for a game with yet no outcome. |
Methods inherited from class de.spieleck.app.turn.scoring.BaseScoring |
---|
add, init, initialValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Chess()
Method Detail |
---|
public PlayerGameScore parseRawScore(java.lang.String line)
ScoringMode
public java.lang.String checkScore(PlayerGameScore[] pgs)
ScoringMode
checkScore
in interface ScoringMode
checkScore
in class BaseScoring
public PlayerGameScore[] adjustScore(PlayerGameScore[] pgs)
ScoringMode
public PlayerGameScore zeroScore()
ScoringMode
public PlayerScore addPlayers(PlayerScore ps, PlayerScore pgs)
ScoringMode
public java.lang.String toString()
toString
in class java.lang.Object
|
spieleck.de | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |