<page xmlns="http://projectmallard.org/1.0/"
	type="topic" style="task"
	id="reversi">

  <info>
    <link type="guide" xref="index#games"/>

    <revision pkgversion="1.0" version="1.0" date="2017-03-07" status="review"/>
    <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>

    <credit type="author">
      <name>Gregory Lozet</name>
      <email>gregorylozet@gmail.com</email>
    </credit>

    <desc>Get the majority of disks turned to display your color.</desc>
  </info>

  <title>Reversi</title>
  <p>Reversi is a strategy board game for two players, played on an 8×8 uncheckered board.</p>

  <section id="reversi-rules">
    <title>Rules</title>
    <p>Each of the disks' two sides corresponds to one player.</p>
    <p>The game begins with four disks placed in a square in the middle of the grid, two facing white side up, two pieces with the dark side up, with same-colored disks on a diagonal with each other.</p>
    <p>The dark player moves first.</p>
    <p>The players must place a piece with their color side up on the board, in such a position that there exists at least one straight (horizontal, vertical, or diagonal) occupied line between the new piece and another owned piece, with one or more contiguous opponent pieces between them.</p>
    <p>After placing the piece, the player turns over (flips, captures) all opponent pieces lying on a straight line between the new piece and any anchoring owned pieces.</p>
    <p>A valid move is one where at least one piece is reversed.</p>
    <p>Players take alternate turns. If one player can not make a valid move, play passes back to the other player. When neither player can move, the game ends.</p>
    <p>The player with the most pieces on the board at the end of the game wins.</p>
  </section>

  <section id="reversi-gameplay">
    <title>Game play</title>
    <p>You can use your mouse and click on a particular empty square to put a disk on this square.</p>
  </section>
</page>
