<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY appname "GNOME Mastermind">
<!ENTITY app "<application>GNOME Mastermind</application>">
<!ENTITY appversion "0.3">
<!ENTITY manrevision "0.2">
<!ENTITY date "May 2007">
<!-- Information about the entities
       Use the app and appname entities to specify the name of the application.  
       Use the appversion entity to specify the version of the application.
       Use the manrevision entity to specify the revision number of this manual.
       Use the date entity to specify the release date of this manual.
-->]>
<!-- 
  This is a GNOME documentation template, designed by the GNOME
  Documentation Project Team. Please use it for writing GNOME
  documentation, making obvious changes, such as:
  - all the words written in UPPERCASE (with the exception of GNOME) 
    should be replaced. As for "legalnotice", please leave the reference
    unchanged.
  - all id attributes should have 'myapp' replaced

  Remember that this is a guide, rather than a perfect model to follow
  slavishly. Make your manual logical and readable: see the GDP Style Guide for
 more on this.
-->
<!--
      (Do not remove this comment block.)
  Maintained by the GNOME Documentation Project
  http://live.gnome.org/DocumentationProject
  Template version: 3.0 beta
  Template last modified 2006-11-21

-->
<!-- =============Document Header ============================= -->
<article id="index" lang="de">
  <articleinfo> 
    <title><application>GNOME Mastermind</application>-Handbuch</title>
    <abstract role="description">
      <para><application>GNOME Mastermind</application> ist ein <trademark class="trade">Mastermind</trademark>-ähnliches Spiel für die GNOME-Arbeitsumgebung.</para>
    </abstract>         

    <copyright lang="en"> 
      <year>2007</year> 
      <holder>Filippo Argiolas</holder> 
    </copyright> 

    <!-- An address can be added to the publisher information. -->
    <publisher role="maintainer"> 
      <publishername>Filippo Argiolas</publishername> 
    </publisher> 

	  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="legal.xml"/>
    <!-- The file legal.xml contains link to license for the documentation, 
        and other legal stuff such as "NO WARRANTY" statement. 
        Please do not change any of this. -->

    <authorgroup> 
      <author role="maintainer" lang="en"> 
    		<firstname>Filippo</firstname> 
    		<surname>Argiolas</surname> 
		<affiliation>
		  <address>
		    <email>filippo.argiolas@gmail.com&gt;</email>
		  </address>
		</affiliation>
      </author> 
      <corpauthor>Filippo Argiolas</corpauthor> 
    </authorgroup>
    

<!-- According to GNU FDL, revision history is mandatory if you are -->
<!-- modifying/reusing someone else's document.  If not, you can omit it. -->
<!-- Remember to remove the &manrevision; entity from the revision entries other
-->
<!-- than the current revision. -->
<!-- The revision numbering system for GNOME manuals is as follows: -->
<!-- * the revision number consists of two components -->
<!-- * the first component of the revision number reflects the release version of the GNOME desktop. -->
<!-- * the second component of the revision number is a decimal unit that is incremented with each revision of the manual. -->
<!-- For example, if the GNOME desktop release is V2.x, the first version of the manual that -->
<!-- is written in that desktop timeframe is V2.0, the second version of the manual is V2.1, etc. -->
<!-- When the desktop release version changes to V3.x, the revision number of the manual changes -->
<!-- to V3.0, and so on. -->  
    <revhistory>
      <revision lang="en"> 
		<revnumber>GNOME Mastermind Manual V0.2</revnumber> 
		<date>May 2007</date> 
		<revdescription> 
	  		<para role="author" lang="en">Filippo Argiolas
        <!-- The email address of the author is optional and is commented out by default.  
	    	<email>docwriter2@gnome.org</email> -->
	  		</para>
	  		<para role="publisher" lang="en">Filippo Argiolas</para>
		</revdescription> 
      </revision> 
    </revhistory> 

    <releaseinfo>Diese Handbuch beschreibt Version 0.3 von GNOME Mastermind.</releaseinfo> 
    <legalnotice> 
      <title>Rückmeldungen</title> 
    <para lang="en">
      Please report any bug at
      <ulink url="https://gna.org/bugs/?func=additem&amp;group=gnome-mastermind">Bug
      tracker at gna.org</ulink> or sign-up to the public mailing-list
      listed in the project homepage to give us feedback.
      </para>
    <!-- Translators may also add here feedback address for translations -->
    </legalnotice> 
  </articleinfo> 

  <indexterm zone="index" lang="en"> 
    <primary><application>GNOME Mastermind</application></primary> 
  </indexterm> 

