r/programmingmemes 14d ago

tITLES

Post image
300 Upvotes

43 comments sorted by

View all comments

52

u/SKRyanrr 14d ago

Tell me you know nothing about LLMs without telling me

6

u/Camaldus 14d ago

Tell me you know nothing about game AI without telling me.

1

u/Kenkron 13d ago

Dude.. which game? Name it. I have to know.

That AI can't have pathfinding, can't do ray casting, can't do heuristics... Are we talking the Lemmings AI?

1

u/D1G1TAL__ 12d ago

> AI can’t have pathfinding

So then are you calling pathfinding AI? Are you saying you can’t make pathfinding with AI? My game’s AI uses a glorified Dijkstra’s algorithm, are you now calling it an AI or still not? If not, why did you use it as an argument?

1

u/Kenkron 12d ago

I'm saying that you can't Make a pathfinding AI using only if statements.

So your djikstra AI thing is an AI, but it doesn't match the meme.

1

u/D1G1TAL__ 12d ago

I made it using if statements and for loops, does that not count?

1

u/Kenkron 11d ago

I think it's more than "bundles of if else statements". You're pushing to an open set, counting the cost of each step, that sort of thing. Also, like you said for loops, though I can see why someone might count that as a kind of if statement.

There was this odd period of time growing up when I used labview, knew how to use if statements, but didn't know how to use data structures. And, believe it or not, I did try to make a path finding algorithm. Every deviation it could make from "go in a straight line to the exit" had to be its own code path, and a different code path for every re-route wasn't feasible, so I just ended up with something that could only pathfind around very simple obstructions. Basically, if "back up and go around" couldn't get the pathfinder unstuck, they were never going to be unstuck.