[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4586: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4588: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4589: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4590: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
AI Challenge Forums • View topic - Osmos

It is currently Sun Dec 17, 2017 11:21 pm Advanced search

Osmos

Ideas for the Future

Osmos

Postby Fanter » Sun Jan 27, 2013 5:09 pm

Idea is basically the same as in game.

The scheme of playing agent:
Image

Initial position and Middle of the game:

Image
Image

World and rules:

At the start of the game we have N player spheres inside rectangular area. Agents can do two things:
1. Eject it's own substance to move (either LL(life layer) or SL(shield layer)
2. Fire attack substance from its AL(attack layer)

If two agents get in contact then two things can happen:
1. if first agent LL > second agent LL + SL then second agent will be absorbed
2. else they will bounce

Layer substance properties:
1. SL - shield layer. Very light substance,which protect agent from assimilation, can be ejected to move
2. LL - life layer. Medium weight substance. You need this substance to absorb enemy agents. For assimilation your LL must be greater then the sum of enemy LL and SL. Can also be ejected.
3. AL attack layer. Light substance. Can be fired at another agents. When absorbed, transforms into HL(heavy layer substance)
4. HL heavy layer. Heavy substance. Because of it's heaviness slows the movement of agent. Can't be ejected.

Besides the agents in random fashion little spheres of different layer substances will appear throughout the game area, which can be absorbed by direct contact with agent.

The winner is the last standing agent, or if time is out - the one with more LL.
Fanter
Cadet
 
Posts: 5
Joined: Sun Jan 27, 2013 3:14 pm

Re: Osmos

Postby aerique » Mon Jan 28, 2013 3:26 pm

Nice, I never thought of targeting Osmos for an AI challenge.

I'm not sure about the layers though. Osmos' simplicity by having just one layer is very tempting and might make for interesting games as well without adding the (perhaps needless?) complexity of the extra layers.
aerique
Brigadier-General
 
Posts: 131
Joined: Fri Feb 05, 2010 3:23 pm
Location: Netherlands

Re: Osmos

Postby Fanter » Tue Jan 29, 2013 8:43 pm

Yes, I also thought of leaving just one layer, and it might be a way to go. Going to built a prototype and play with it a little.

Also here is another variation, it has the same osmos mechanics, only difference is that you have multiple agents, that can divide:

Image
Fanter
Cadet
 
Posts: 5
Joined: Sun Jan 27, 2013 3:14 pm

Re: Osmos

Postby aerique » Wed Jan 30, 2013 9:48 am

aerique
Brigadier-General
 
Posts: 131
Joined: Fri Feb 05, 2010 3:23 pm
Location: Netherlands

Re: Osmos

Postby Fanter » Sat Feb 23, 2013 7:57 pm

Ok, took me already long enough.

So here is the first version with the limited functionality, it has one agent with stupid ai, two with no ai and one which you can control with keyboard arrow keys:

https://dl.dropbox.com/u/12577911/aigames/mergeai.jar

To run you should have java JRE 6.0+, double click must be enough.

Here is the source code:
https://github.com/Fanter/MergeAI

You may try to fiugre out how to write strategy by looking at the strategy package. If you have played at Russian AI cup you will find interface somewhat familiar.

The next thing I'm going to add ability to split, so from there it might become interesting.
Fanter
Cadet
 
Posts: 5
Joined: Sun Jan 27, 2013 3:14 pm

Re: Osmos

Postby Fanter » Mon Feb 25, 2013 8:22 pm

Here it is: https://dl.dropbox.com/u/12577911/aigames/mergeai2.jar

Now agents can split, and ai was made just good enough so that you could have the feeling of the game.
What do you think about it?
Fanter
Cadet
 
Posts: 5
Joined: Sun Jan 27, 2013 3:14 pm


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest

cron