sbool chess_isLightSquareIndex(int i) { ret even(i/8+i%8); }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024710 |
Snippet name: | chess_isLightSquareIndex - with index from 0 to 63 |
Eternal ID of this version: | #1024710/1 |
Text MD5: | bf6a775369fc30eadfac2ae8330db934 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-24 12:33:53 |
Source code size: | 64 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 212 / 241 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1024712 - chess_isDarkSquareIndex - with index from 0 to 63 |