Okay guys, I''m going to stick my moderator hat on and step in here...
This is a public forum and while we may not all agree with the way in which others express themselves, they do have a right to express themselves as they see fit. This goes both ways, so don''t think I''m talking about any one person, or any one mode of communication, in particular.
Thus, there is no need to argue among one another as to the merits of a particular style of grammar and style. If this continues, I''ll be forced to close this thread, which would be a real shame because it''d be the first non-spam thread in AI that I can recall being closed in my time at GD.net.
Cheers,
Timkin
/modhat off
no-one can create ai
July 28, 2003 12:27 PM
Here''s an AI, and I can create it in less than 10 seconds.
if (coinflip==heads) {
turnRight();
} else {
turnLeft();
}
if (coinflip==heads) {
turnRight();
} else {
turnLeft();
}
quote:
Original post by Anonymous Poster
Here''s an AI, and I can create it in less than 10 seconds.
if (coinflip==heads) {
turnRight();
} else {
turnLeft();
}
I''d really like to see the implementation of your coinflip function for an un-biased coin please!?
Timkin
Timkin: The God Spoke to me last night in my dreams. It appeared before me in all Its glory. It told me you were not to be trusted... a spy from the Other Side !
My Website: ai-junkie.com | My Book: AI Techniques for Game Programming
My Website: ai-junkie.com | My Book: AI Techniques for Game Programming
My Website: ai-junkie.com | My Books: 'Programming Game AI by Example' & 'AI Techniques for Game Programming'
quote:
Original post by UlfLivoff
Ok - let''s take another example. Place a hungry newborn baby on the mother and it will automatically crawl to the breasts. Now how did it know that there was gonna be food there ??
It didn''t. A reflex made it go there. Some reflexes must be hard coded, otherwise animals and humans would be born without brains. However that doesn''t mean they can deduce things.
-~-The Cow of Darkness-~-
quote:
Original post by fup
Timkin: The God Spoke to me last night in my dreams. It appeared before me in all Its glory. It told me you were not to be trusted... a spy from the Other Side !
I think you''ve had your head in the rinse cycle too long fup!

Timkin
Heh, one can easily see this forum heading to wackoland.
Just a reminder folks, we''re here to discuss AI, not the almighty =) BTW fup, I''m having a very hard time visualizing your trinket.
Here''s an interesting coinflip function
// function uses AI to some degree or another...
coinflip ()
{
// begin obfuscated code
#define N 624
#define M 397
int i;static unsigned long mt[N];static int mti=N+1;for(i=0;i=seed&0xffff0000;seed=69069*seed+1;mt|=(seed&0xffff0000)>>16;seed=69069*seed+1;}mti=N;unsigned long y;static unsigned long mag01[2]={0x0,0x9908b0df};int kk;if(mti>=N){if(mti==N+1){};for(kk=0;kk<N-M;kk++){y=(mt[kk]&0x80000000)|(mt[kk+1]&0x7fffffff);mt[kk]=mt[kk+M]^(y>>1)^mag01[y&0x1];}for(;kk<N-1;kk++){y=(mt[kk]&0x80000000)|(mt[kk+1]&0x7fffffff);mt[kk]=mt[kk+(M-N)]^(y>>1)^mag01[y&0x1];}y=(mt[N-1]&0x80000000)|(mt[0]&0x7fffffff);mt[N-1]=mt[M-1]^(y>>1)^mag01[y&0x1];mti=0;}y=mt[mti++];y^=y>>11;y^=y<<7&0x9d2c5680;y^=y>>15&0xefc60000;y^=y>>18;y<N*M?return(0):return(1);<br><br>// end obfuscated code<br>} </i>
Just a reminder folks, we''re here to discuss AI, not the almighty =) BTW fup, I''m having a very hard time visualizing your trinket.
Here''s an interesting coinflip function
// function uses AI to some degree or another...
coinflip ()
{
// begin obfuscated code
#define N 624
#define M 397
int i;static unsigned long mt[N];static int mti=N+1;for(i=0;i
heh, seems like these forums can''t take a little obfuscation!! The remaining few lines have been cut off =\
PS: AI exists, don''t h8
PS: AI exists, don''t h8
Please use the code tag in future and format your code. I don't want to see lines that extend beyond the screen again. It reaks havoc with some browsers and is a pain to try and read.
The output is a biased coin toss...
... and what's the superfluous 'if' statement for?
Timkin
[edited by - Timkin on July 31, 2003 9:00:59 PM]
quote:
Original post by ghost007
// begin obfuscated code#define N 624#define M 397int k;static unsigned long mt[N];static int mti=N+1;for(k=0;i mt[k]=seed&0xffff0000; seed=69069*seed+1; mt[k]|=(seed&0xffff0000)>>16; seed=69069*seed+1;}mti=N;unsigned long y;static unsigned long mag01[2]={0x0,0x9908b0df};int kk;if(mti>=N){ if(mti==N+1){}; for(kk=0;kk y=(mt[kk]&0x80000000)|(mt[kk+1]&0x7fffffff); mt[kk]=mt[kk+M]^(y>>1)^mag01[y&0x1]; } for(;kk y=(mt[kk]&0x80000000)|(mt[kk+1]&0x7fffffff); mt[kk]=mt[kk+(M-N)]^(y>>1)^mag01[y&0x1]; } y=(mt[N-1]&0x80000000)|(mt[0]&0x7fffffff); mt[N-1]=mt[M-1]^(y>>1)^mag01[y&0x1]; mti=0;}y=mt[mti++];y^=y>>11;y^=y<<7&0x9d2c5680;y^=y>>15&0xefc60000;y^=y>>18;y < N*M?return(0):return(1);
// end obfuscated code
The output is a biased coin toss...
... and what's the superfluous 'if' statement for?
Timkin
[edited by - Timkin on July 31, 2003 9:00:59 PM]
What is attempting to be described is not artificial intelligence, but computer sentience; at this level of competence the term ''artificial'' is no longer applicable. It is no longer a mock thinking device, but an actual being.
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement