If i wanted to make a snake or pacman type game...
Is there a way to make the character move instead of this:
doing that for every grid and evry possibility (up, dow, left, right)Code:if(mve == dwn && grid[0][1] == ' '){ grid[0][1] = 'X'; grid[0][0] =' ';
would be soo tedious and time consuming.
![]()



LinkBack URL
About LinkBacks




