Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void find_entrance_sides ()
- {
- int flag = 0;
- for(j = 0; j < maxColonna; j+=maxColonna - 1){
- for(i = 0; i < maxRiga; i++){
- finding_point();
- void finding_point () {
- if(labyrinth[i][j] == '.') {
- printf("Found the entrance\n");
- labyrinth[i][j] = 'X';
- flag++;
- print_maze();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement