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 |
---|---|
default void |
Strategy.done(Match match,
int points)
Ukončí zápas.
|
Shape |
CopyStrategy.next(Match match) |
Shape |
CyclicStrategy.next(Match match) |
Shape |
RandomStrategy.next(Match match) |
Shape |
StaticStrategy.next(Match match) |
Shape |
Strategy.next(Match match)
Zvolí symbol pro následující tah.
|
Modifier and Type | Method and Description |
---|---|
void |
CopyStrategy.init(Rules rules,
java.lang.String yourName,
java.lang.String oppositeName,
java.util.List<Match> matches) |
default void |
Strategy.init(Rules rules,
java.lang.String yourName,
java.lang.String oppositeName,
java.util.List<Match> matches)
Inicializuje strategii pro nový zápas.
|