ID:153625
 
I just had an idea for a game. A thinking game. A thinking programmers game. A thinking AI-writers game, to be specific.

It would work like this:

You write up a basic structure, with mobs having procs to attack with a sword or bow, and procs for when they have seen things, and taken damage, and other such things. Then, you get other people to write an AI for a mob, then send it to you. You would use all the procs to determine actions for the AI. Then, you stick together two or more AIs from different people, and see which one survives the longest, or kills the most people in a space of time, or something like that.

I think its a good idea, what do you think?
That is an ok idea but it would require a text-to-code engine, like a make-your-own procs kind of thing (something I thought about making, since I know how to, but just too damn lazy to make.). It just wouldn't be that good if it didn't have one.
I tried to do something like this years ago, in QBasic. I gave up after a week or so, though.

I think it's a great idea. And thanks for the link Garthor. =)
Jp wrote:
I just had an idea for a game. A thinking game. A thinking programmers game. A thinking AI-writers game, to be specific.

It would work like this:

You write up a basic structure, with mobs having procs to attack with a sword or bow, and procs for when they have seen things, and taken damage, and other such things. Then, you get other people to write an AI for a mob, then send it to you. You would use all the procs to determine actions for the AI. Then, you stick together two or more AIs from different people, and see which one survives the longest, or kills the most people in a space of time, or something like that.

I think its a good idea, what do you think?

Most commercial strategy games now provide text files so you can tweak this sort of thing.

It's also discussed in this BYONDscape XML article.
In response to Kunark
Not quite. This is how I was thinking of doing it:

Person who made game announces round, people write code in DM for AI using certain procs that have been mentioned to attack, for when they've seen stuff, etc. Code gets sent to maker, who compiles it in and sets up match.

Might be a bit complex, though.
In response to Jp
That would be a hassle to play though. Thats why it would be alot funner if you could code the AI in-game.

Of course you could do it that way, I just think it would just add so much unneccisary extra stuff that you gotta do.
In response to Garthor
Thats the basic idea, oh Garthor the tight-lipped.
In response to Kunark
Or you could write all the attack procs up yourself, and have the user write up how the bot uses the attacks(little more programmer involved, still a good idea).