Package | Description |
---|---|
cz.gyarab.util.game.rps |
Implementace známé dětské hry Kámen-nůžky-papír.
|
Modifier and Type | Method and Description |
---|---|
Move |
Match.add(Shape shapeA,
Shape shapeB)
Přidá tah do záznamu.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Move> |
Match.iterator() |
Modifier and Type | Method and Description |
---|---|
int |
Match.getScore(Move move,
java.lang.String player)
Zjistí skóre hráče po daném tahu.
|
Shape |
Match.getShape(Move move,
java.lang.String player)
Zjistí symbol tažený hráčem.
|