blob: 1e85ae6dc5994d39da1dd64b70df82475dbeebf2 [file] [log] [blame]
<html>
<head>
<title>Start a game</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="./style.css">
</head>
<body>
<h1>Pawns Game</h1>
<div class="start">
<a class="start" href="http://www.org.eclipse.swt.examples.browser.demos.pawns/actionstart1player">1 player</a>
<a class="start" href="http://www.org.eclipse.swt.examples.browser.demos.pawns/actionstart2players">2 players</a>
</div>
<h2>How to play</h2>
This board game is a variant of Reversi and Tic Tac Toe. Each one of the two players sets a pawn on an empty cell of the board.
<h3>Pawns</h3>
<ul>
<li class="white">Player 1</li>
<li class="black">Player 2</li>
<li class="wall">Wall. Cannot be reversed.</li>
</ul>
<div class="theme">
Different themes are supported. Theme is configured through a Cascading Style Sheet (CSS) that determines how the HTML content is rendered by the SWT Browser widget.
<ul class="theme">
<li><a href="http://www.org.eclipse.swt.examples.browser.demos.pawns/actiontheme/css1">Theme 1</a></li>
<li><a href="http://www.org.eclipse.swt.examples.browser.demos.pawns/actiontheme/css2">Theme 2</a></li>
</ul>
</div>
<h2>How to win</h2>
The game ends when all cells are filled. The winner is the one with most pawns of their colour.
</body>
</html>