7th Guest Germ Game

by

 

The microscope game from 7th guest with simple 'AI'.

[winner]=iswinner(board)
function [winner]=iswinner(board)

a1=length(find(board==1));
a2=length(find(board==-1));
if a1>a2
    winner=1;
else
    winner=-1;
end

Contact us