Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.javascript Subject: Re: Programming chess, rules Date: Tue, 21 Jul 2020 11:50:04 +0200 Lines: 19 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net d64JfCA1IVILysc6NHQ9QQgijoN7uqpffT1iPqeMtYTl3ILC0Y Cancel-Lock: sha1:FMjNyPJ0mwFLh1wAPUbtC6q9/mo= In-Reply-To: Xref: csiph.com comp.lang.javascript:38567 Jonas Thörnvall: > Got a little taste for graphical programming. But it was a long time > since i did program any sort of game. I think i can see how to > program the actual piece movement of pieces "except for maybe > castling and draw, and possibly other specialities". > > But howto treat the squares of board? Is each square just an object > ID with two properties "occupied/free" "black and white"? [...] *scnr* -- Arno Welzel https://arnowelzel.de