Live data from Hacker News

Static Chess

val.town

41–50 of 127 posts

Re: Static Chess

#41

Fun fact: you can use this to play chess960 (i.e. fischer random chess), or any other "custom start position" variant, just by appending a FEN to the URL (replace spaces with underscores). Example: https://chess.maxmcd.com/bbnqrknr/pppppppp/8/8/8/8/PPPPPPPP/...

Chess960 also has different castling rules from normal chess though, and the site can't know it should use those just from the FEN?

That depends - Chess960 doesn't have different castling rules from normal chess, it just has additional considerations that normal chess does not.

In other words, Chess960's castling rules are completely consistent with normal chess castling rules, so depending on how it is implemented, it might just work.

Re: Static Chess

#46
post #39
post #11

Learned about https://fav.farm and https://val.town from this. Neat resources!

when is it useful to have a "quick favicon?"

Not OP, but having a favicon—any favicon, really—during prototyping helps me get a feel for my project's identity, and, more pragmatically, gets rid of incessant 404s.

Re: Static Chess

#49
Haha this one got me good. I was poking around the code looking for how the url is transformed into a chess board state, but its JavaScript in 2024 so of course my journey was a short one ending in an NPM import. You’ve gotta laugh, you’ve just gotta laugh…

Obviously very cool idea and implementation tho! I think the answer to the google question is “probably”

Post reply on HN