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

34
LINES

< > BotCompany Repo | #1006901 - A. I. Game 3.4 / Close The Window If Any [SOLVED]

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Uses 3874K of libraries. Click here for Pure Java version (8884L/62K/217K).

!7

!include #1006891 // AI Game & API

p {
  showBlunderWindow = true;
  pGame();
}

//////////////////////////////////////
// Test AIs. Just add your own here //
//////////////////////////////////////

!include #1006893 // ClickAnyBLOB
!include #1006892 // MemorizeBrightBLOB
!include #1006905 // MemorizeBrightBLOB2

//////////////////
// PUZZLE MAKER //
//////////////////

static L<RGBImage> mainImages;

static Puzzle makePuzzle() {
  if (mainImages == null)
    mainImages = loadImages(#1006879, #1006889, #1006895);
  L<Rect> solutions = ll(
    pointsRect(522, 162, 540, 179),
    pointsRect(449, 70, 466, 84),
    null);
    
  ret makeClickPuzzle("Close the window:", "I see no window",
    mainImages, solutions);
}

Author comment

Began life as a copy of #1006878

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1006901
Snippet name: A. I. Game 3.4 / Close The Window If Any [SOLVED]
Eternal ID of this version: #1006901/8
Text MD5: 3d9bac83b57f72f8ac964434936e8931
Transpilation MD5: d4b1b847b4503def9dde52ddbf2572af
Author: stefan
Category: javax / gui
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-02-15 05:46:27
Source code size: 762 bytes / 34 lines
Pitched / IR pitched: No / No
Views / Downloads: 295 / 541
Version history: 7 change(s)
Referenced in: [show references]

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