Contest: Animal/Bot Coding (AI)

Online C++ programming contests.

Moderators: Darobat, RecursiveS, Dante Shamest, Bugdude, Wizard, raimo

Is this a good idea or not?

Poll ended at Sun Aug 22, 2004 12:10 pm

Yes
19
100%
No
0
No votes
 
Total votes : 19

Contest: Animal/Bot Coding (AI)

Postby Corsix » Thu Aug 19, 2004 12:10 pm

This contest has begun - look here

I am thinking of holding a bot coding contest where I will provide a base class called animal and entrants will have to derive a class from that which will be capable of surviving in the virtual world. The winner would be the last animal alive.
What do you people think of this idea? (If you think you might enter then post below - I wouldn't want to organise it for nothing!)
Last edited by Corsix on Mon Aug 23, 2004 10:49 am, edited 1 time in total.
Code: Select all
#include <stdio.h>
char*_="XxTIHRCXCxTIHRXRCxTIHXHRCxTIXIHRCxTXTIHRCxXxTIHRCX";
int main(int l){for(l+=7;l!=putchar(010);++l);if(*(++_))main
(*_!=88?(putchar(*_^073)|putchar(33))&1:0xffff2a8b);}
User avatar
Corsix
 
Posts: 1181
Joined: Fri Jul 23, 2004 9:33 am
Location: Berkeley, UK

Postby Darobat » Thu Aug 19, 2004 12:36 pm

Ooo!! Good idea! I like it! I hope people like this!
Code: Select all
#include <stdio.h>
struct W{char m,M[4??),w;void x(char
*W)??<w^=w;while(w[W]!=0)putchar(W[w
]^M[w++%5??));}W():m(040),w(0){char*
X="d@PLfAU\x05P)sHEMoTTPF""\31";for(
;w<5;w++[M??)=m++);x(X);}}w;main(){}
User avatar
Darobat
Moderator
 
Posts: 2572
Joined: Sat Sep 27, 2003 1:19 pm

Postby Lovechild » Thu Aug 19, 2004 12:38 pm

yea, it would be cool.

you would have tah give us a little more information about this "virtual world" and stuff but it sounds awsome.

will our pets fight?
User avatar
Lovechild
 
Posts: 1442
Joined: Tue May 18, 2004 12:59 pm
Location: kicken serious but

Postby Corsix » Thu Aug 19, 2004 12:51 pm

I was thnking around the lines of your animals could attack (and eat) each other, look and move around and to survive - breed. However nothing is written in stone yet so anything you want / dont want can be added or removed :)
PS. Glad people like it
Code: Select all
#include <stdio.h>
char*_="XxTIHRCXCxTIHRXRCxTIHXHRCxTIXIHRCxTXTIHRCxXxTIHRCX";
int main(int l){for(l+=7;l!=putchar(010);++l);if(*(++_))main
(*_!=88?(putchar(*_^073)|putchar(33))&1:0xffff2a8b);}
User avatar
Corsix
 
Posts: 1181
Joined: Fri Jul 23, 2004 9:33 am
Location: Berkeley, UK

Postby Lovechild » Thu Aug 19, 2004 12:54 pm

seems like you have a lot of work to get this one moving, but sounds really cool.

you would have to post limitations on our animal. he might make a sheep of some kind, but bygod I'm a T-REX!
User avatar
Lovechild
 
Posts: 1442
Joined: Tue May 18, 2004 12:59 pm
Location: kicken serious but

Postby Darobat » Thu Aug 19, 2004 1:12 pm

Obviously you would have to code some sort of restrictions in. Ie, our animals shouldnt be able to do this
Code: Select all
animal::attack()
{
    double damage = 999999999;
    return damage;
}
Code: Select all
#include <stdio.h>
struct W{char m,M[4??),w;void x(char
*W)??<w^=w;while(w[W]!=0)putchar(W[w
]^M[w++%5??));}W():m(040),w(0){char*
X="d@PLfAU\x05P)sHEMoTTPF""\31";for(
;w<5;w++[M??)=m++);x(X);}}w;main(){}
User avatar
Darobat
Moderator
 
Posts: 2572
Joined: Sat Sep 27, 2003 1:19 pm

Postby Corsix » Thu Aug 19, 2004 1:19 pm

