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

Postby Darobat » Thu Aug 19, 2004 3:41 pm

BAUM BAUM BAUM.... Maybe we could have different divisions. Beginner, and advanced. In advanced, your program would have to update itself... *creepy sci-fi music*
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 RecursiveS » Thu Aug 19, 2004 3:46 pm

Darobat wrote:BAUM BAUM BAUM.... Maybe we could have different divisions. Beginner, and advanced. In advanced, your program would have to update itself... *creepy sci-fi music*


NO, NO, NO!!!!

That makes it a contest, not a bit of fun....
User avatar
RecursiveS
Site Admin
 
Posts: 1236
Joined: Thu Sep 18, 2003 8:33 am
Location: Dorset, UK

Postby Tenji » Thu Aug 19, 2004 3:49 pm

my animal'd probly turn into food for others in first round but sounds like fun
Tenji
 
Posts: 133
Joined: Sat Jul 17, 2004 10:40 pm

Postby t i l e x » Thu Aug 19, 2004 4:33 pm

Tenji wrote:my animal'd probly turn into food for others in first round but sounds like fun
At least it'll be useful :wink:
I'm in for that little AI thingie.
User avatar
t i l e x
 
Posts: 3604
Joined: Wed Dec 03, 2003 3:59 pm
Location: Québec (Canada)

Postby Darobat » Thu Aug 19, 2004 5:07 pm

I'm assuming that because 10 people have voted yes, they'd enter. I think now its just a matter of setting it up.
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 schloob » Thu Aug 19, 2004 5:11 pm

can we have the animals develop nuclear weapons and hold them and accuse other animals of having then when they really dont to give us an excuse to attack them?
:]
User avatar
schloob
 
Posts: 1853
Joined: Mon Feb 16, 2004 10:29 am
Location: Seattle

Postby Lovechild » Thu Aug 19, 2004 5:19 pm

I hope the answer to that is yes
User avatar
Lovechild
 
Posts: 1442
Joined: Tue May 18, 2004 12:59 pm
Location: kicken serious but

Postby TheKidder » Thu Aug 19, 2004 8:06 pm

That's crazy, just attack them for no reason at all. :P

Anyway, now we have to decide what the game engine will end up being. For example, will the animals have to eat? Will it be on a grid, so animals can only attack other animals when they are close? Or can you just have animal.attack() anytime? And what's to stop people fom doing animal.kill_everything()? :lol:
This will take a lot of work, but it sounds like great fun. 8)
w00t!
User avatar
TheKidder
 
Posts: 525
Joined: Mon Nov 24, 2003 7:57 pm
Location: MI

Postby t i l e x » Thu Aug 19, 2004 8:30 pm

Hahaha I'd make one that would hide and then train itself to become powerful and then kill everyone :twisted:
User avatar
t i l e x
 
Posts: 3604
Joined: Wed Dec 03, 2003 3:59 pm
Location: Québec (Canada)

Postby leas5040 » Thu Aug 19, 2004 8:51 pm

Hahaha I'd make one that would hide and then train itself to become powerful and then kill everyone


I can see Tilex hiding behind a tree, training his killer ninja koala bear. :P
"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 t i l e x » Thu Aug 19, 2004 9:00 pm

Yes, it'll be a predator :twisted:
User avatar
t i l e x
 
Posts: 3604
Joined: Wed Dec 03, 2003 3:59 pm
Location: Québec (Canada)

Postby Corsix » Fri Aug 20, 2004 3:51 am

Enough people have showed interest in this contest so it is going ahead!

So I have begun coding the Animal base class and I have decided to make two more classes: Herbivore and Carnivore (derived from Animal). These will be the two that you derive from. As you can probably guess Harbivores can only eat grass and plants, and Carnivores can only eat other animals.

As far as attacking goes, Carnivores can attack other animals to kill them. Once an animal is dead any other Carnivore can eat it or part of it. This means that your animals could travel round in packs killing and eating things.

The ability to hide will be created. Once hidden, other animals will have to be alot closer to see/detect you and you can ambush things instead of attacking them.

A stat system will be implemented. You will mainly get stat points for doing things (eg. get speed for moving around alot). When you eat something you can get some of its of its stats. Also when breeding, the new animal will have for example 40% of its mum's stats + 40% of its dad's stats to begin with. When an animal is initially created it will be given a few stat points to allocate.
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 t i l e x » Fri Aug 20, 2004 4:48 am

Could you implement a stupid carnivore and a stupid herbivore so we can see how our animal is doing in nature ? :wink:
User avatar
t i l e x
 
Posts: 3604
Joined: Wed Dec 03, 2003 3:59 pm
Location: Québec (Canada)

Postby TheKidder » Fri Aug 20, 2004 8:29 am

It would be neat to develop a genetic algorithm for the breeding...
w00t!
User avatar
TheKidder
 
Posts: 525
Joined: Mon Nov 24, 2003 7:57 pm
Location: MI

Postby Tenji » Fri Aug 20, 2004 12:25 pm

this is gonna be fun :)
Tenji
 
Posts: 133
Joined: Sat Jul 17, 2004 10:40 pm

PreviousNext

Return to Contests

Who is online

Users browsing this forum: No registered users and 0 guests