X-Git-Url: https://git.auder.net/pieces/cr.svg?a=blobdiff_plain;f=views%2Findex.pug;h=6e8cc0b4ab7428428df8b745de10a785d7ce6669;hb=794b8a9863358c4572726c0d89704271efcf2527;hp=f7d9d041e852b24d6bff316b83fe0e8c3bc7286c;hpb=2c99dab410af1cb902b8e6140df2348a92cf1312;p=vchess.git diff --git a/views/index.pug b/views/index.pug index f7d9d041..6e8cc0b4 100644 --- a/views/index.pug +++ b/views/index.pug @@ -13,12 +13,14 @@ block content a(href="/demo.webm") Demo ! input#modal-help.modal(type="checkbox") div(role="dialog") - .card + #help.card label.modal-close(for="modal-help") - h3.blue.section Modes - p.section. - Each variant page offers two modes: against a human or computer opponent, - which is here to help learning the rules. + h3.blue.section Tips + p.section + span.conditional-jump On a variant page, read the rules by clicking on the title "<Variant> rules". + span.conditional-jump Try playing against a human: click the leftmost "new game" button :) + | ...then, while waiting you can play against a (rather weak) bot or a friend. + // TODO? On the index page, try typing the first letters of a variant. h3.blue.section Comments p.section. All games start with a random assymetric position. #[br]