<!-- ============= Document Body ============================= -->
<!-- ============= Introduction ============================== -->
<!-- Use the Introduction section to give a brief overview of what
     the application is and what it does. -->
  <sect1 id="myapp-introduction"> 
    <title>Einführung</title> 
    <sect2 id="the-game">
      <title>Das Spiel</title>
      <para lang="en">
	At first here's a brief introduction about the classic game
	that this one resembles (source: wikipedia).
      </para>
      <para lang="en">
	<trademark class="trade">Mastermind</trademark> is a code-breaking game
for
	two players, invented in 1970 by Mordecai Meirowitz, that has
	been very popular during the 80s.
      </para>
      <para lang="en">
	The game is played by 2 players:
	the <emphasis>codemaker</emphasis> and
	the <emphasis>codebreaker</emphasis>.  

	The codemaker, places in its side of the board (hidden from
	the other), a combination of 4 colors.  The codebreaker has to
	guess that pattern (both order and colors) with the least
	number of tries. At each turn (12 in the most common version),
	the codebreaker tries a pattern and the codemaker gives him
	feedback placing a white peg for each right color with wrong
	position and a colored peg for each both color and position
	right item of the combination guessed, in the score grid.
      </para>
      <para lang="en">
	Once he got feedback, the codebreaker tries another guess
	following codemaker hints. Obviously the game is won by
	codemaker if the codebreaker fails every guess.
      </para>
    </sect2>
    <sect2 id="this-game">
      <title>Dieses Spiel</title>
      <para lang="en">
	<application>GNOME Mastermind</application> is a solitaire version that resembles the classic
	game. The codemaker role is taken by computer.
      </para>
      <para lang="en"> The player has to guess a four color combination (note
	  that each color can be repeated). Computer prints (with
	  default theme selected) a red peg for each right color in
	  the right position and a white peg for each right color
	  misplaced.
      </para>
    </sect2>
    <sect2 id="get-started">
      <title>Erste Schritte</title>
      <para>Sie können <application>GNOME Mastermind</application> auf folgende Arten starten:</para> 
      <variablelist>
    	<varlistentry>
    	  <term>Aus dem <guimenu>Anwendungsmenü</guimenu>,</term>
    	  <listitem>
    	    <para lang="en">Choose 
    	      <menuchoice>
    		<guisubmenu>Games</guisubmenu>
    		<guimenuitem>Mastermind</guimenuitem>
    	      </menuchoice>. </para>
    	  </listitem>
    	</varlistentry>
    	<varlistentry>
    	  <term>Befehlszeile</term>
    	  <listitem>
    	    <para>Zum Starten von <application>GNOME Mastermind</application> über die Befehlszeile geben Sie folgenden Befehl ein und bestätigen ihn mit der <keycap>Eingabetaste</keycap>:</para>
    	    <para lang="en"> 
	      <command>gnome-mastermind</command> 
    		</para> 
    	  </listitem>
    	</varlistentry>
      </variablelist>

    <para>Hier ein Bildschirmfoto von <application>GNOME Mastermind</application> mit einem typischen Spiel</para>

    <!-- ==== Figure ==== -->
      <figure id="mainwindow-fig"> 
	<title>Startfenster von <application>GNOME Mastermind</application></title> 
	<screenshot> 
	  <mediaobject lang="en"> 
	    <imageobject><imagedata fileref="figures/mainwindow.png" format="PNG"/> 
	    </imageobject>
	    <!-- EPS versions of the figures are not required at the moment. -->
            <!-- 
		    <imageobject>
      		<imagedata fileref="figures/image.eps" format="EPS"/>
    		    </imageobject>
	    -->
	    <textobject> 
	      <phrase>Shows <application>GNOME Mastermind</application> main window. Contains titlebar, menubar, toolbar, display area, and
	      scrollbars. Menubar contains File, View, Settings, and Help menus. </phrase> 
	    </textobject>
	  </mediaobject> 
	</screenshot> 
      </figure>
    <!-- ==== End of Figure ==== -->

    <!-- Include any descriptions of the GUI immediately after the screenshot of the main UI, -->
    <!-- for example, the items on the menubar and on the toolbar. This section is optional. -->

    <para>Zunächst ein Blick auf die Benutzeroberfläche des Spiels. Von oben nach unten:</para>
      <variablelist>
	<varlistentry>
	<term>Menüleiste.</term>
	<listitem>
	<para>Die Menüs in der Menüleiste enthalten alle Befehle, die Sie für die Bedienung von <application>GNOME Mastermind</application> benötigen.</para>
	</listitem>
	</varlistentry>
	<varlistentry>
	<term>Werkzeugleiste.</term>
	<listitem>
	<para>Die Werkzeugleiste enthält eine Auswahl an Befehlen, die Sie häufiger benötigen werden.</para>
	</listitem>
	</varlistentry>
	<varlistentry>
	<term>Spielbereich.</term>
	<listitem>
	<para lang="en">From left to right you can see main grid where pegs are
	placed, and score grid where computer gives us feedback</para>
	</listitem>
	</varlistentry>
	<varlistentry>
	<term>Informationsbereich.</term>
	<listitem>
	<para lang="en">That's the colored pegs tray. Click here with first
	mouse button to select a ball. Click then in a main grid
	active cell to place the peg.</para>
	<para lang="en">Middle click on a peg in the tray area places it in the first available cell.</para>
	</listitem>
	</varlistentry>
	</variablelist>
    </sect2>
    <sect2 id="scuts">
      <title>Kürzel</title>
      <itemizedlist> 
	<listitem> 
	  <para lang="en"> 
	    <guilabel>First button click</guilabel> </para> 
	  <para lang="en">Select peg if done in tray area. Place it if
	    done in main grid cells.</para>
	</listitem> 
	<listitem>
	  <para lang="en">
	    <guilabel>First button Drag and Drop</guilabel> </para>
	  <para lang="en">Place peg moving it from the tray area to an active cell.</para>
	</listitem>
	<listitem> 
	  <para lang="en">
	    <guilabel>First button double click</guilabel> or
	    <guilabel>Middle button single click</guilabel> </para> 
	  <para lang="en">Available only in tray area, place ball to
	    first free active cell.</para>
	</listitem> 
	<listitem> 
	  <para lang="en"> 
	    <guilabel>Ctrl + Z</guilabel> </para> 
	  <para>Macht den letzten Zug rückgängig.</para> 
	</listitem> 
	<listitem> 
	  <para lang="en"> 
	    <guilabel>Shift + Ctrl + Z</guilabel> </para> 
	  <para>Wiederholt den letzten rückgängig gemachten Zug.</para> 
	</listitem> 
	<listitem> 
	  <para lang="en"> 
	    <guilabel>Ctrl + N</guilabel> </para> 
	  <para>Startet ein neues Spiel.</para> 
	</listitem> 
	<listitem> 
	  <para lang="en"> 
	    <guilabel>Ctrl + Q</guilabel> </para> 
	  <para>Beendet das Spiel und schließt das Fenster.</para> 
	</listitem> 
	<listitem> 
	  <para lang="en"> 
	    <guilabel>Ctrl + P</guilabel> </para> 
	  <para>Öffnet den Einstellungsdialog.</para> 
	</listitem> 
	<listitem> 
	  <para lang="en"> 
	    <guilabel>F1</guilabel> </para> 
	  <para>Zeigt dieses Handbuch an.</para> 
	</listitem> 
      </itemizedlist> 
      <note>
	  <itemizedlist>
	    <listitem>
	      <para lang="en"> You can also place pegs <emphasis>over</emphasis> already placed pegs (on the current row). </para>
	    </listitem>
	    <listitem>
	      <para lang="en"> Placing the last peg of a row starts current guess validation (with no chance to undo or replace it) so be careful if you are not sure. </para>
	    </listitem>
	  </itemizedlist>
      </note>
    </sect2>
    <sect2>
    <title id="walkthrough" lang="en">Walk through a game session</title>
    <para lang="en">Let's now take a look at the previous session screen step by step:</para>
    <!-- ==== Figure ==== -->
      <figure id="row1-fig"> 
	<title lang="en"><application>GNOME Mastermind</application> First row</title> 
	<screenshot> 
	  <mediaobject lang="en"> 
	    <imageobject><imagedata fileref="figures/row1.png" format="PNG"/> 
	    </imageobject>
	    <!-- EPS versions of the figures are not required at the moment. -->
            <!-- 
		    <imageobject>
      		<imagedata fileref="figures/image.eps" format="EPS"/>
    		    </imageobject>
	    -->
	    <textobject> 
	      <phrase>First row</phrase>
	    </textobject>
	  </mediaobject> 
	</screenshot> 
      </figure>
    <!-- ==== End of Figure ==== -->
    <para lang="en">This is the first guess. As you can see the score grid is empty because no right peg has been chosen.</para>
    <!-- ==== Figure ==== -->
      <figure id="row2-fig"> 
	<title lang="en"><application>GNOME Mastermind</application> Second row</title> 
	<screenshot> 
	  <mediaobject lang="en"> 
	    <imageobject><imagedata fileref="figures/row2.png" format="PNG"/> 
	    </imageobject>
	    <!-- EPS versions of the figures are not required at the moment. -->
            <!-- 
		    <imageobject>
      		<imagedata fileref="figures/image.eps" format="EPS"/>
    		    </imageobject>
	    -->
	    <textobject> 
	      <phrase>Second row</phrase>
	    </textobject>
	  </mediaobject> 
	</screenshot> 
      </figure>
    <!-- ==== End of Figure ==== -->
    <para lang="en">Here we have 3 white score pegs. It means that we catched 3 right colors but placed them in wrong order. We are following the good path.</para>
    <!-- ==== Figure ==== -->
      <figure id="row3-fig"> 
	<title lang="en"><application>GNOME Mastermind</application> Third row</title> 
	<screenshot> 
	  <mediaobject lang="en"> 
	    <imageobject><imagedata fileref="figures/row3.png" format="PNG"/> 
	    </imageobject>
	    <!-- EPS versions of the figures are not required at the moment. -->
            <!-- 
		    <imageobject>
      		<imagedata fileref="figures/image.eps" format="EPS"/>
    		    </imageobject>
	    -->
	    <textobject> 
	      <phrase>Third row</phrase>
	    </textobject>
	  </mediaobject> 
	</screenshot> 
      </figure>
    <!-- ==== End of Figure ==== -->
    <para lang="en">Leaving the same color combination and changing order leads us to the solution. But we still have to understand which one is wrong!</para>
    <!-- ==== Figure ==== -->
      <figure id="row4-fig"> 
	<title lang="en"><application>GNOME Mastermind</application> Fourth row</title> 
	<screenshot> 
	  <mediaobject lang="en"> 
	    <imageobject><imagedata fileref="figures/row4.png" format="PNG"/> 
	    </imageobject>
	    <!-- EPS versions of the figures are not required at the moment. -->
            <!-- 
		    <imageobject>
      		<imagedata fileref="figures/image.eps" format="EPS"/>
    		    </imageobject>
	    -->
	    <textobject> 
	      <phrase>Fourth row</phrase>
	    </textobject>
	  </mediaobject> 
	</screenshot> 
      </figure>
    <!-- ==== End of Figure ==== -->
    <para lang="en">Inserting a random color make a white score peg come out. Since we didn't change other color pegs order we've just found the missing color!</para>
    <!-- ==== Figure ==== -->
      <figure id="row5-fig"> 
	<title lang="en"><application>GNOME Mastermind</application> Last row</title> 
	<screenshot> 
	  <mediaobject lang="en"> 
	    <imageobject><imagedata fileref="figures/row5.png" format="PNG"/> 
	    </imageobject>
	    <!-- EPS versions of the figures are not required at the moment. -->
            <!-- 
		    <imageobject>
      		<imagedata fileref="figures/image.eps" format="EPS"/>
    		    </imageobject>
	    -->
	    <textobject> 
	      <phrase>Last row</phrase>
	    </textobject>
	  </mediaobject> 
	</screenshot> 
      </figure>
    <!-- ==== End of Figure ==== -->
    <para lang="en">Yeah! Restoring removed peg and replacing another one with the new right color makes everything turn right. We won :D!</para>
    </sect2>
    <sect2 id="cmsoon">
      <title>Demnächst</title> 
      <para>Die nächsten Veröffentlichungen werden hoffentlich ein ausführlicheres Handbuch enthalten, welches die Anpassungsmöglichkeiten im Einstellungsmenü besser erklärt. Außerdem wird ein einfacher Leitfaden zum Erstellen und Veröffentlichen neuer Themen enthalten sein.</para>
    </sect2>
  </sect1>

