<chapter id="poker">
<chapterinfo>
  <copyright>
   <year>2001</year>
   <holder>Rosanna Yuen</holder>
  </copyright>
  <author>
   <firstname>Rosanna</firstname>
   <surname>Yuen</surname>
  </author>
  <address><email>zana@webwynk.net</email></address>
</chapterinfo>

<title>Poker</title>
  <para>written by Rosanna Yuen</para>
  <bridgehead>Setup</bridgehead>

  <informaltable>
    <tgroup cols="2">
      <tbody>
	<row>
	  <entry>Type of Deck</entry>
	  <entry>Standard Deck</entry>
	</row>
	<row>
	  <entry>Stock</entry>
	  <entry>
            Top left pile.</entry>
	</row>
        <row>
          <entry>Waste</entry>
          <entry>Next to Stock.  The Waste can only hold one card.</entry>
        </row>
	<row>
	  <entry>Tableau</entry>
          <entry>
            Five by five grid.  Each slot can only hold one card.</entry>
	</row>
      </tbody>
    </tgroup>
  </informaltable>

  <bridgehead>Goal</bridgehead>
  <para>
    Score as many points as possible using poker hands.  There are
    twelve hands in the board -- 5 rows, 5 columns, and 2 diagonals.
    Scoring 75 points or higher is considered a win.
  </para>
  <bridgehead>Rules</bridgehead>
  <para>
    Click on the Stock to flip over cards one at a time.  The card must
    be placed somewhere on to the Tableau before the next card can be
    flipped.  Once placed, a card cannot be moved.
  </para>

  <bridgehead>Options</bridgehead>
  <para>None</para>
  <bridgehead>Scoring</bridgehead>
  <para>
    Poker hands are scored as follows
  </para>
  <informaltable>
    <tgroup cols="3">
      <tbody>
        <row>
          <entry>Hand</entry>
          <entry>Description</entry>
          <entry>Score</entry>
        </row>
        <row>
          <entry>Straight flush</entry>
          <entry>Cards are all in sequence and are the same suit</entry>
          <entry>30</entry>
        </row>
        <row>
          <entry>Four of a kind</entry>
          <entry>Contains four cards have the same rank</entry>
          <entry>16</entry>
        </row>
        <row>
          <entry>Straight</entry>
          <entry>Cards are all in sequence</entry>
          <entry>12</entry>
        </row>
        <row>
          <entry>Full House</entry>
          <entry>Three of one rank and two of another</entry>
          <entry>10</entry>
        </row>
        <row>
          <entry>Three of a kind</entry>
          <entry>Contains three cards have the same rank</entry>
          <entry>6</entry>
        </row>
        <row>
          <entry>Flush</entry>
          <entry>All five cards are the same suit</entry>
          <entry>5</entry>
        </row>
        <row>
          <entry>Two pair</entry>
          <entry>Contains two sets of two cards of the same rank</entry>
          <entry>3</entry>
        </row>
        <row>
          <entry>One pair</entry>
          <entry>Contains two cards of the same rank</entry>
          <entry>16</entry>
        </row>
      </tbody>
    </tgroup>
  </informaltable>
  <para>
    Maximum possible score:  276
  </para>
  <bridgehead>Strategy</bridgehead>
  <para>
    Remember you are going to see almost half the deck and plan
    accordingly.  Trying to bluff the computer is not recommended.
  </para>
</chapter>
