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

5
LINES

< > BotCompany Repo | #1026619 - ai_isZShapeSextet

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2196L/14K).

sbool ai_isZShapeSextet(Pair<T3S> p) {
  ret p != null && (
    empty(p.a.a) && empty(p.b.c) && nempty(p.b.a) && nempty(p.a.c) ||
    empty(p.a.c) && empty(p.b.a) && nempty(p.b.c) && nempty(p.a.a));
}

download  show line numbers  debug dex   

Travelled to 3 computer(s): mqqgnosmbjvj, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026619
Snippet name: ai_isZShapeSextet
Eternal ID of this version: #1026619/2
Text MD5: 76db3ae0a71f949feea01119908c7316
Transpilation MD5: de52598834ea416143c54a0d4aa6179c
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-16 19:05:01
Source code size: 204 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 11 / 24
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1026619 & http://1026619.tinybrain.de