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
+ h3.blue.section Tips
p.section.
- Each variant page offers two modes: against a human or computer opponent,
- which is here to help learning the rules.
+ On a variant page, read the rules by clicking on the title "<Variant> rules".
+ 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]
3. send an email to
#[a(href="mailto:contact@vchess.club?subject=[vchess.club] bug report") contact@vchess.club]
with relevant comments and the PGN attached. Thank you!
+ input#modal-b4welcome.modal(type="checkbox")
+ div(role="dialog")
+ #b4welcome.card.text-center
+ label.modal-close(for="modal-b4welcome")
+ h3.blue.section First visit?
+ p Please
+ span(style="color:blue;text-decoration:underline;cursor:pointer" @click="showWelcomeMsg") read this
+ span before playing ☺
input#modal-welcome.modal(type="checkbox")
div(role="dialog")
#welcome.card.text-center
(otherwise it's no longer a variant but a whole new game!).
p(style="font-style:italic;color:purple") However...
p Each variant has its own new rules, which can involve
- ul
- li * different pieces movements
- li * different chessboard(s)
- li * new pieces
- li * moves side effects
- li ...and so on
+ table.list-table
+ tbody
+ tr
+ td * different pieces movements
+ tr
+ td * different chessboard(s)
+ tr
+ td * new pieces
+ tr
+ td * moves side effects
+ tr
+ td ...and so on
.section
p.
Example: imagine that a capture is an atomic explosion, wiping all adjacent squares
p.
For informations about hundreds (if not thousands!) of variants, you
can visit the excellent #[a(href="https://www.chessvariants.com/") chessvariants] website.
- p(style="cursor:pointer;color:darkgrey" onClick="setCookie('visited','1');document.getElementById('modal-welcome').checked=false") Do not annoy me again!
+ p(style="cursor:pointer;color:darkred" onClick="setCookie('visited','1');document.getElementById('modal-welcome').checked=false") Click here to not show this message next time
p(style="font-size:0.8em") Image credit: #[a(href="https://en.wikipedia.org/wiki/List_of_chess_variants#/media/File:Hexagonal_chess.svg") Wikpedia]
.row
my-variant-summary(