Package de.pokerth.protocol.ProtoBuf

Examples of de.pokerth.protocol.ProtoBuf.NetGameInfo


  static private int counter = 0;

  private void createRankingGame(String password) throws Exception {
    counter++;
    Collection<Integer> l = new ArrayList<Integer>();
    NetGameInfo gameInfo = createGameInfo(NetGameType.rankingGame, 20, 7, 8, EndRaiseMode.doubleBlinds, 0, 50, GuestUser + " create ranking game " + counter, l, 10, 0, 11, 10000);
    sendMessage(createGameRequestMsg(
        gameInfo,
        password,
        false));
  }
View Full Code Here


  public void testSeatState() throws Exception {
    long firstPlayerId = userInit();

    Collection<Integer> l = new ArrayList<Integer>();
    String gameName = AuthUser + " run normal game for seatState";
    NetGameInfo gameInfo = createGameInfo(NetGameType.normalGame, 5, 7, 5, EndRaiseMode.doubleBlinds, 0, 200, gameName, l, 10, 0, 2, 10000);
    sendMessage(createGameRequestMsg(
        gameInfo,
        "",
        false));
View Full Code Here

  @Test
  public void testGameStartMessage() throws Exception {
    guestInit();

    Collection<Integer> l = new ArrayList<Integer>();
    NetGameInfo gameInfo = createGameInfo(NetGameType.normalGame, 10, 7, 10, EndRaiseMode.doubleBlinds, 0, 100, GuestUser + " start normal game", l, 10, 0, 11, 20000);
    sendMessage(createGameRequestMsg(
        gameInfo,
        "",
        false));
View Full Code Here

        fail("Invalid message.");
      }

      Collection<Integer> l = new ArrayList<Integer>();
      String gameName = AuthUser + " load game " + i;
      NetGameInfo gameInfo = createGameInfo(NetGameType.normalGame, 5, 7, 5, EndRaiseMode.doubleBlinds, 0, 200, gameName, l, 10, 0, 1, 10000);
      sendMessage(createGameRequestMsg(
          gameInfo,
          "",
          false),
          s[i * 10]);
 
View Full Code Here

TOP

Related Classes of de.pokerth.protocol.ProtoBuf.NetGameInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.