//declare all the functions in this file #include #include void Initialize_GPIO(void); void delay_beep(unsigned long int x);//remove later void delay(unsigned int count); //edit later void delay2(unsigned int count); //edit later void beepOnce(void);//remove later void beepGameOver(void); void clk(void); void disable(char control_type[3]); void enable(char control_type[3]); void selectRow(int address_in_decimal); void feedRGB0(_Bool R0,_Bool G0,_Bool B0); void feedRGB1(_Bool R1,_Bool G1,_Bool B1); void showDataOnHUB32x32(void); void defineBoundaries(int leftB,int rightB); void showGameOver(void); _Bool rotate_collision_detection(int shape_current_row_index,int shape_current_col_index,char current_shape_type,int current_shape_orientation); _Bool down_collision_detection(int shape_current_row_index,int shape_current_col_index,char shapeType,int shapeOrientation); _Bool left_collision_detection(int shape_current_row_index,int shape_current_col_index,char shapeType,int shapeOrientation); _Bool right_collision_detection(int shape_current_row_index,int shape_current_col_index,char shapeType,int shapeOrientation); void put_shape_to_main_matrix(int shape_current_row_index,int shape_current_col_index,char shapeType,int shapeOrientation); void makeCurrentShapeBitsZero(int shape_current_row_index,int shape_current_col_index,char shapeType,int shapeOrientation); char generateRandomShape(void); int generateRandomOrientation(char shapeType); _Bool checkRowForOnes(void); void shiftdown(int rownumber); int rotateShape(int shapeOrientation,char shapeType); int randomColGenerator(void); _Bool checkForGameOver(int shape_current_row_index); void updateGOmatrixWithScore(int score); void putscoretoGOmatrix(int score,_Bool decimalplace);