[iagno] Rewrite help Shortcuts page.



commit 7eb70ec5880f4f8de38972814acaf23c5b2f024a
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Jan 30 18:30:03 2020 +0100

    Rewrite help Shortcuts page.
    
    Sync it with the Keyboard Shortcuts
    dialog. TODO: Links to games pages.

 help/C/shortcuts.page | 106 ++++++++++++++++++++++++++++++++++++++++----------
 1 file changed, 85 insertions(+), 21 deletions(-)
---
diff --git a/help/C/shortcuts.page b/help/C/shortcuts.page
index 642f026..48611a2 100644
--- a/help/C/shortcuts.page
+++ b/help/C/shortcuts.page
@@ -1,37 +1,101 @@
 <page xmlns="http://projectmallard.org/1.0/";
       type="topic" style="task"
       id="shortcuts">
+
   <info>
     <link type="guide" xref="index#advanced" />
-    <revision version="0.1" date="2012-03-08" status="final"/>
+    <revision pkgversion="3.36" version="0.2" date="2020-01-30" status="final"/>
 
     <credit type="author copyright">
       <name>Brian Grohe</name>
       <email>grohe43 gmail com</email>
       <years>2012</years>
     </credit>
+    <credit type="author copyright">
+      <name>Arnaud Bonatti</name>
+      <email>arnaud bonatti gmail com</email>
+      <years>2020</years>
+    </credit>
 
-    <desc></desc>
+    <license>
+      <p>Creative Commons Share Alike 3.0</p>
+    </license>
   </info>
 
   <title>Keyboard shortcuts</title>
-  <table frame="all" rules="cols" shade="rows">
-       <tr>
-         <td><p>New game</p></td>
-         <td><p><keyseq><key>Ctrl</key><key>N</key></keyseq></p></td>
-       </tr>
-       
-       <tr>
-         <td><p>Undo Move</p></td>
-         <td><p><keyseq><key>Ctrl</key><key>Z</key></keyseq></p></td>
-       </tr>
-       <tr>
-          <td><p>Help</p></td>
-          <td><p><key>F1</key></p></td>
-        </tr>
-        <tr>
-          <td><p>Quit</p></td>
-          <td><p><keyseq><key>Ctrl</key><key>Q</key></keyseq></p></td>
-        </tr>
-      </table>
+
+  <p><app>Reversi</app> can easily be used with keyboard. The Classic Reversi and Reverse Reversi games are 
both played with the same shortcuts.</p><!-- TODO link xref="Classic-Reversi#classic-reversi", and similar 
for Reverse Reversi, as in Taquin -->
+
+  <section id="game-selection">
+    <title>During game selection</title>
+    <table frame="all" rules="cols" shade="rows">
+      <tr>
+        <td><p>Start new game</p></td>
+        <td><p><keyseq><key>Shift</key><key>Ctrl</key><key>N</key></keyseq></p></td>
+      </tr>
+      <tr>
+        <td><p>Go back</p></td>
+        <td><p><key>Escape</key></p></td>
+      </tr>
+    </table>
+  </section>
+
+  <section id="how-to-play">
+    <title>Play with keyboard</title>
+    <table frame="all" rules="cols" shade="rows">
+      <tr>
+        <td><p>Select where to play</p></td>
+        <td><p><key>Left</key>, <key>Right</key>, <key>Up</key> and <key>Down</key></p></td>
+      </tr>
+      <tr>
+        <td><p>Select the given row</p></td>
+        <td><p><key>1</key> to <key>8</key></p></td>
+      </tr>
+      <tr>
+        <td><p>Select the given column</p></td>
+        <td><p><key>a</key> to <key>h</key></p></td>
+      </tr>
+      <tr>
+        <td><p>Play on selected tile</p></td>
+        <td><p><key>Return</key>, <key>Space</key></p></td>
+      </tr>
+    </table>
+  </section>
+
+  <section id="during-game">
+    <title>During a game</title>
+    <table frame="all" rules="cols" shade="rows">
+      <tr>
+        <td><p>New game</p></td>
+        <td><p><keyseq><key>Ctrl</key><key>N</key></keyseq></p></td>
+      </tr>
+      <tr>
+        <td><p>Undo last move</p></td>
+        <td><p><keyseq><key>Ctrl</key><key>Z</key></keyseq></p></td>
+      </tr>
+    </table>
+  </section>
+
+  <section id="generic-shortcuts">
+    <title>Generic</title>
+    <table frame="all" rules="cols" shade="rows">
+      <tr>
+        <td><p>Keyboard shortcuts</p></td>
+        <td><p><keyseq><key>Ctrl</key><key>?</key></keyseq>, 
<keyseq><key>Ctrl</key><key>F1</key></keyseq></p></td>
+      </tr>
+      <tr>
+        <td><p>Help</p></td>
+        <td><p><key>F1</key></p></td>
+      </tr>
+      <tr>
+        <td><p>About</p></td>
+        <td><p><keyseq><key>Shift</key><key>F1</key></keyseq></p></td>
+      </tr>
+      <tr>
+        <td><p>Quit</p></td>
+        <td><p><keyseq><key>Ctrl</key><key>Q</key></keyseq></p></td>
+      </tr>
+    </table>
+  </section>
+
 </page>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]