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

34
LINES

< > BotCompany Repo | #1006908 // A. I. Game 4 / Find The Dice [99.99% SOLVED]

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

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

!7

!include #1006891 // AI Game & API

p { pGame(); }

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

!include #1006905 // MemorizeBrightBLOB2

MemorizeBrightBLOB2 > Level70 { *() { similarityThreshold = 0.70f; } }
MemorizeBrightBLOB2 > Level75 { *() { similarityThreshold = 0.75f; } }
MemorizeBrightBLOB2 > Level80 { *() { similarityThreshold = 0.80f; } }

!include #1006912 // MemorizeArea

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

static L<RGBImage> mainImages;

static Puzzle makePuzzle() {
  if (mainImages == null)
    mainImages = loadImages(#1006907, #1006895);
  L<Rect> solutions = ll(
    pointsRect(203, 180, 223, 200),
    null);
    
  ret makeClickPuzzle("Click the white dice:", "I see no dice",
    mainImages, solutions);
}

Author comment

Began life as a copy of #1006901

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006908
Snippet name: A. I. Game 4 / Find The Dice [99.99% SOLVED]
Eternal ID of this version: #1006908/9
Text MD5: 2ff768662e4b418f76d4402a1deccec6
Transpilation MD5: fba366fa8e34185dd83edce012415989
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:57:37
Source code size: 865 bytes / 34 lines
Pitched / IR pitched: No / No
Views / Downloads: 535 / 954
Version history: 8 change(s)
Referenced in: [show references]