Play
Date: 2017-05-13

game_backend

## Interface Play

- All Known Implementing Classes:
    Game

      public interface Play

  Represents a generic game of Cards. The specifications for the actual game should be specified by a class that implements this interface
  Author:
    João Vieira, Guilherme Reis, Catarina Santos

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int[]` | `advice(Card[] cards)`
    `Card[]` | `deal(int credits)`
    `java.lang.String` | `evaluateHand(Card[] cards)`
    `java.util.Map<java.lang.String,java.lang.Integer>` | `getStats()`
    `int` | `getWins(java.lang.String nameOfHand)`
    `void` | `prepareRound()`
    `void` | `receiveCards(Card[] cards)`
    `Card[]` | `retrieveCards(int n)`

- - ### Method Detail

    - #### advice

          int[] advice(Card[] cards)

    - #### deal

          Card[] deal(int credits)

    - #### getStats

          java.util.Map<java.lang.String,java.lang.Integer> getStats()

    - #### retrieveCards

          Card[] retrieveCards(int n)

    - #### receiveCards

          void receiveCards(Card[] cards)

    - #### evaluateHand

          java.lang.String evaluateHand(Card[] cards)

    - #### prepareRound

          void prepareRound()

    - #### getWins

          int getWins(java.lang.String nameOfHand)