• Creates a mental poker player asynchrously

    Parameters

    • props: {
          bits?: number;
          cards: number;
          publicKey?: PublicKey;
      }
      • Optional bits?: number

        prime size in bits

      • cards: number

        how many cards the deck has.

      • Optional publicKey?: PublicKey

        the public key of the game (if absent, a new one will be generated)

    Returns Promise<Player>

    the player (asynchrously)