4 link(rel="stylesheet", href="/stylesheets/index.css")
10 h1.text-center.main-title Welcome to v[ariant] chess club !
12 span.help(onClick="document.getElementById('modal-help').checked=true")
14 a(href="/demo.webm") Demo !
15 input#modal-help.modal(type="checkbox")
18 label.modal-close(for="modal-help")
19 p.section First: watch #[a(href="/demo.webm") demo video] :)
20 h3.blue.section Comments
22 All games start with a random assymetric position. #[br]
23 Games are untimed, and played anonymously. #[br]
24 No chat, to rather focus on the moves :)
25 h3.red.section Bug report
27 | If you find a bug in a game, please follow this procedure: #[br]
28 | 1. stop playing: click on the resign button; #[br]
29 | 2. click on the PGN to download it; #[br]
31 a(href="mailto:contact@vchess.club?subject=[vchess.club] bug report")
33 | with relevant comments and the PGN attached. Thank you!
34 input#modal-b4welcome.modal(type="checkbox")
36 #b4welcome.card.text-center
37 label.modal-close(for="modal-b4welcome")
38 h3.blue.section First visit?
40 span.read-this(@click="showWelcomeMsg") read this
41 span before playing ☺
42 input#modal-welcome.modal(type="checkbox")
44 #welcome.card.text-center
45 label.modal-close(for="modal-welcome")
46 h3.blue.section Welcome to vchess.club!
48 p A fun place to play chess variants in real time!
49 p But wait... what is a chess variant?
50 img(src="/images/Hexagonal_chess.svg")
52 As suggested by the picture, a variant setup generally
53 looks more or less like a chessboard with regular pieces
54 (otherwise it's no longer a variant but a whole new game!).
56 p Each variant has its own new rules, which can involve
60 td * different pieces movements
62 td * different chessboard(s)
66 td * moves side effects
71 Example: imagine that a capture is an atomic explosion, wiping all
72 adjacent squares – except the pawns, which as cockroaches can
73 resist this kind of event.
74 p Also state a goal: make the opponent's king explode.
75 p → Congrats, you defined Atomic chess! (Playable here)
77 p.emphasis OK, this all sounds interesting, but why would that be fun?
79 Because all games here start with a random setup: no more boring
80 openings memorization, you have to rely on your chess skills only.
81 p Moreover, I claim that the chosen variants here are fun to play :)
83 var wikipediaUrl = "https://en.wikipedia.org/wiki/" +
84 "List_of_chess_variants#/media/File:Hexagonal_chess.svg";
86 For informations about hundreds (if not thousands!) of variants, you
87 can visit the excellent
88 #[a(href="https://www.chessvariants.com/") chessvariants] website.
89 p.disable-msg(@click="markAsVisited")
90 | Click here to not show this message next time
91 p.smallfont Image credit: #[a(href=wikipediaUrl) Wikipedia]
94 v-for="(v,idx) in sortedCounts",
95 v-show="v.name.startsWith(curPrefix)",
101 const variantArray = !{JSON.stringify(variantArray)};
102 //JSON.parse("!{variantArray}".replace(/\"/g,'"'));
103 script(src="/javascripts/utils/misc.js")
104 script(src="/javascripts/utils/socket_url.js")
105 script(src="/javascripts/components/variantSummary.js")
106 script(src="/javascripts/index.js")