librejack

Blackjack clone written in java
git clone https://github.com/michaelneuper/librejack.git
README | Files | Log | Refs | LICENSE

librejack/src/view/RulesUI.form (4274B)


<?xml version="1.0" encoding="UTF-8" ?>

<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
  <Properties>
    <Property name="defaultCloseOperation" type="int" value="2"/>
    <Property name="title" type="java.lang.String" value="Rules"/>
    <Property name="alwaysOnTop" type="boolean" value="true"/>
  </Properties>
  <SyntheticProperties>
    <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
    <SyntheticProperty name="generateCenter" type="boolean" value="false"/>
  </SyntheticProperties>
  <AuxValues>
    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
    <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
    <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
    <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
  </AuxValues>

  <Layout>
    <DimensionLayout dim="0">
      <Group type="103" groupAlignment="0" attributes="0">
          <Group type="102" alignment="0" attributes="0">
              <EmptySpace min="-2" pref="21" max="-2" attributes="0"/>
              <Component id="jLabelRules" min="-2" pref="776" max="-2" attributes="0"/>
              <EmptySpace pref="33" max="32767" attributes="0"/>
          </Group>
      </Group>
    </DimensionLayout>
    <DimensionLayout dim="1">
      <Group type="103" groupAlignment="0" attributes="0">
          <Group type="102" alignment="0" attributes="0">
              <EmptySpace min="-2" pref="18" max="-2" attributes="0"/>
              <Component id="jLabelRules" min="-2" pref="597" max="-2" attributes="0"/>
              <EmptySpace pref="38" max="32767" attributes="0"/>
          </Group>
      </Group>
    </DimensionLayout>
  </Layout>
  <SubComponents>
    <Component class="javax.swing.JLabel" name="jLabelRules">
      <Properties>
        <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
          <Font name="Segoe UI" size="18" style="0"/>
        </Property>
        <Property name="text" type="java.lang.String" value="&lt;html&gt;&#xa;&#xa;&lt;h1&gt;Initial Setup&lt;/h1&gt;&#xa;Blackjack, also known as 21, is one of the most popular casino games in the world.&#xa;Blackjack is a card-game where players compete against the dealer. &#xa;Blackjack is played with one or more decks of 52 playing cards.&#xa;&#xa;&lt;h1&gt;Objective&lt;/h1&gt;&#xa;The objective of Blackjack is to reach 21 or to reach a score higher than the dealer without exceeding 21.&#xa;&#xa;&lt;h1&gt;Playing The Game&lt;/h1&gt;&#xa;&lt;p&gt;&#xa;The player begins by placing a bet on the table and the dealer deals two cards to the player.&#xa;Kings, Queens and Jacks are counted as 10.&#xa;Aces count as either 1 or 11 for both the dealer and the player.&#xa;All other cards are counted as the numeric value shown on the card.&#xa;&lt;/p&gt;&#xa;&lt;p&gt;&#xa;After receiving the initial two cards, their value is added together.&#xa;The player then has the option of getting a &apos;hit&apos; to receive an additional card, or to &apos;stand&apos; and stop receiving more cards.&#xa;In a given round, the player or the dealer win by reaching 21 or by having the highest score that is less than 21.&#xa;&lt;/p&gt;&#xa;&lt;p&gt;&#xa;Scoring higher than 21 (called a &apos;bust&apos;) results in a loss. &#xa;If the dealer busts, the player wins by having any final score that is less than 21.&#xa;&lt;/p&gt;&#xa;If both the dealer&apos;s and player&apos;s cards add up to the same number, that hand is considered a tie and is called a &apos;push&apos;.&#xa;The player doesn&apos;t win or lose any money on a push.&#xa;&#xa;&lt;/html&gt;"/>
      </Properties>
    </Component>
  </SubComponents>
</Form>