diff --git a/Report FDS miniproject.pdf b/Report FDS miniproject.pdf new file mode 100644 index 0000000..83fb231 Binary files /dev/null and b/Report FDS miniproject.pdf differ diff --git a/minesweeper.cpp b/minesweeper.cpp index e9f5bac..505715f 100644 --- a/minesweeper.cpp +++ b/minesweeper.cpp @@ -24,7 +24,7 @@ bool ismine(int row,int col,char board[][max_side]){ // If there is a mine return (false); } -void make_move(int *x,int *y){ +void make_move(int *x,int *y){ //take input from the user while(true) // Correct input { cout<<"\nEnter your move: [row] [column] -> "; @@ -37,7 +37,7 @@ void make_move(int *x,int *y){ } } -void printboard(char myboard[][max_side]){ +void printboard(char myboard[][max_side]){ //to print current gameplay board clear(); cout<<"\n\n\t\t\t "; for(int i=0;i