please use code tags
and the funciton doesn't have any code...
the prototype of displaygrid
doesn't match the body..
short displaygrid(short siPlayerGrid, short siCompGrid); //function displaying grid
as you can see the declaration takes 2 arguments but the code for what I guess is supposed to be the function only takes 1
short displaygrid(short siCompGrid)
//10-50, player units
//50-90, comp units
and so it isn't the same function...maybe this function is in another