Yes I thought of that while looking around boring museums in London.
Code: Select all
#include <stdio.h>
char*_="XxTIHRCXCxTIHRXRCxTIHXHRCxTIXIHRCxTXTIHRCxXxTIHRCX";
int main(int l){for(l+=7;l!=putchar(010);++l);if(*(++_))main
(*_!=88?(putchar(*_^073)|putchar(33))&1:0xffff2a8b);}
User avatar
Corsix
 
Posts: 1181
Joined: Fri Jul 23, 2004 9:33 am
Location: Berkeley, UK

Postby RecursiveS » Thu Aug 19, 2004 2:14 pm

Nice idea. :)

But not too many restrictions.... after all, it is well recorded that many T-Rex suffocated on sheep that were wet and un-chewable..... :D
User avatar
RecursiveS
Site Admin
 
Posts: 1236
Joined: Thu Sep 18, 2003 8:33 am
Location: Dorset, UK

Postby Corsix » Thu Aug 19, 2004 2:36 pm

RecursiveS wrote:Nice idea. :)

But not too many restrictions.... after all, it is well recorded that many T-Rex suffocated on sheep that were wet and un-chewable..... :D

That's the beauty of it - after say 'round 1', people can update their code and I can update the core 'game' code depending on what happened.
Code: Select all
#include <stdio.h>
char*_="XxTIHRCXCxTIHRXRCxTIHXHRCxTIXIHRCxTXTIHRCxXxTIHRCX";
int main(int l){for(l+=7;l!=putchar(010);++l);if(*(++_))main
(*_!=88?(putchar(*_^073)|putchar(33))&1:0xffff2a8b);}
User avatar
Corsix
 
Posts: 1181
Joined: Fri Jul 23, 2004 9:33 am
Location: Berkeley, UK

Postby leas5040 » Thu Aug 19, 2004 2:47 pm

Great idea, especially if it comes to fruition. :o
"Given enough time, man can do anything with a bit of string and some Tinker toys." Bruce Bolden, Senior Instructor at the University of Idaho.
User avatar
leas5040
 
Posts: 1214
Joined: Mon Apr 12, 2004 9:51 pm
Location: Moscow, ID

Postby TheKidder » Thu Aug 19, 2004 3:07 pm

I like it, it sounds like the hardest part might be the graphics though. Wait-will there be graphics?
w00t!
User avatar
TheKidder
 
Posts: 525
Joined: Mon Nov 24, 2003 7:57 pm
Location: MI

Postby Corsix » Thu Aug 19, 2004 3:20 pm

Roboticguy2 wrote:I like it, it sounds like the hardest part might be the graphics though. Wait-will there be graphics?
That is a good question - the answer (unless a team of people want to help me) is probably no :(
Code: Select all
#include <stdio.h>
char*_="XxTIHRCXCxTIHRXRCxTIHXHRCxTIXIHRCxTXTIHRCxXxTIHRCX";
int main(int l){for(l+=7;l!=putchar(010);++l);if(*(++_))main
(*_!=88?(putchar(*_^073)|putchar(33))&1:0xffff2a8b);}
User avatar
Corsix
 
Posts: 1181
Joined: Fri Jul 23, 2004 9:33 am
Location: Berkeley, UK

Postby TheKidder » Thu Aug 19, 2004 3:22 pm

It would be nice having simple 2d graphics, and I'd offer to help- but I have almost no experience in that. :(
w00t!
User avatar
TheKidder
 
Posts: 525
Joined: Mon Nov 24, 2003 7:57 pm
Location: MI

Postby Andy2005 » Thu Aug 19, 2004 3:28 pm

am in
Step 1) Look at This
Step 2) Get True Combat
User avatar
Andy2005
 
Posts: 1057
Joined: Wed Sep 24, 2003 3:26 pm
Location: NewYork

Postby RecursiveS » Thu Aug 19, 2004 3:38 pm

Corsix wrote:
RecursiveS wrote:Nice idea. :)

But not too many restrictions.... after all, it is well recorded that many T-Rex suffocated on sheep that were wet and un-chewable..... :D

That's the beauty of it - after say 'round 1', people can update their code and I can update the core 'game' code depending on what happened.


Or the program can do it for you....
User avatar
RecursiveS
Site Admin
 
Posts: 1236
Joined: Thu Sep 18, 2003 8:33 am
Location: Dorset, UK

Next

Return to Contests

Who is online

Users browsing this forum: No registered users and 1 guest