ID:49878
Title:first - thirds
Author:David Jones
Date:2008-11-05 14:55:10
Score:27368.8931
Result:27202.99 (cyc: 3, node: 70)
CPU Time:111.2035
Status:Passed
Comments:first submission, to get things started ...
Based on:none
Code:
function [dRow,dCol,action,mark] = solver(mainMap,foodMap,myAntMap,opAntMap, ...
                                          myScentMap,opScentMap,myDeathMap,opDeathMap)

dRow   = round(rand*2) - 1;
dCol   = round(rand*2) - 1;
r = rand;
if r < 0.33
    action = -1;
elseif r < 0.66
    action = 1;
else
    action = 0;
end
% action = -1; %-1 attack, 1 carry
mark   =  5; % scent
end