Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1024710 // chess_isLightSquareIndex - with index from 0 to 63

JavaX fragment (include)

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: 138 / 172
Referenced in: [show references]