You're viewing a comment by Sundar Srinivasan and its responses.

September 02, 2010, 01:57

It's a marvelous piece of work for a one-day-and-three-people effort. I tried it and voted for it. You could have also allowed users to hook up other chess engines like GNUChess or Rybka. Another improvement that I can think of is to enable user to extract the moves as a PGN.
But in a one day schedule, you did a lot. Writing a working chess engine within that time is something great. Is there a place where I can get the chess engine code?

Comment Responses

September 02, 2010, 06:59

Well the chess engine just reports the valid moves for the user. It does not play chess itself.

It's here: http://github.com/pkrumins/node-chess/blob/master/lib/game/movegenerator.js

September 02, 2010, 17:51

Oh.. ok. I played with another friend, but did not try playing with the server - to find out that actually I could not have been able to play with the server itself. When you said you developed chess engine, I made an assumption that it would play chess, and also wondered how you could get that done in a single day.

Thanks for the link to the code.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "cloud_237": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.