Yosef Guevara Salamanca
/
TETRIS_3
TETRIS FINAL
Diff: Tetris.cpp
- Revision:
- 3:f61db70f1f7c
- Parent:
- 2:cee98cfbd679
--- a/Tetris.cpp Fri Nov 16 05:05:06 2018 +0000 +++ b/Tetris.cpp Fri Nov 16 06:15:20 2018 +0000 @@ -81,7 +81,7 @@ void captura_datos(){ pc.baud(38400); //Inicializa la velocidad de comunicacion - /*//----------------------------------------- + //----------------------------------------- char inicio=0,final=0; figura=0; giro=0; @@ -108,16 +108,16 @@ read(); } - *///------------------------------------------------------ + //------------------------------------------------------ - //--------------------figuras con random------------------ + /*//--------------------figuras con random------------------ figura=0; giro=0; figura=rand()%5; giro=rand()%5; posicion=rand()%6;; read(); - //-------------------------------------------------------- + *///-------------------------------------------------------- @@ -309,7 +309,6 @@ posicion++; for(int i=7; i >=0; i--){ - int izq = (memoria[i+1] & (imprimir[i]>>corrimiento)); imprimir[i]=imprimir[i-1]; if(i==0){ imprimir[i]=0; @@ -317,8 +316,6 @@ } if((memoria[i+1] & (imprimir[i]>>corrimiento))!=0){ enableizq=0; - pc.printf("\n multiizq en:%d\n ",izq); - pc.printf("\n izquierdo: %d\n",enableizq); } }