Example client: Use the conservative default values for attributes

This commit is contained in:
Petr Baudis 2011-12-23 18:34:24 +01:00
parent 4c1b54c993
commit e97cb92979

View file

@ -188,9 +188,10 @@ if ($ARGV[1]) {
print "[ii] recovering agent $ARGV[1]\r\n";
print $socket "agent_id $ARGV[1]\r\n";
} else {
# Agent attributes - the default values:
print $socket "move 1.0\r\n";
print $socket "attack 1.0\r\n";
print $socket "defense 1.0\r\n";
print $socket "attack 0.5\r\n";
print $socket "defense 0.5\r\n";
}
print $socket "\r\n";
print "[ii] agent created\r\n";