Ivan Seidel

Results 40 comments of Ivan Seidel

We might try to find out that offset dynamically, but it will not be so easy, as the dino is the same color of the cactus, and the cactus might...

The fitness is incremented when distance increases (`lastDist < newDist + threshold`), when dino is shifted right, "down" key makes the dino go a little more to the front with...

This is the limit factor of IAMDinosaur... The library `RobotJS` reads a single pixel in the screen by taking a screenshot and reading that data. This tooks time and is...

Hi @Paic , Can you verify if the cursos is positioned in the window at the floor where the dinosaur stands, right after starting node program? If that happens, and...

Awesome! Here is the lead to the implementation: https://gist.github.com/octalmage/1fe8c1ec2336ac3ba59a Heres is the benchmarking; http://blog.robotjs.io/post/130786829733/getpixelcolor-vs-colorat That should be changed in Scanner class: (https://github.com/ivanseidel/IAMDinosaur/blob/master/Scanner.js#L66-L99) (I think that all calls are using this...

Hi @Paic, you should post that to the RobotJS issue list! It must be important... Or you can try to dig inside the code and find out the solution... If...

Hi @jossev7! Try to "focus" on the terminal first, then use the arrows. It requires a "click" before moving up/down... If that doesn't work, let me know!

An Electron/HTML interface would be cool hun?

This should work: ```typescript // Expose Worker threads to globals import { Worker } from "worker_threads"; // Expose Worker globally declare const globalThis: any; class NWorker extends Worker { constructor(path:...

I just spent the last 4 hours debugging an odd behavior, that limits fetching new messages from the device and forces the user to "click" the button to fetch new...