HiI am very new to JavaScript programming (where have I been all my life to start so late with JavaScript?!-& I only have basic programming knowledge/abilites). I want to show in browser a 2D chessboard array

Adding to table has helped cells in mid board area display better.Now I want to add javascript to this to move pieces (text) around the board with drag and drop (after that add AI for a chess engine & I will have a javascript chess gui of my own!)..

SimonMany thanks for your quick & helpful post.At the moment I find for loops & 2D arrays difficult to understand!I hope with more practice & study I will understand better. Thank you very much for your help

Paul_Wilkins
—
2011-09-10T14:01:21Z —
#5

richardpd said:

Adding to table has helped cells in mid board area display better.Now I want to add javascript to this to move pieces (text) around the board with drag and drop (after that add AI for a chess engine & I will have a javascript chess gui of my own!)..

That sounds like quite the challenge. Here's some resources that might be of some use for you.

And while this mediocre chess blog is from someone creating Java chess instead of JavaScript chess, most of his blog contains valuable information about the process of creating a chess-playing program.

richardpd
—
2011-09-10T15:58:03Z —
#6

PaulThanks for your helpful post. Lot of helpful info with those links.