Artificial Intelligence? 
Author Message
 Artificial Intelligence?

Does anybody know of any Pascal code that simulates the behaviour of
something like an ant or another small insect. The only behaviour I would
like to see is movement and reaction to another entity of the same type.

Thanx



Sun, 02 Dec 2001 03:00:00 GMT  
 Artificial Intelligence?
I'm doing an A-level computing course, and for my coursework I'm trying to
put together a program which regulates the usage of computer games by school
pupils. I intend to use a password system to gain access to games, so for
example younger pupils will not be able to access Doom-style games which may
not be suitable. Obviously there will be other parts to the program, but my
question is this: is it possible to run an .exe file from within a Pascal
program, because if after the user enters their username and password and
selects a game, and the program isn't actually able to run it, the system
would be useless. Does any1 know if Pascal supports this, and if so, how do
I use it? Many thanx in anticipation of reply.


Sun, 02 Dec 2001 03:00:00 GMT  
 Artificial Intelligence?

Quote:
> I'm doing an A-level computing course, and for my coursework I'm trying to
> put together a program which regulates the usage of computer games by
school
> pupils. I intend to use a password system to gain access to games, so for
> example younger pupils will not be able to access Doom-style games which
may
> not be suitable. Obviously there will be other parts to the program, but
my
> question is this: is it possible to run an .exe file from within a Pascal
> program, because if after the user enters their username and password and
> selects a game, and the program isn't actually able to run it, the system
> would be useless. Does any1 know if Pascal supports this, and if so, how
do
> I use it? Many thanx in anticipation of reply.

I don't know what Pascal-dialect you're talking, I only know how to do stuff
like that with Turbo Pascal. If you work with it or with Free Pascal for
DOS, use the exec() command. It's described in the on-line help of TP. Very
important is to reduce heap size to have enough space to execute the
program.

hope this helps...

Andreas Krennmair



Fri, 07 Dec 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Artificial Intelligence (Master Mind)

2. Artificial Intelligence?

3. Help with artificial intelligence in a racing game

4. Artifical intelligence

5. Artificial Intellegence

6. Artificial inteligence

7. Artificial Intelegence in PASCAL ?

 

 
Powered by phpBB® Forum Software