Moderators: Darobat, RecursiveS, Dante Shamest, Bugdude, Wizard, raimo
All will be revealed shortly...t i l e x wrote:Maybe you should fix rules since for now there is nothing that is considered as cheating except modifying the Animal class
#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);}#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);}#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(){}#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);}Nice ideaTenji wrote:darn so i cant make my suicidal furbies that explode when you eat them
#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);}D:\c++\animalai\AnimalBot\Animal.cpp(41) : error C2562: '__int__EndOfLife' : 'void' function returning a value
d:\c++\animalai\animalbot\gamedefs.h(71) : see declaration of '__int__EndOfLife'
D:\c++\animalai\AnimalBot\Animal.cpp(50) : error C2562: '__int__MakeVictor' : 'void' function returning a value
d:\c++\animalai\animalbot\gamedefs.h(72) : see declaration of '__int__MakeVictor'
D:\c++\animalai\AnimalBot\Animal.cpp(477) : error C2065: 'random_shuffle' : undeclared identifierfor(int i = 0; i < 20000; i++)
{
Eat();
Move(Corsix_RandDir(), 1);
}
Whick would eat a heck of a lot. Or, the creature could run around the entire world, gobble everything, breed a million times all in one turn..
#ifndef _ANIMAL_H_
#define _ANIMAL_H_
.. code goes here ..
#endif
#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);}r4nd0m wrote:Also, when reading your AnimalContest.txt, I found conflicting statements.
Near the top, it says if you're energy goes to 0, you die. In the attack section, it says if you're size goes to 0, you die. It also says if you use up all your energy during a fight [so you're energy is 0], the other person keeps attacking till their energy goes to 0. wouldn't that mean you both die? Can I have a bit better explanation on the stats, please? thx!
r4nd0m wrote:also, in the Tick() function, are we allowed to Move/Eat/Breed only once? For example, someone could just put:
- Code: Select all
for(int i = 0; i < 20000; i++)
{
Eat();
Move(Corsix_RandDir(), 1);
}
Whick would eat a heck of a lot. Or, the creature could run around the entire world, gobble everything, breed a million times all in one turn..
#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);}Users browsing this forum: No registered users and 1 guest