Hacker Newsnew | past | comments | ask | show | jobs | submit | zappybiby's commentslogin

For the windows version, input will follow something similar to this: https://github.com/bethesirius/ChosunTruck/pull/10/files

Right now I'm changing SendInput to use mouse simulation instead of pressing keys. Hopefully this will fix some of the lagging caused by pressing keys too fast / too much.


Thank you for your interest guys! We went from about 20 stars to 200+ stars, landing us on the 'trending' section of github! We could vastly improve the program by hooking into the game's memory (Such as the totally sick mapping done in https://www.youtube.com/watch?v=3YYyGGgoWfs). But this project really just explores computer vision and ML (Kinda, tensorflow is still being worked on).


Nice! You summarized everything that I spent 20 days on StackOverflow learning piece by piece :)

I had tried to comment this code in my own branch (https://github.com/ajchili/ChosunTruck/commit/61f184521ac4fb...)

but this actually summarizes a lot better!

And yes, the gnarly trig function is on point.


I'd just like to say that your code is extremely easy to read and follow, and this was a pleasure to do.

Thanks a ton for showing a real-world example of how to use OpenCV. The examples given by the official documentation are cute, but they're individual tools that you have to combine intelligently to make something useful.


Its to avoid exits :)


Yeah, for whatever reason the right lane very, very frequently turns into an exit with almost no warning.

This is just how the maps are designed. It's only on the rare three lane stretches that you're able to bump over to the middle lane confidently.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: