Hi!!
I have done this:
I have done `case left`, but i don't know how can i do case right and down.Code:int MovAllowed(Block * l,int where) { switch(where) { case left: if(l->x>0) // if(Board[l->x-1][l->y]!='X') //If the movement towards the left side not this blocked by another card { return 1; } return 0; case right: case down:
Thanks^^



LinkBack URL
About LinkBacks


