Java poker implementation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PineappleInfo.java 813B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Copyright (c) Chris 'MD87' Smith, 2007. All rights reserved.
  3. *
  4. * This code may not be redistributed without prior permission from the
  5. * aforementioned copyright holder(s).
  6. */
  7. package com.md87.cardgame.config.games;
  8. import com.md87.cardgame.games.Pineapple;
  9. import com.md87.cardgame.interfaces.Game;
  10. /**
  11. *
  12. * @author Chris
  13. */
  14. public class PineappleInfo extends GameInfo {
  15. public String getName() {
  16. return "Pineapple";
  17. }
  18. public GameType getGameType() {
  19. return GameInfo.GameType.HOLDEM;
  20. }
  21. public int getNumPlayers() {
  22. return 14;
  23. }
  24. public boolean usesBringIns() {
  25. return false;
  26. }
  27. public Game getGame(int numplayers, int bigblind, int ante, int raises) {
  28. return new Pineapple(numplayers, bigblind, ante, raises);
  29. }
  30. }