{"content":{"sharePage":{"page":0,"digests":[{"id":"5019339","dateCreated":"1217843471","smartDate":"Aug 4, 2008","userCreated":{"username":"oysteijo","url":"https:\/\/www.wikispaces.com\/user\/view\/oysteijo","imageUrl":"https:\/\/www.wikispaces.com\/i\/user_none_lg.jpg"},"monitored":false,"locked":false,"links":{"self":"https:\/\/chessprogramming.wikispaces.com\/share\/view\/5019339"},"dateDigested":1531478415,"startDate":null,"sharedType":"discussion","title":"Typo in code","description":"Is there a typo in the Zero Count code?
\n
\nCode is:
\n
\n attacks ^= rayAttacks[dir8][square];
\n return attacks;
\n
\nShould be (?):
\n
\n attacks ^= rayAttacks[dir8][FirstBlockingSquare];
\n return attacks;
\n
\n-\u00d8ystein","replyPages":[{"page":0,"digests":[{"id":"5020987","body":"Yes, Thank you very much, and welcome to the Chess Programming Wiki.
\n
\nCheers,
\nGerd","dateCreated":"1217867545","smartDate":"Aug 4, 2008","userCreated":{"username":"GerdIsenberg","url":"https:\/\/www.wikispaces.com\/user\/view\/GerdIsenberg","imageUrl":"https:\/\/www.wikispaces.com\/user\/pic\/1202793136\/GerdIsenberg-lg.jpg"}}],"more":0}]}],"more":false},"comments":[]},"http":{"code":200,"status":"OK"},"redirectUrl":null,"javascript":null,"notices":{"warning":[],"error":[],"info":[],"success":[]}}