<!-- ============= About ================================== -->
<!-- This section contains info about the program (not docs), such as
      author's name(s), web page, license, feedback address. This
      section is optional: primary place for this info is "About.." box of
      the program. However, if you do wish to include this info in the
      manual, this is the place to put it. Alternatively, you can put this information in the title page.-->
  <sect1 id="myapp-about"> 
    <title>Info zu <application>GNOME Mastermind</application></title> 
    <para><application>GNOME Mastermind</application> wurde von Filippo Argiolas (<email>filippo.argiolas@gmail.com</email>) geschrieben. Weitere Informationen über <application>GNOME Mastermind</application> finden Sie auf der <ulink url="http://www.autistici.org/gnome-mastermind" type="http"><application>GNOME Mastermind</application>-Webseite</ulink>.</para>
    <para lang="en">
      For copyright issues check the about dialog and, most of all, copyright and copyright-artwork files in source tree or in the package data dir (usually /usr/share/gnome-mastermind).
    </para>
    <para lang="en">
      Please report any bug at 
      <ulink url="https://gna.org/bugs/?func=additem&amp;group=gnome-mastermind">Bug tracker at gna.org</ulink>
      or sign-up to the public mailing-list listed in the project homepage to give us feedback.
    </para>
    <para>Dieses Programm ist freie Software, Sie können sie weitergeben und/oder
 verändern solange Sie sich an die Regeln der GNU General Public License
 halten, so wie sie von der Free Software Foundation festgelegt wurden;
 entweder in Version 2 der Lizenz oder (nach Ihrem Ermessen) in jeder folgenden Lizenz. Eine <ulink url="ghelp:gpl" type="help">Kopie dieser Lizenz</ulink> ist mit dieser Dokumentation geliefert, eine weitere finden Sie in der Datei COPYING, die im Quellcode dieses Programms enthalten ist.</para>

  </sect1> 
</article>
