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).

1  
!7
2  
3  
!include #1006891 // AI Game & API
4  
5  
p { pGame(); }
6  
7  
//////////////////////////////////////
8  
// Test AIs. Just add your own here //
9  
//////////////////////////////////////
10  
11  
!include #1006905 // MemorizeBrightBLOB2
12  
13  
MemorizeBrightBLOB2 > Level70 { *() { similarityThreshold = 0.70f; } }
14  
MemorizeBrightBLOB2 > Level75 { *() { similarityThreshold = 0.75f; } }
15  
MemorizeBrightBLOB2 > Level80 { *() { similarityThreshold = 0.80f; } }
16  
17  
!include #1006912 // MemorizeArea
18  
19  
//////////////////
20  
// PUZZLE MAKER //
21  
//////////////////
22  
23  
static L<RGBImage> mainImages;
24  
25  
static Puzzle makePuzzle() {
26  
  if (mainImages == null)
27  
    mainImages = loadImages(#1006907, #1006895);
28  
  L<Rect> solutions = ll(
29  
    pointsRect(203, 180, 223, 200),
30  
    null);
31  
    
32  
  ret makeClickPuzzle("Click the white dice:", "I see no dice",
33  
    mainImages, solutions);
34  
}

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: 540 / 960
Version history: 8 change(s)
Referenced in: [show references]