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

10
LINES

< > BotCompany Repo | #1012832 // Chess Board Web Bot

JavaX source code (desktop) [tags: ai1-lol use-pretranspiled] - run with: x30.jar - homepage

Download Jar. Libraryless. Click here for Pure Java version (1271L/9K).

1  
!7
2  
3  
html {
4  
  S position = urldecode(dropPrefix("/", uri));
5  
  position = or2(position, "start");
6  
  bool start = eq(position, "start");
7  
  ret htitle(start ? "Chess - Start Position" : "Chess - FEN: " + position)
8  
    + p(b(start ? "Start position." : "FEN: " + position))
9  
    + html_chessBoard(position);
10  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1012832
Snippet name: Chess Board Web Bot
Eternal ID of this version: #1012832/7
Text MD5: 427a2b14a377e2e8c89379321fef7345
Transpilation MD5: a6cc3d9dfbad041c123c5e6f6ff92584
Author: stefan
Category: javax / html
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-14 01:12:15
Source code size: 312 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 530 / 4896
Version history: 6 change(s)
Referenced in: [show references]