1 | sbool chess_isLightSquare(S square) { |
2 | int x, y = unpair chess_squareToPos(square); |
3 | ret even(x+y); |
4 | } |
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: | #1024695 |
Snippet name: | chess_isLightSquare |
Eternal ID of this version: | #1024695/1 |
Text MD5: | ef56460d8bd21914fdb3e56ccb3d4e6e |
Author: | stefan |
Category: | javax / chess |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-24 08:41:50 |
Source code size: | 106 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 235 / 276 |
Referenced in: | [show references] |