Skip to content

Package: VierGewinntGameBuilderFactory

VierGewinntGameBuilderFactory

Coverage

1: /*
2: * Copyright © 2021 Fachhochschule für die Wirtschaft (FHDW) Hannover
3: *
4: * This file is part of ipspiel21-tictactoe-core.
5: *
6: * ipspiel21-tictactoe-core is free software: you can redistribute it and/or modify it under
7: * the terms of the GNU General Public License as published by the Free Software
8: * Foundation, either version 3 of the License, or (at your option) any later
9: * version.
10: *
11: * ipspiel21-tictactoe-core is distributed in the hope that it will be useful, but WITHOUT
12: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13: * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14: * details.
15: *
16: * You should have received a copy of the GNU General Public License along with
17: * ipspiel21-tictactoe-core. If not, see <http://www.gnu.org/licenses/>.
18: */
19: package de.fhdw.gaming.ipspiel21.viergewinnt.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: * A VierGewinnt {@link GameBuilderFactory} which allows to create a VierGewinnt
27: * game builder.
28: */
29: public interface VierGewinntGameBuilderFactory extends GameBuilderFactory {
30:
31: /**
32: * Parameter for the number of columns of the board.
33: */
34: String PARAM_COLUMN_SIZE = "columnSize";
35:
36: /**
37: * Parameter for the number of columns of the board.
38: */
39: String PARAM_ROW_SIZE = "rowSize";
40: /**
41: * Parameter that determines if a player is using yellow.
42: */
43: String PARAM_PLAYER_USING_YELLOW = "playerUsingYellow";
44:
45: @Override
46: VierGewinntGameBuilder createGameBuilder(InputProvider inputProvider) throws GameException;
47: }