Go Back   kirupaForum > Art and Design > Battle

Reply
 
Thread Tools Display Modes
Old 01-21-2006, 11:42 AM   #1
Pattt
Hm?
 
Pattt's Avatar
AI vs. AI - battle!

Hey, I just got a cool idea, let's make an AI enemy, and
let them fight against each other! The smartest would win.

To make it harder to win against the other,
we have to make some limits for speed, attacks
shields, shooting, ect!

The style of the "fight" can be anything; space ships, platform game,
fighting game, balloons, ect.

Then, the two AI's names could be ai1 and ai2.
Everything is going to be maked in Flash.

Anyone intrested?

__________________
[ veclock.deviantart.com ]

Last edited by Pattt; 01-24-2006 at 02:32 PM..
Pattt is offline   Reply With Quote

Sponsored Links (Guests Only) - Register | Need Help?

Old 01-21-2006, 11:50 AM   #2
sed|thh
'30ezer litér zokszigén'
 
sed|thh's Avatar
good idea, but you'll have to explain it better

I mean ai's of platform game's and space shooter's enemies are way different. In fact, you could make a much better AI if the platform/enviroment was given.

__________________
work in progress
sed|thh is offline   Reply With Quote
Old 01-21-2006, 11:53 AM   #3
senocular
On Vacation
 
senocular's Avatar
Location San Francisco, CA (USA)

Posts 17,426
We tried this a few years ago with robot battles (actually I think it was a different forum). It seemed like a cool idea, but it was hard to implement and never really happened.

__________________
senocular is offline   Reply With Quote
Old 01-21-2006, 12:26 PM   #4
kirupa
kirupa.com
 
kirupa's Avatar
Location A tiny and soft place in Redmond, WA

Posts 14,770
What you could do Pattt is provide source for the environment and all of a robot's built in actions. All the AI coder would have to do is create a new robot object and just start writing statements that govern how the robot would interact with the environment and the other robot.

That would allow the contestants to focus on on creating a good robot.
Every year I go to spectate a similar competition, and it is a lot of fun.
kirupa is offline   Reply With Quote
Old 01-21-2006, 01:23 PM   #5
sed|thh
'30ezer litér zokszigén'
 
sed|thh's Avatar
that's great

btw the idea isn't that bad, but I guess creating a good envirmoent would be harder then programing the ai

__________________
work in progress
sed|thh is offline   Reply With Quote
Old 01-21-2006, 01:28 PM   #6
mlk
Compositing Monkey
 
mlk's Avatar
The Kirupa AI is the chuck norris of AIs, and its got temper, do not trifle with it...

Would flash really be the best platform to do this ?

__________________
mlk is offline   Reply With Quote
Old 01-21-2006, 02:06 PM   #7
Pattt
Hm?
 
Pattt's Avatar
I think Flash is a good platform for this, because it's quite
easy. Here's an example. (I can do much better than this,
but I have not time for it right now)

However, if anyone have ideas, post it here!
Maybe someone else would make the rules,
I'm not so good at that..
Attached Files
File Type: swf AI_vs_AI.swf (5.2 KB, 313 views)

__________________
[ veclock.deviantart.com ]
Pattt is offline   Reply With Quote
Old 01-21-2006, 02:51 PM   #8
Bokke
Unregistered User
 
Bokke's Avatar
Location The Netherlands

Posts 432
think this is a verry cool idea for a battle!
you should be able to add your own wapens (that follow the rules of mother earth and the enviroment)

__________________

<! currently working on my online portfolio !>
Previous known as BOKKE...
Bokke is offline   Reply With Quote
Old 01-21-2006, 02:57 PM   #9
sed|thh
'30ezer litér zokszigén'
 
sed|thh's Avatar
that swf is stupid...
A fighting game can not really have an ai except something like random kick, punch, hit, die

an enviroment must be made for first, and rules shall be made about what the ai is allowed to do (ie: if there were no limitations, I would just simply program a gun that deletes everything from the stage, and I would also make myself able to teleport so no bullets can hit me)

__________________
work in progress
sed|thh is offline   Reply With Quote
Old 01-21-2006, 04:25 PM   #10
kiwee
The X'tian HTML Guru
 
kiwee's Avatar
Location The Erf....I Think

