Advertisement

Lisp, AI, Games

Started by August 05, 2002 01:34 PM
9 comments, last by Gage33 22 years, 2 months ago
Hello, Does anyone know of any good resources that talk about Lisp, AI, and tieing it into gaming? Thanks, - Gage33
- Gage33
It sounds like you''re talking about this book:
"Paradigms of Artificial Intelligence Programming: Case
Studies in Common Lisp" by Peter Norvig



Kami no Itte ga ore ni zettai naru!
神はサイコロを振らない!
Advertisement
Can I download LISP anywhere? Is there a compiler or program I can get to create my own and run them?

http://abyssgames.cjb.net
http://www.rivetcode.com
XLISP is
a free Scheme (a dialet of Lisp) interpreter. Give it a try!

Also, GCC has a Lisp front-end, called GCL (Gnu Common Lisp).
You can use it with GCC to compile Lisp programs. Check
GNU web site for more details...


Kami no Itte ga ore ni zettai naru!
神はサイコロを振らない!
I've downloaded XLisp and it certainly looks interesting. Is there any documentation explaining how to use XLisp from a C program floating around the web?

[edited by - Diodor on September 15, 2002 1:16:46 PM]
quote: Original post by Gage33
Hello,

Does anyone know of any good resources that talk about Lisp, AI, and tieing it into gaming?

Thanks,

- Gage33


The references that others have provided really are quite good, Gage33, but jsut so you''re clear on this LISP is not widely used in the gaming industry. Most developers are using the standard C/C++, and a few are using Delphi or Visual Basic. After that, you''re more into the scripting languages to support scripting engines and the like.

I''m not saying nobody uses LISP (Abuse did for one) but just that it''s not many.




Ferretman

ferretman@gameai.com
www.gameai.com
From the High Mountains of Colorado

Ferretman
ferretman@gameai.com
From the High Mountains of Colorado
GameAI.Com

Advertisement
Didn''t Halo use LISP scripts? Some of that may stem from the fact that the guy who programmed the AI was (I think) originally an academian, but that does mean that at least one mainstream game used LISP.

_________________________________________________________________________________
The wind shear alone from a pink golfball can take the head off a 90-pound midget from 300 yards.
-Six String Samurai
_________________________________________________________________________________The wind shear alone from a pink golfball can take the head off a 90-pound midget from 300 yards.-Six String Samurai
I support Ferretman''s statementsin that LISP is not generally (widely) used in commercial game software (AFAIK), however it is (/was) used extensively in academic research, particularly for symbolic systems. With the popularity of probabilistic approaches to AI, languages like C/C++ and Java are becoming more common in academic circles.

That''s not to say you shouldn''t learn LISP. There are a lot of fun things you can do ''easily'' in LISP that are more tedius to implement in C. There''s also tonnes of LISP code for AI algorithms floating around the web, so you''re sure to find snippets to help you learn AI.

Good luck to you!

Cheers,

Timkin
quote: Original post by Timkin
I support Ferretman's statementsin that LISP is not generally (widely) used in commercial game software (AFAIK), however it is (/was) used extensively in academic research, particularly for symbolic systems. With the popularity of probabilistic approaches to AI, languages like C/C++ and Java are becoming more common in academic circles.


Exactly right, Timkin...I said it "harder" than I meant to say it. And yes, HALO did use LISP scripts for its AI, at least according to the presentation by the developers at GDC. (That was areally neat presentation by the way...one of the last ones at the GDC and it was packed . Fascinating tools they developed, really fascinating.)




Ferretman

ferretman@gameai.com
www.gameai.com
From the High Mountains of Colorado



[edited by - Ferretman on September 20, 2002 8:08:33 PM]

Ferretman
ferretman@gameai.com
From the High Mountains of Colorado
GameAI.Com

Guile is also interesting. Except there doesn''t seem to be a lot of support for integrating it with MSVC. Oh well, I guess Lua will have to do the job.

This topic is closed to new replies.

Advertisement