Skip to content

Package: MuenzwurfGameBuilderFactory

MuenzwurfGameBuilderFactory

Coverage

1: /*
2: * Copyright © 2020-2023 Fachhochschule für die Wirtschaft (FHDW) Hannover
3: *
4: * This file is part of othello-core.
5: *
6: * Othello-core is free software: you can redistribute it and/or modify
7: * it under the terms of the GNU General Public License as published by
8: * the Free Software Foundation, either version 3 of the License, or
9: * (at your option) any later version.
10: *
11: * Othello-core is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: * GNU General Public License for more details.
15: *
16: * You should have received a copy of the GNU General Public License
17: * along with othello-core. If not, see <http://www.gnu.org/licenses/>.
18: */
19: package de.fhdw.gaming.ipspiel24.muenzwurf.core.domain;
20:
21: import de.fhdw.gaming.core.domain.GameBuilderFactory;
22: import de.fhdw.gaming.core.domain.GameException;
23: import de.fhdw.gaming.core.ui.InputProvider;
24:
25: /**
26: * An Othello {@link GameBuilderFactory} which allows to create an Othello game builder.
27: */
28: public interface MuenzwurfGameBuilderFactory extends GameBuilderFactory {
29:
30: /**
31: * Player's outcome on no/yes.
32: */
33: String PARAM_PLAYER_OUTCOME_ON_HEADS_TAILS = "playerOutcomeOnHeadsTails";
34:
35: /**
36: * Player's outcome on no/yes.
37: */
38: String PARAM_PLAYER_OUTCOME_ON_TAILS_HEADS = "playerOutcomeOnTailsHeads";
39:
40: /**
41: * Player's outcome on no/no.
42: */
43: String PARAM_PLAYER_OUTCOME_ON_TAILS_TAILS = "playerOutcomeOnTailsTails";
44:
45: /**
46: * Player's outcome on no/yes.
47: */
48: String PARAM_PLAYER_OUTCOME_ON_HEADS_HEADS = "playerOutcomeOnHeadsHeads";
49:
50: /**
51: * Player's outcome on no/yes.
52: */
53: String PARAM_PLAYER_OUTCOME_ON_EDGE_HEADS = "playerOutcomeOnEdgeHeads";
54:
55: /**
56: * Player's outcome on no/yes.
57: */
58: String PARAM_PLAYER_OUTCOME_ON_HEADS_EDGE = "playerOutcomeOnHeadsEdge";
59:
60: /**
61: * Player's outcome on no/yes.
62: */
63: String PARAM_PLAYER_OUTCOME_ON_EDGE_TAILS = "playerOutcomeOnEdgeTails";
64:
65: /**
66: * Player's outcome on no/yes.
67: */
68: String PARAM_PLAYER_OUTCOME_ON_TAILS_EDGE = "playerOutcomeOnTailsEdge";
69:
70: /**
71: * Player's outcome on no/yes.
72: */
73: String PARAM_PLAYER_OUTCOME_ON_EDGE_EDGE = "playerOutcomeOnEdgeEdge";
74:
75: /**
76: * Whether the play gains points when the result is the same.
77: */
78: String PARAM_PLAYER_POINTGAIN_ON_SAME_RESULT = "playerGetsPointsOnSameResult";
79:
80:
81: @Override
82: MuenzwurfGameBuilder createGameBuilder(InputProvider inputProvider) throws GameException;
83: }