Edge Rewrite
// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a21e1bb40b9f52f1

Jump to content

Template talk:Chess viewer

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
(Redirected from Module talk:Chess viewer)
Latest comment: 5 months ago by SD0001 in topic Highlight last move

Knight movement animation

[edit]

Currently, the knight is animated to move horizontally first, then vertically. I think we should make it a single straight motion, as done in other websites, eg. Chess.com and Lichess. – SD0001 (talk) 12:29, 1 January 2026 (UTC)Reply

I agree, the knight movement struck me as a little unnatural, when I first came across this otherwise fantastic template. --Volvox (talk) 14:25, 3 January 2026 (UTC)Reply
 Done Looks like consensus is to make them move direct. I'm not much of a chess player myself and was going of descriptions of knights "moving in an L". Ironically the L-shaped thing was a lot harder than just making them move normal. Bawolff (talk) 21:16, 3 January 2026 (UTC)Reply
It's how first-time players are taught how the piece moves. But once you're past being a beginner, it's very unusual to actually visualise it as an L-shaped movement. – SD0001 (talk) 17:13, 4 January 2026 (UTC)Reply

Board colors

[edit]

@Bawolff, see if you wanna use the type option from Special:Diff/1330904079/1330904753 to switch to some other color combinations, e. g. Special:Permalink/1330904683. I don't really like the default one, though I know it's used in some older templates. The new boards are from c:Category:Chessboard480 Ponor (talk) 07:27, 3 January 2026 (UTC)Reply

While I am happy with the change, I'm not sure if "type" is the best choice for the parameter name. I suppose "style" is already taken. Maybe color would be better? Bawolff (talk) 21:07, 3 January 2026 (UTC)Reply
 Done Using parameter name color Bawolff (talk) 21:13, 3 January 2026 (UTC)Reply
Yeah, 'style' was already taken for what's described as 'type'. Maybe the two can be switched. I was just playing with the idea, I leave it up to you! Thanks. Ponor (talk) 21:32, 3 January 2026 (UTC)Reply

Highlight last move

[edit]

It's common for chess widgets to indicate the move that was just played, by subtly changing the color of the previous and current squares of the piece that just moved. This would be cool to have here. (Eg. see the hrwiki gadget as seen on hr:Rétijeva_studija, although I think they have over-emphasized it.) In case of castling where two pieces have moved together, only the king's position needs to be highlighted. – SD0001 (talk) 12:04, 31 January 2026 (UTC)Reply