Posts 192
very cool Idea, I can't enter since I don't have flash, but I will watch anyway, because this is going to be interesting
kiwee is offline   Reply With Quote
Old 01-21-2006, 05:38 PM   #11
Bokke
Unregistered User
 
Bokke's Avatar
Location The Netherlands

Posts 432
Quote:
Originally Posted by sed|thh
I would just simply program a gun that deletes everything from the stage, and I would also make myself able to teleport so no bullets can hit me)
yeah you're right, first there should be a enviroment with some rules like:

- max jumpheight
- max runspeed
- the gravity
- no teleporting

__________________

<! currently working on my online portfolio !>
Previous known as BOKKE...
Bokke is offline   Reply With Quote
Old 01-21-2006, 05:53 PM   #12
Joppe
Registered User
-weapons
-weather
Joppe is offline   Reply With Quote
Old 01-21-2006, 10:05 PM   #13
freeskier89
∿ ∿ ∿
 
freeskier89's Avatar
I really like this idea! There would only need to be a lot more rules. I wish I had to compete. If we could delay this until the summer, I would definitly be in on this.

Ive got a really cool idea, (let me know what you think) instead of a battle between bots, why not simulate a biological system, where every competitor designs their own organism? The person with the organism that lived the longest would win. I really, really... would like to compete in this.

__________________

freeskier89 is offline   Reply With Quote
Old 01-21-2006, 10:21 PM   #14
senocular
On Vacation
 
senocular's Avatar
Location San Francisco, CA (USA)

Posts 17,426
See, this is where it gets confusing and complicated.

I think what you need is, instead of setting limits, to have a set interface from which an AI instance is able to interact with and get information from. It cant do anything other than use that interface - a set number of predefined methods that the AI can use from a primary "battle" or "environment" object, or whatever you want to call it. The AI just runs through an onEnterFrame loop and calls methods from the battle object to do its thing.

Methods in the interface could include things like:
Code:
getLocation()
getVisible()
turnLeft()
turnRight()
moveForward()
firePrimaryWeapon()
fireSecondaryWeapon()
engageShield()
Events could also fire for the AI letting it know when it gets hit by enemy fire or hits a wall or whatever. This allows each person involved in the battle to have the same limits and capabilities making the actual AI or behavior the determining factor in success.

__________________
senocular is offline   Reply With Quote
Old 01-22-2006, 06:47 AM   #15
sed|thh
'30ezer litér zokszigén'
 
sed|thh's Avatar
Quote:
Originally Posted by senocular
See, this is where it gets confusing and complicated.

I think what you need is, instead of setting limits, to have a set interface from which an AI instance is able to interact with and get information from. It cant do anything other than use that interface - a set number of predefined methods that the AI can use from a primary "battle" or "environment" object, or whatever you want to call it. The AI just runs through an onEnterFrame loop and calls methods from the battle object to do its thing.

Methods in the interface could include things like:
ActionScript Code:
getLocation()
getVisible()
turnLeft()
turnRight()
moveForward()
firePrimaryWeapon()
fireSecondaryWeapon()
engageShield()



Events could also fire for the AI letting it know when it gets hit by enemy fire or hits a wall or whatever. This allows each person involved in the battle to have the same limits and capabilities making the actual AI or behavior the determining factor in success.
this is absolutely right I guess you've just created the very basics of the enviroment senocular!

here are some more extensions:
walkLeft();
walkRight(); //instead of turning
reloadPri(); and reloadSec();
speed(); //this could be increased or decreased, but if your speed gets too high you won't be able to run for too long. The character will become tired and won't be able to move. This coul be a mind breaking task to write a script determining wheter the player should run or not.

getFlag(); whereIsFlag(my/enemy); //this could be added later when the ais get better. A ctf game would be more exciting and more knowledge is requied in AS to win these games

any other ideas?

__________________
work in progress
sed|thh is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Random battle... part2... kpxnamja Game/AI Programming 20 11-26-2007 05:30 AM
Typograhpy Battle 2.0 rules nobody Battle 37 09-20-2006 08:44 AM
Battle after the Battle waffe Battle 13 11-13-2002 02:26 AM


All times are GMT -4. The time now is 11:19 PM.

SHARE:

SUPPORTERS:

cdn
content delivery network (cdn)

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. Copyright 2010 - kirupa.com Copyright 2010 - kirupa.com