Jacson

de.spieleck.app.turn.scoring
Class Mue

java.lang.Object
  extended by de.spieleck.app.turn.scoring.BaseScoring
      extended by de.spieleck.app.turn.scoring.Mue
All Implemented Interfaces:
LineSourceInited, ScoringMode

public class Mue
extends BaseScoring

A ScoringMode for the game Mü.
During a match of the card game, every player obtains a individual score which is used as his outcome. The inter table normalization only consists of making the sum of scores on a table being zero summed.

$URL: https://svn.sourceforge.net/svnroot/jtourney/src/de/spieleck/app/turn/scoring/Mue.java $

Version:
$Revision: 2 $ $Date: 2006-03-20 14:33:27 +0100 (Mo, 20 Mrz 2006) $ $Author: nestefan $
Author:
Frank S. Nestel, $Author: nestefan $

Nested Class Summary
static class Mue.MueScore
           
 
Constructor Summary
Mue()
           
 
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.
 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, checkScore, init, initialValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Mue

public Mue()
Method Detail

parseRawScore

public PlayerGameScore parseRawScore(java.lang.String line)
Description copied from interface: ScoringMode
Parse a single players score from a String.


adjustScore

public PlayerGameScore[] adjustScore(PlayerGameScore[] pgs)
Description copied from interface: ScoringMode
Perform adjustments on the playerscores of a game. This is useful for do some normalization of individual scores depending on total scores in a game.


zeroScore

public PlayerGameScore zeroScore()
Description copied from interface: ScoringMode
Generate a zero score for a game with yet no outcome.


addPlayers

public PlayerScore addPlayers(PlayerScore ps,
                              PlayerScore pgs)
Description copied from interface: ScoringMode
Accumulate player total scores to another total for tiebreaking reasons. With the right implementation of chess scores, this results in a Buchholz score.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

spieleck.de