5 ms·
Conventional game AI is usually search algorithms for movement (like A*) + finite state machines for behavior. No network calls to LLMs, no machine learning, et
by DistractionRect 3y ago
Conventional game AI is usually search algorithms for movement (like A*) + finite state machines for behavior. No network calls to LLMs, no machine learning, etc. At the fringes, throw in the odd markov chain for procedural text generation.
Basically AI post 2019 usually means LLM, and they're making the distinction that this is not that.
- signaru 3y agoAny book recommendations for conventional game AI? (Particularly with the "game" part, as games always have interesting constraints.) Thanks in advance.
- swyx 3y agobasically the entire GameDevCon youtube channel has tons of examples
- DistractionRect 3y agoI can't think of any books off hand, it'll vary depending on what kind of game you're making. Like the AI in F.E.A.R. will be different from Starcraft, which different than that in XCOM, etc. And if you're scaling difficulty, then you're likely tuning how the AI behaves. GDC, GDCVault, academic papers, and dev blogs//post mortems of similar games to what you're interested in will have a lot of good information.
- boarnoah 3y agohttp://www.gameaipro.com/ http://www.gameaipro.com/ the content falls somewhere between a developer talk like at GDC and a textbook, very interesting stuff to read.
- linkdd 3y agoYup, conventional game AI is just bunch of ifs :)
- mjburgess 3y agoif rule(mean(training_data, weightings)): ... isnt so different than if rule(programmer_params): ...
- Etheryte 3y agoDepends. Conceptually there is no difference between a few ifs and a few billion ifs, in practice it's a whole different ballgame.
- NerdiDotOrg 3y agoThis is very true Code format for a 1 line like this example is nowhere close to # of lines in other files, the networking delays, and also can't be done client-side with current hardware to the scale needed for multiple entities all weighted uniquely in the current 2023 "AI" tools.
- tensor 3y agoPlanning / A* search is hardly a bunch of ifs, and is a crucial component of these systems. Expert systems are closer to a bunch of ifs, but that overlooks that the challenge is in coming up with the conditions, not writing if statements.
- rdedev 3y agoAll AI systems (including A* and LLMs) can be thought of as a system that explores a search space to obtain a certain goal. At least this is what I understood from reading artificial intelligence -a modern approach by Peter norvig. Both A* and deep learning explores a search space based on a goal. The difference is DL explores when it's training and learns to use the right moves for a given input.
- jameshart 3y agoArtificial Intelligence - a Modern Approach was published in 1995. It should be fairly obvious that what we think of as 'conventional AI' might have changed in the last 28 years, even if we hadn't just been living through a twelve month or so explosion in the availability and power of generative AI models that transformed what people associate the term with.
- whatyesaid 3y agoWe are talking about 'conventional AI' in terms of games though. I don't think there was any explosion apart from the fact you can use generative AI to make art. That book has the latest edition in 2020. But yeah, A* is search space based, LLMs or DL I wouldn't call it search space based at all. It's function fitting.
- bee_rider 3y agoIt still seems worthwhile to make the distinction; it might be possible to think of them as the same thing at a high enough level, but the actual libraries and algorithms used are different.
- userbinator 3y agoNonetheless I think many of us came here wondering how an LLM fits into a header-only library.