Hacker News new | ask | show | jobs
by marcusbrown 3938 days ago
Cool!

I've been thinking to make the exact same thing in Javascript using Chess.js and Chessboard.js

https://github.com/jhlywa/chess.js/blob/master/README.md http://chessboardjs.com/

I got a half-working version and will opensource the code once it's ready.

I think it could be a nice tool to help people starting with the game, but also as an analysis tool for more advanced players.

[Edit] I just uploaded what I did so far on a server, just in case you want to take a look

http://www.hotpixel.mx/chess/index.html

my idea is to use little icons (now really terrible looking) with numbers and playing with opacity to give an idea of the strength for each square of the board. I still have some problems in some cases displaying incorrect numbers, but I hope to fix that as soon as I have some spare time :)

1 comments

Nice. Hope it'd be good if you visualize how opponent's move could affect for the player in the other end.