players) {
49 | this.players = players;
50 | }
51 |
52 | public abstract void play();
53 | }
--------------------------------------------------------------------------------
/src/main/java/com/github/strangercoug/freecasino/enums/Action.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, Jeffrey Hope
3 | * All rights reserved.
4 | *
5 | * Redistribution and use in source and binary forms, with or without
6 | * modification, are permitted (subject to the limitations in the disclaimer
7 | * below) provided that the following conditions are met:
8 | *
9 | * * Redistributions of source code must retain the above copyright notice, this
10 | * list of conditions and the following disclaimer.
11 | * * Redistributions in binary form must reproduce the above copyright notice,
12 | * this list of conditions and the following disclaimer in the documentation
13 | * and/or other materials provided with the distribution.
14 | * * Neither the name of the copyright holder nor the names of its contributors
15 | * may be used to endorse or promote products derived from this software
16 | * without specific prior written permission.
17 | *
18 | * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
19 | * THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
20 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
21 | * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22 | * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 | */
31 | package com.github.strangercoug.freecasino.enums;
32 |
33 | /**
34 | * List of actions a player or dealer may take. They were designed with
35 | * blackjack in mind, but are useful in other games, which is why this enum is
36 | * public.
37 | *
38 | * It is not recommended to write any code that relies on the actions being in
39 | * any particular order. It may have additional actions added to it and be
40 | * reordered at any time based on need and convenience.
41 | *
42 | * @author Jeffrey Hope
43 | */
44 | public enum Action {
45 | HIT, STAND, DOUBLE, SPLIT, SURRENDER
46 | }
47 |
--------------------------------------------------------------------------------
/src/main/java/com/github/strangercoug/freecasino/games/controller/table/TripleZeroRouletteController.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, Jeffrey Hope
3 | * All rights reserved.
4 | *
5 | * Redistribution and use in source and binary forms, with or without
6 | * modification, are permitted (subject to the limitations in the disclaimer
7 | * below) provided that the following conditions are met:
8 | *
9 | * * Redistributions of source code must retain the above copyright notice, this
10 | * list of conditions and the following disclaimer.
11 | * * Redistributions in binary form must reproduce the above copyright notice,
12 | * this list of conditions and the following disclaimer in the documentation
13 | * and/or other materials provided with the distribution.
14 | * * Neither the name of the copyright holder nor the names of its contributors
15 | * may be used to endorse or promote products derived from this software
16 | * without specific prior written permission.
17 | *
18 | * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
19 | * THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
20 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
21 | * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22 | * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 | */
31 | package com.github.strangercoug.freecasino.games.controller.table;
32 |
33 | import com.github.strangercoug.freecasino.games.model.table.TripleZeroRoulette;
34 | import com.github.strangercoug.freecasino.games.view.table.TripleZeroRouletteView;
35 |
36 | public class TripleZeroRouletteController extends RouletteController{
37 | protected TripleZeroRouletteController(TripleZeroRoulette model, TripleZeroRouletteView view) {
38 | super(model, view);
39 | }
40 |
41 | @Override
42 | public void updateView() {
43 | throw new UnsupportedOperationException("Not supported yet.");
44 | }
45 | }
--------------------------------------------------------------------------------
/src/main/java/com/github/strangercoug/freecasino/games/controller/table/poker/OmahaHiLoController.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, Jeffrey Hope
3 | * All rights reserved.
4 | *
5 | * Redistribution and use in source and binary forms, with or without
6 | * modification, are permitted (subject to the limitations in the disclaimer
7 | * below) provided that the following conditions are met:
8 | *
9 | * * Redistributions of source code must retain the above copyright notice, this
10 | * list of conditions and the following disclaimer.
11 | * * Redistributions in binary form must reproduce the above copyright notice,
12 | * this list of conditions and the following disclaimer in the documentation
13 | * and/or other materials provided with the distribution.
14 | * * Neither the name of the copyright holder nor the names of its contributors
15 | * may be used to endorse or promote products derived from this software
16 | * without specific prior written permission.
17 | *
18 | * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
19 | * THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
20 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
21 | * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22 | * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 | */
31 | package com.github.strangercoug.freecasino.games.controller.table.poker;
32 |
33 | import com.github.strangercoug.freecasino.games.model.table.poker.OmahaHiLo;
34 | import com.github.strangercoug.freecasino.games.view.table.poker.OmahaHiLoView;
35 |
36 | public class OmahaHiLoController extends CommunityCardPokerController {
37 | protected OmahaHiLoController(OmahaHiLo model, OmahaHiLoView view) {
38 | super(model, view);
39 | }
40 |
41 | @Override
42 | public void updateView() {
43 | throw new UnsupportedOperationException("Not supported yet.");
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/src/main/java/com/github/strangercoug/freecasino/enums/CardRank.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, Jeffrey Hope
3 | * All rights reserved.
4 | *
5 | * Redistribution and use in source and binary forms, with or without
6 | * modification, are permitted (subject to the limitations in the disclaimer
7 | * below) provided that the following conditions are met:
8 | *
9 | * * Redistributions of source code must retain the above copyright notice, this
10 | * list of conditions and the following disclaimer.
11 | * * Redistributions in binary form must reproduce the above copyright notice,
12 | * this list of conditions and the following disclaimer in the documentation
13 | * and/or other materials provided with the distribution.
14 | * * Neither the name of the copyright holder nor the names of its contributors
15 | * may be used to endorse or promote products derived from this software
16 | * without specific prior written permission.
17 | *
18 | * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
19 | * THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
20 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
21 | * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22 | * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 | */
31 | package com.github.strangercoug.freecasino.enums;
32 |
33 | /**
34 | *
35 | * @author Jeffrey Hope
36 | */
37 | public enum CardRank {
38 | TWO("Two"),
39 | THREE("Three"),
40 | FOUR("Four"),
41 | FIVE("Five"),
42 | SIX("Six"),
43 | SEVEN("Seven"),
44 | EIGHT("Eight"),
45 | NINE("Nine"),
46 | TEN("Ten"),
47 | JACK("Jack"),
48 | QUEEN("Queen"),
49 | KING("King"),
50 | ACE("Ace"),
51 | JOKER("Joker");
52 |
53 | private final String name;
54 |
55 | CardRank(String name){
56 | this.name = name;
57 | }
58 |
59 | @Override
60 | public String toString() {
61 | return name;
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/src/main/java/com/github/strangercoug/freecasino/games/controller/table/AmericanRouletteController.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, Jeffrey Hope
3 | * All rights reserved.
4 | *
5 | * Redistribution and use in source and binary forms, with or without
6 | * modification, are permitted (subject to the limitations in the disclaimer
7 | * below) provided that the following conditions are met:
8 | *
9 | * * Redistributions of source code must retain the above copyright notice, this
10 | * list of conditions and the following disclaimer.
11 | * * Redistributions in binary form must reproduce the above copyright notice,
12 | * this list of conditions and the following disclaimer in the documentation
13 | * and/or other materials provided with the distribution.
14 | * * Neither the name of the copyright holder nor the names of its contributors
15 | * may be used to endorse or promote products derived from this software
16 | * without specific prior written permission.
17 | *
18 | * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
19 | * THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
20 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
21 | * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22 | * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 | */
31 | package com.github.strangercoug.freecasino.games.controller.table;
32 |
33 | import com.github.strangercoug.freecasino.games.model.table.AmericanRoulette;
34 | import com.github.strangercoug.freecasino.games.view.table.AmericanRouletteView;
35 |
36 | public class AmericanRouletteController extends RouletteController{
37 | protected AmericanRouletteController(AmericanRoulette model, AmericanRouletteView view) {
38 | super(model, view);
39 | }
40 |
41 | @Override
42 | public void updateView() {
43 | throw new UnsupportedOperationException("Not supported yet.");
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/src/main/java/com/github/strangercoug/freecasino/games/controller/table/CrapsController.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, Jeffrey Hope
3 | * All rights reserved.
4 | *
5 | * Redistribution and use in source and binary forms, with or without
6 | * modification, are permitted (subject to the limitations in the disclaimer
7 | * below) provided that the following conditions are met:
8 | *
9 | * * Redistributions of source code must retain the above copyright notice, this
10 | * list of conditions and the following disclaimer.
11 | * * Redistributions in binary form must reproduce the above copyright notice,
12 | * this list of conditions and the following disclaimer in the documentation
13 | * and/or other materials provided with the distribution.
14 | * * Neither the name of the copyright holder nor the names of its contributors
15 | * may be used to endorse or promote products derived from this software
16 | * without specific prior written permission.
17 | *
18 | * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
19 | * THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
20 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
21 | * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22 | * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 | */
31 | package com.github.strangercoug.freecasino.games.controller.table;
32 |
33 | import com.github.strangercoug.freecasino.games.controller.GameController;
34 | import com.github.strangercoug.freecasino.games.model.table.Craps;
35 | import com.github.strangercoug.freecasino.games.view.table.CrapsView;
36 |
37 | public class CrapsController extends GameController {
38 | protected CrapsController(Craps model, CrapsView view) {
39 | super(model, view);
40 | }
41 |
42 | @Override
43 | public void updateView() {
44 | throw new UnsupportedOperationException("Not supported yet.");
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/src/main/java/com/github/strangercoug/freecasino/games/controller/table/EuropeanRouletteController.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, Jeffrey Hope
3 | * All rights reserved.
4 | *
5 | * Redistribution and use in source and binary forms, with or without
6 | * modification, are permitted (subject to the limitations in the disclaimer
7 | * below) provided that the following conditions are met:
8 | *
9 | * * Redistributions of source code must retain the above copyright notice, this
10 | * list of conditions and the following disclaimer.
11 | * * Redistributions in binary form must reproduce the above copyright notice,
12 | * this list of conditions and the following disclaimer in the documentation
13 | * and/or other materials provided with the distribution.
14 | * * Neither the name of the copyright holder nor the names of its contributors
15 | * may be used to endorse or promote products derived from this software
16 | * without specific prior written permission.
17 | *
18 | * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
19 | * THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
20 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
21 | * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22 | * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 | */
31 | package com.github.strangercoug.freecasino.games.controller.table;
32 |
33 | import com.github.strangercoug.freecasino.games.model.table.EuropeanRoulette;
34 | import com.github.strangercoug.freecasino.games.view.table.EuropeanRouletteView;
35 |
36 | public class EuropeanRouletteController extends RouletteController {
37 | protected EuropeanRouletteController(EuropeanRoulette model, EuropeanRouletteView view) {
38 | super(model, view);
39 | }
40 |
41 | @Override
42 | public void updateView() {
43 | throw new UnsupportedOperationException("Not supported yet.");
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/src/main/java/com/github/strangercoug/freecasino/games/controller/table/poker/KansasCityLoController.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, Jeffrey Hope
3 | * All rights reserved.
4 | *
5 | * Redistribution and use in source and binary forms, with or without
6 | * modification, are permitted (subject to the limitations in the disclaimer
7 | * below) provided that the following conditions are met:
8 | *
9 | * * Redistributions of source code must retain the above copyright notice, this
10 | * list of conditions and the following disclaimer.
11 | * * Redistributions in binary form must reproduce the above copyright notice,
12 | * this list of conditions and the following disclaimer in the documentation
13 | * and/or other materials provided with the distribution.
14 | * * Neither the name of the copyright holder nor the names of its contributors
15 | * may be used to endorse or promote products derived from this software
16 | * without specific prior written permission.
17 | *
18 | * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
19 | * THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
20 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
21 | * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22 | * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 | */
31 | package com.github.strangercoug.freecasino.games.controller.table.poker;
32 |
33 | import com.github.strangercoug.freecasino.games.model.table.poker.KansasCityLo;
34 | import com.github.strangercoug.freecasino.games.view.table.poker.KansasCityLoView;
35 |
36 | public class KansasCityLoController extends DrawPokerController{
37 | protected KansasCityLoController(KansasCityLo model, KansasCityLoView view) {
38 | super(model, view);
39 | }
40 |
41 | @Override
42 | public void updateView() {
43 | throw new UnsupportedOperationException("Not supported yet.");
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/src/main/java/com/github/strangercoug/freecasino/games/controller/table/poker/TripleDrawLoController.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, Jeffrey Hope
3 | * All rights reserved.
4 | *
5 | * Redistribution and use in source and binary forms, with or without
6 | * modification, are permitted (subject to the limitations in the disclaimer
7 | * below) provided that the following conditions are met:
8 | *
9 | * * Redistributions of source code must retain the above copyright notice, this
10 | * list of conditions and the following disclaimer.
11 | * * Redistributions in binary form must reproduce the above copyright notice,
12 | * this list of conditions and the following disclaimer in the documentation
13 | * and/or other materials provided with the distribution.
14 | * * Neither the name of the copyright holder nor the names of its contributors
15 | * may be used to endorse or promote products derived from this software
16 | * without specific prior written permission.
17 | *
18 | * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
19 | * THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
20 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
21 | * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22 | * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 | */
31 | package com.github.strangercoug.freecasino.games.controller.table.poker;
32 |
33 | import com.github.strangercoug.freecasino.games.model.table.poker.TripleDrawLo;
34 | import com.github.strangercoug.freecasino.games.view.table.poker.TripleDrawLoView;
35 |
36 | public class TripleDrawLoController extends DrawPokerController{
37 | protected TripleDrawLoController(TripleDrawLo model, TripleDrawLoView view) {
38 | super(model, view);
39 | }
40 |
41 | @Override
42 | public void updateView() {
43 | throw new UnsupportedOperationException("Not supported yet.");
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/src/main/java/com/github/strangercoug/freecasino/games/controller/table/BigSixController.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, Jeffrey Hope
3 | * All rights reserved.
4 | *
5 | * Redistribution and use in source and binary forms, with or without
6 | * modification, are permitted (subject to the limitations in the disclaimer
7 | * below) provided that the following conditions are met:
8 | *
9 | * * Redistributions of source code must retain the above copyright notice, this
10 | * list of conditions and the following disclaimer.
11 | * * Redistributions in binary form must reproduce the above copyright notice,
12 | * this list of conditions and the following disclaimer in the documentation
13 | * and/or other materials provided with the distribution.
14 | * * Neither the name of the copyright holder nor the names of its contributors
15 | * may be used to endorse or promote products derived from this software
16 | * without specific prior written permission.
17 | *
18 | * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
19 | * THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
20 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
21 | * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22 | * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 | */
31 | package com.github.strangercoug.freecasino.games.controller.table;
32 |
33 | import com.github.strangercoug.freecasino.games.controller.GameController;
34 | import com.github.strangercoug.freecasino.games.model.table.BigSix;
35 | import com.github.strangercoug.freecasino.games.view.table.BigSixView;
36 |
37 | public class BigSixController extends GameController {
38 | protected BigSixController(BigSix model, BigSixView view) {
39 | super(model, view);
40 | }
41 |
42 | @Override
43 | public void updateView() {
44 | throw new UnsupportedOperationException("Not supported yet.");
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/src/main/java/com/github/strangercoug/freecasino/games/controller/table/RedDogController.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, Jeffrey Hope
3 | * All rights reserved.
4 | *
5 | * Redistribution and use in source and binary forms, with or without
6 | * modification, are permitted (subject to the limitations in the disclaimer
7 | * below) provided that the following conditions are met:
8 | *
9 | * * Redistributions of source code must retain the above copyright notice, this
10 | * list of conditions and the following disclaimer.
11 | * * Redistributions in binary form must reproduce the above copyright notice,
12 | * this list of conditions and the following disclaimer in the documentation
13 | * and/or other materials provided with the distribution.
14 | * * Neither the name of the copyright holder nor the names of its contributors
15 | * may be used to endorse or promote products derived from this software
16 | * without specific prior written permission.
17 | *
18 | * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
19 | * THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
20 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
21 | * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22 | * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 | */
31 | package com.github.strangercoug.freecasino.games.controller.table;
32 |
33 | import com.github.strangercoug.freecasino.games.controller.GameController;
34 | import com.github.strangercoug.freecasino.games.model.table.RedDog;
35 | import com.github.strangercoug.freecasino.games.view.table.RedDogView;
36 |
37 | public class RedDogController extends GameController {
38 | protected RedDogController(RedDog model, RedDogView view) {
39 | super(model, view);
40 | }
41 |
42 | @Override
43 | public void updateView() {
44 | throw new UnsupportedOperationException("Not supported yet.");
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/src/main/java/com/github/strangercoug/freecasino/games/controller/table/poker/FiveCardDrawController.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, Jeffrey Hope
3 | * All rights reserved.
4 | *
5 | * Redistribution and use in source and binary forms, with or without
6 | * modification, are permitted (subject to the limitations in the disclaimer
7 | * below) provided that the following conditions are met:
8 | *
9 | * * Redistributions of source code must retain the above copyright notice, this
10 | * list of conditions and the following disclaimer.
11 | * * Redistributions in binary form must reproduce the above copyright notice,
12 | * this list of conditions and the following disclaimer in the documentation
13 | * and/or other materials provided with the distribution.
14 | * * Neither the name of the copyright holder nor the names of its contributors
15 | * may be used to endorse or promote products derived from this software
16 | * without specific prior written permission.
17 | *
18 | * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
19 | * THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
20 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
21 | * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22 | * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 | */
31 | package com.github.strangercoug.freecasino.games.controller.table.poker;
32 |
33 | import com.github.strangercoug.freecasino.games.model.table.poker.FiveCardDraw;
34 | import com.github.strangercoug.freecasino.games.view.table.poker.FiveCardDrawView;
35 |
36 | public class FiveCardDrawController extends DrawPokerController {
37 | protected FiveCardDrawController(FiveCardDraw model, FiveCardDrawView view) {
38 | super(model, view);
39 | }
40 |
41 | @Override
42 | public void updateView() {
43 | throw new UnsupportedOperationException("Not supported yet.");
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/src/main/java/com/github/strangercoug/freecasino/games/controller/table/poker/OmahaHoldemController.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, Jeffrey Hope
3 | * All rights reserved.
4 | *
5 | * Redistribution and use in source and binary forms, with or without
6 | * modification, are permitted (subject to the limitations in the disclaimer
7 | * below) provided that the following conditions are met:
8 | *
9 | * * Redistributions of source code must retain the above copyright notice, this
10 | * list of conditions and the following disclaimer.
11 | * * Redistributions in binary form must reproduce the above copyright notice,
12 | * this list of conditions and the following disclaimer in the documentation
13 | * and/or other materials provided with the distribution.
14 | * * Neither the name of the copyright holder nor the names of its contributors
15 | * may be used to endorse or promote products derived from this software
16 | * without specific prior written permission.
17 | *
18 | * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
19 | * THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
20 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
21 | * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22 | * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 | */
31 | package com.github.strangercoug.freecasino.games.controller.table.poker;
32 |
33 | import com.github.strangercoug.freecasino.games.model.table.poker.OmahaHoldem;
34 | import com.github.strangercoug.freecasino.games.view.table.poker.OmahaHoldemView;
35 |
36 | public class OmahaHoldemController extends CommunityCardPokerController {
37 | protected OmahaHoldemController(OmahaHoldem model, OmahaHoldemView view) {
38 | super(model, view);
39 | }
40 |
41 | @Override
42 | public void updateView() {
43 | throw new UnsupportedOperationException("Not supported yet.");
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/src/main/java/com/github/strangercoug/freecasino/games/controller/table/poker/TexasHoldemController.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, Jeffrey Hope
3 | * All rights reserved.
4 | *
5 | * Redistribution and use in source and binary forms, with or without
6 | * modification, are permitted (subject to the limitations in the disclaimer
7 | * below) provided that the following conditions are met:
8 | *
9 | * * Redistributions of source code must retain the above copyright notice, this
10 | * list of conditions and the following disclaimer.
11 | * * Redistributions in binary form must reproduce the above copyright notice,
12 | * this list of conditions and the following disclaimer in the documentation
13 | * and/or other materials provided with the distribution.
14 | * * Neither the name of the copyright holder nor the names of its contributors
15 | * may be used to endorse or promote products derived from this software
16 | * without specific prior written permission.
17 | *
18 | * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
19 | * THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
20 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
21 | * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22 | * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 | */
31 | package com.github.strangercoug.freecasino.games.controller.table.poker;
32 |
33 | import com.github.strangercoug.freecasino.games.model.table.poker.TexasHoldem;
34 | import com.github.strangercoug.freecasino.games.view.table.poker.TexasHoldemView;
35 |
36 | public class TexasHoldemController extends CommunityCardPokerController {
37 | protected TexasHoldemController(TexasHoldem model, TexasHoldemView view) {
38 | super(model, view);
39 | }
40 |
41 | @Override
42 | public void updateView() {
43 | throw new UnsupportedOperationException("Not supported yet.");
44 | }
45 | }
46 |
--------------------------------------------------------------------------------