dao-game / files / public / choice.html
choice.html
cd475704 2023-10-19 Pavel Safronov | 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> | |
| 3 | ||
| 4 | <head> | |
| 5 | <meta charset="utf-8" /> | |
| 6 | <title>Dao Game</title> | |
| 7 | <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| 8 | <link rel="icon" href="yin-yang.svg" type="image/svg+xml" /> | |
| 9 | <link rel="stylesheet" href="styles.css" /> | |
| 10 | <script defer src="js/index.js"></script> | |
| 11 | </head> | |
| 12 | ||
| 13 | <body> | |
| 14 | <div class="title"> | |
| 15 | <p>Board game <a href="https://en.wikipedia.org/wiki/Dao_(game)" target="_blank" rel="noopener">Dao</a>.</p> | |
| 16 | </div> | |
| 17 | ||
| 18 | <div class="info"> | |
| 19 | The game consists of only one simple rule and three ways to win. Rules: | |
| 20 | <ul> | |
| 21 | <li>Pieces move in a straight line, including diagonally, as far as possible with no jumps.</li> | |
| 22 | </ul> | |
| 23 | Ways to win: | |
| 24 | <ol> | |
| 25 | <li>Arrange your pieces in a straight line on the board (not diagonally)</li> | |
| 26 | <li>Occupy four corners of the board</li> | |
| 27 | <li>Form a 2x2 square anywhere on the board</li> | |
| 28 | </ol> | |
| 29 | </div> | |
| 30 | <hr /> | |
| 31 | <div class="info"> | |
| 32 | <div>Play local (pass-and-play) game of Dao <a href="local.html">here</a>.</div> | |
| 33 | <!-- <div>Play online game of Dao <a href="remote.html">here</a>.</div> --> | |
| 34 | </div> | |
| 35 | ||
| 36 | <div class="info"> | |
| 37 | <p> | |
| 38 | Here is the | |
2967f3cf 2026-10-27 Pavel Safronov | 39 | <a href="https://code.fuzzyworld.net/dao-game/" target="_blank" rel="noopener">source code</a> |
cd475704 2023-10-19 Pavel Safronov | 40 | </p> |
| 41 | </div> | |
| 42 | </body> | |
| 43 | ||
| 44 | </html> |