MCPcopy Create free account
hub / github.com/6dylan6/jdpro / tryRecognize

Method tryRecognize

function/jdValidate.js:205–212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203 }
204 async run() {
205 const tryRecognize = async () => {
206 const x = await this.recognize();
207 if (x > 0) {
208 return x;
209 }
210 // retry
211 return await tryRecognize();
212 };
213 const puzzleX = await tryRecognize();
214 console.log(puzzleX);
215 const pos = new MousePosFaker(puzzleX).run();

Callers

nothing calls this directly

Calls 1

recognizeMethod · 0.95

Tested by

no test coverage detected