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

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

!7

html {
  S position = urldecode(dropPrefix("/", uri));
  position = or2(position, "start");
  bool start = eq(position, "start");
  ret htitle(start ? "Chess - Start Position" : "Chess - FEN: " + position)
    + p(b(start ? "Start position." : "FEN: " + position))
    + html_chessBoard(position);
}

download  show line numbers  debug dex   

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

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: 212 / 3478
Version history: 6 change(s)
Referenced in: [show references]

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