Live data from Hacker News

Static Chess

val.town

121–127 of 127 posts

Re: Static Chess

#121

Nice that it detects valid moves, But it doesn't know about checkmate? https://chess.maxmcd.com/r1b1kRnr/p1ppB2p/n2P2p1/8/7P/1p6/PP... Should say checkmate?

If checkmates actually said ‘checkmate’ on them you’d be able to find them once the Google bot has indexed the whole site.

Ideally every page needs to include a string summarizing every preceding board state leading up to it, so you can search for a current board state plus ‘checkmate white’ to find every possible way to win from a given board state.

Then all that remains to turn Google into the ultimate chess oracle is to persuade your opponent to make all the moves you found.

Re: Static Chess

#122

Earlier quoted context omitted.

It also doesn't allow en passant

Wow, I’ve never even heard of en passant. These kind of niche obscure rules seem antithetical to the elegant nature of chess.

On one hand this kind of rules seem like tacked on, artificial, but on the other hand en passant has been introduced for a good reason and chess would be quite dull without it.

Re: Static Chess

#123

This isn't really static right? It's still dynamically rendered by the backend each time you request the page. There aren't 999999919291293923 pre-rendered pages living on a server somewhere.

> There aren't 999999919291293923 pre-rendered pages living on a server somewhere

There are. They're just compressed with an application-specific compression approach.

Re: Static Chess

#125
post #94
post #81

> Plain, brutalist, no bloat chess. Every page is only html and css. Every chess move is made by clicking a link. Send a link to your friend and they'll send you one back to make your move. No silly animations or slick interactivity to trip up your gameplay. When Google indexes this site will we successfully compute all possible chess moves? > Functionality is quite limited, and things might be broken. Please let me…

Yeah the idea that you wouldn't want animations in a GAME is hilarious. It must either be a joke or this person is really that far up the "the web shouldn't have js" culty asscrack.

Why would animations, or JS, be inherently necessary for a game?

Re: Static Chess

#126
post #94

Earlier quoted context omitted.

Yeah the idea that you wouldn't want animations in a GAME is hilarious. It must either be a joke or this person is really that far up the "the web shouldn't have js" culty asscrack.

Why would animations, or JS, be inherently necessary for a game?

It's cool and interesting to make a game that doesn't require those. But it puts extreme limitations on the game. There is no reason to aspire to making only games that include no js and animations. If there's ever a usecase for JS and animations its a game. Games are usually dynamic. Games usually involve moving visuals. Saying those things are unecessary means you're the guy at the game party who refuses to play Catan because tic tac toe is enough.
Post reply on HN