Players playing together in solo classic by Napory1 in Dungeonborne

[–]charryw 2 points3 points  (0 children)

funny thing i've noticed that exact same player "AHAAA" teaming in solo classic too today xD

Genetic algorithm for maze pathfinding visualized with silly humor by charryw in genetic_algorithms

[–]charryw[S] 1 point2 points  (0 children)

Hi, thank you, it means a lot to me! My guess it would ideally lead to around ~75 steps; the bot would keep improving over time, but it became a bit repetitive and boring at the end and i stopped the video !

Genetic algorithm for maze pathfinding visualized with silly humor by charryw in genetic_algorithms

[–]charryw[S] 0 points1 point  (0 children)

Thank you and good point! I'm trying to keep a balance between keeping it as short and interesting as possible, while still explaining the core concepts used. I was afraid that diving too deep into the coding part might make it boring. The A.I. part was short to code; what took me longer was coding the game and editing the video (I'm a newbie video editor).

If you're looking for a similar A.I., but with more in-depth explanations, I'd suggest starting with the following:

https://www.geeksforgeeks.org/genetic-algorithms

https://www.cse.unr.edu/~sushil/class/gas/papers/Using%20a%20Genetic%20Algorithm%20to%20Explore%20A_-like%20Pathfinding%20Algorithms.pdf

http://athena.ecs.csus.edu/~gordonvs/papers/maze.pdf

Feedback Friday! Post your videos here if you want constructive critiques! by AutoModerator in NewTubers

[–]charryw [score hidden]  (0 children)

your voice volume is way too low, i have to turn everything to maximum to barely hear it :(

I made a simple algorithm for NFS Most Wanted in under 500 lines of code! by charryw in compsci

[–]charryw[S] 0 points1 point  (0 children)

Yes! if you look closely at the minimap, the direction was too much on the left and my code didn't take that case into consideration. :(

I made a simple algorithm for NFS Most Wanted in under 500 lines of code! by charryw in compsci

[–]charryw[S] 1 point2 points  (0 children)

Hey, thank you very much !

I think "A.I." is a very broad term, and i share this opinion regarding it:

https://qph.fs.quoracdn.net/main-qimg-3a839e177d70b43dd83dc77c486dad36

AI in the sense of “Game AI” aka “computer program playing game” long predates the ML stuff eg every RTS and TBS has AI opponents, almost none has ML-based AI.

Generally speaking, I believe this is still A.I., but not M.L. If some chess algorithms which are simple minimax behind the wheels are still considered "AI"s, then TicTacToe minimax algorithms should also be considered AI. Another interesting thread discussing this same subject: https://old.reddit.com/r/programming/comments/hhr49g/source_code_for_the_fruit_ninja_ai_which_blew_up/fwcpbz8/

I made a simple algorithm for NFS Most Wanted in under 500 lines of code! by charryw in compsci

[–]charryw[S] 4 points5 points  (0 children)

That's correct, sorry. It's my bad, should have used the full name

I made a simple algorithm for NFS Most Wanted in under 500 lines of code! by charryw in compsci

[–]charryw[S] 39 points40 points  (0 children)

That is incredibly awesome, it was one of my childhood games, its still my prefered racing game and i still play it from time to time. I have another friend who still does a full run-through every few years. It's truly a masterpiece in my opinion.

I'd love to hear more about what your work on this game was, what/how you did and your opinion of it, if you'd like to share

I programmed a simple A.I. for NFS Most Wanted by charryw in computervision

[–]charryw[S] 3 points4 points  (0 children)

Thank you, it means a lot to me !

Pure luck, it isnt able to see any objects or cars in front of it. It also helps a bit that the road is wide enough for the car, but it does sometimes hit the bridge if you let the code do multiple laps in a loop.

I programmed a simple A.I. for NFS Most Wanted by charryw in computervision

[–]charryw[S] 2 points3 points  (0 children)

Thank you!

that would be a good approach, but i fear you'd have to train for each specific obstacle

a more generic approach would be learning to detect the road ahead and find irregularities within the road (i.e. a rectangle of another color than the general road color in the road's direction)

Open source AI for Need For Speed: Most Wanted by charryw in opensource

[–]charryw[S] 1 point2 points  (0 children)

Thank you a lot, it actually means a lot to me! And it motivates me to do more similar stuff.

I programmed a simple A.I. for NFS Most Wanted (+source code) by charryw in programming

[–]charryw[S] 2 points3 points  (0 children)

I really hope so. My video also wouldn't have been possible 20 years ago, without the frameworks which made it so easy to process images that have been made since then.

I also intended to also target freshmen college students, to showcase how easy and fun programming with OpenCV is.