## Uses of Class
edu.wisc.game.sql.Episode.Pick

- Packages that use Episode.Pick
  Package | Description
  --- | ---
  edu.wisc.game.saved |
  edu.wisc.game.sql | Persistent data structures
  edu.wisc.game.websocket |

- - ### Uses of Episode.Pick in edu.wisc.game.saved

    Fields in edu.wisc.game.saved declared as Episode.Pick
    Modifier and Type | Field | Description
    --- | --- | ---
    `Episode.Pick` | TranscriptManager.ReadTranscriptData.Entry.`pick` | Pick or move, as the case may be

    Method parameters in edu.wisc.game.saved with type arguments of type Episode.Pick
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | TranscriptManager.`saveTranscriptToFile​(String pid, String eid, File f, Vector<Episode.Pick> transcript, boolean includeFollow)` |

  - ### Uses of Episode.Pick in edu.wisc.game.sql

    Subclasses of Episode.Pick in edu.wisc.game.sql
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `Episode.Move` | A Move instance describes an [attempted] act of picking a piece and dropping it into a bucket.

    Methods in edu.wisc.game.sql that return Episode.Pick
    Modifier and Type | Method | Description
    --- | --- | ---
    `Episode.Pick` | Episode.`getLastMove()` |
    `Episode.Pick` | EpisodeInfo.`lastMove()` |

    Methods in edu.wisc.game.sql that return types with arguments of type Episode.Pick
    Modifier and Type | Method | Description
    --- | --- | ---
    `Vector<Episode.Pick>` | Episode.Display.`getTranscript()` | The list of all move/picks attempts (successful or not) done so far in this episode
    `Vector<Episode.Pick>` | Episode.`getTranscript()` |

    Methods in edu.wisc.game.sql with parameters of type Episode.Pick
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected int` | Episode.`accept​(Episode.Pick move)` | One normally should not use this method directly; use doPick() or doMove() instead.
    `int` | ReplayedEpisode.`accept​(Episode.Pick pick)` | In addition to the normal "accept" stuff, either erases or augments the player's knowledge of the current board's properties.
    `double` | ReplayedEpisode.`computeP0​(Episode.Pick nextMove, int code)` | Computes the probability of success for a random pick or random move made by a frugal player.
    `protected int` | Episode.`findJ​(Episode.Pick pick)` | Where in the values array do we have a game piece referred to by this Pick or Move? (The match is by piece ID)
    `static String` | Episode.`graphicDisplayAscii​(Vector<Piece> values, Episode.Pick lastMove, boolean weShowAllMovables, boolean[] isJMoveable, boolean html)` | Retired from the web game server; still used in Captive Game Server.
    `static String` | HtmlDisplay.`htmlDisplay​(Vector<Piece> pieces, Episode.Pick lastMove, boolean weShowAllMovables, boolean[] isJMoveable, int cellWidth, boolean canMove)` |

    Constructors in edu.wisc.game.sql with parameters of type Episode.Pick
    Constructor | Description
    --- | ---
    `Display​(int _code, Episode.Pick _pick, String _errmsg)` |

  - ### Uses of Episode.Pick in edu.wisc.game.websocket

    Methods in edu.wisc.game.websocket with parameters of type Episode.Pick
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | WatchPlayer.PickEncoder.`encode​(Episode.Pick pick)` |