MCPcopy Create free account
hub / github.com/Semporia/Scripts / tryRecognize

Method tryRecognize

jd_validate.js:153–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151
152 async run(tag) {
153 const tryRecognize = async () => {
154 const x = await this.recognize();
155
156 if (x > 0) {
157 return x;
158 }
159 // retry
160 return await tryRecognize();
161 };
162 const puzzleX = await tryRecognize();
163 const pos = new MousePosFaker(puzzleX).run();
164 const d = getCoordinate(pos);

Callers

nothing calls this directly

Calls 1

recognizeMethod · 0.95

Tested by

no test coverage detected