SHARE
TWEET

Untitled

a guest May 26th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     if((fila == fila_por_defecto+1)&&(columna == columna_por_defecto){
  2.             matriz[fila][columna]=snake_cuerpo1;
  3.             matriz[fila][columna]=snake_cuerpo2;
  4.     }
  5.     else if ((fila == fila_por_defecto-1)&&(columna == columna_por_defecto){
  6.             matriz[fila][columna]=snake_cuerpo1;
  7.             matriz[fila][columna]=snake_cuerpo2;
  8.     }
  9.     else if ((fila == fila_por_defecto)&&(columna == columna_por_defecto+1){
  10.             matriz[fila][columna]=snake_cuerpo1;
  11.             matriz[fila][columna]=snake_cuerpo2;
  12.     }
  13.     else if ((fila == fila_por_defecto+1)&&(columna == columna_por_defecto-1){
  14.             matriz[fila][columna]=snake_cuerpo1;
  15.             matriz[fila][columna]=snake_cuerpo2;
  16.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top