Friday 16 May 2014

Cooperating... or not.

Cooperating is quite easy in this framework: If you get 10 points in your score for a given future, then the other players will also get those 10 extra points. That simple.

So, if we all are cooperating on a goal, then we all share a common scoring for that goal (being it the sum of the scorings for this goal of all the players) no matter who exactly got each point.

In the case of a reductive goal, it is the same, all the players reduce their scoring with the reductive goal a single kart get, so again there is asingle reductive coeficient (multiply the reductive coefs. of all the players to get it) that is shared by all the players.

This last point is not free of troubles: If a players dies, its redcutive goal for health drops to zero, so my own scorings will be all... zero! So I lost the joy of living and let the rocket fall down to ground and break... uh! not so good to cooperate in those conditions!

The following video shows a group of players cooperating on all theirs goals. The effect is not much evident just because one layer of intelligence only simulates five seconds or so, and it is not long enough to really appreciate the difference. I hope the use of a second layer of AI (not implemented yet) will make it much more visible.



And what about competing for a goal? Well, almost as easy, but not really the same thing: when competing, you take the other's scoring from your own one, so you can end up having some futures with a negative scoring, and negative scorings use to make players a little too prone to suicide.

In the next video, just to make the "competition" a little more "visible", I added a nasty new goal: suck energy to others by firing your main truster into them!



I am not quite happy with neither of the two videos, they do contain the idea of cooperating or competing, but somehow the efect is not what I spected. I assume adding a second layer of AI will make them realize how bad it is to push another player to dead while cooperating (cooperating with the sucking rockects goal "on" didn't avoid some occasinal deaths, not so different from the "war" video as it should be).

By the way, all this is available on the last V1.1 of the application I uploaded some days ago.

No comments:

Post a Comment