0% found this document useful (0 votes)
7 views

1_SampleRun1_InputValidation

Uploaded by

n28tykqh6y
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

1_SampleRun1_InputValidation

Uploaded by

n28tykqh6y
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

=====

New Round:
=====
| 0 | 1 | 2 | 3 | 4 | 5 |
0| # | % | @ | * | # | * |
1| @ | @ | * | # | # | % |
2| # | % | % | @ | % | * |
3| % | * | @ | # | * | @ |
4| # | * | @ | % | % | @ |
5| % | @ | # | * | % | % |
Enter the coordinate (row, column) of the candy:0 2
Enter the direction to swap (U for Up, D for Down, L for Left, R for Right):D
Horizontal Match found at row 1!
=====
| 0 | 1 | 2 | 3 | 4 | 5 |
0| # | % | * | * | # | * |
1| | | | # | # | % |
2| # | % | % | @ | % | * |
3| % | * | @ | # | * | @ |
4| # | * | @ | % | % | @ |
5| % | @ | # | * | % | % |
=====
New Round:
=====
| 0 | 1 | 2 | 3 | 4 | 5 |
0| # | % | * | * | # | * |
1| | | | # | # | % |
2| # | % | % | @ | % | * |
3| % | * | @ | # | * | @ |
4| # | * | @ | % | % | @ |
5| % | @ | # | * | % | % |
Enter the coordinate (row, column) of the candy:-1 0
Coordinates Out of Bound.
Please try again.
=====
New Round:
=====
| 0 | 1 | 2 | 3 | 4 | 5 |
0| # | % | * | * | # | * |
1| | | | # | # | % |
2| # | % | % | @ | % | * |
3| % | * | @ | # | * | @ |
4| # | * | @ | % | % | @ |
5| % | @ | # | * | % | % |
Enter the coordinate (row, column) of the candy:10 5
Coordinates Out of Bound.
Please try again.
=====
New Round:
=====
| 0 | 1 | 2 | 3 | 4 | 5 |
0| # | % | * | * | # | * |
1| | | | # | # | % |
2| # | % | % | @ | % | * |
3| % | * | @ | # | * | @ |
4| # | * | @ | % | % | @ |
5| % | @ | # | * | % | % |
Enter the coordinate (row, column) of the candy:10 10
Coordinates Out of Bound.
Please try again.
=====
New Round:
=====
| 0 | 1 | 2 | 3 | 4 | 5 |
0| # | % | * | * | # | * |
1| | | | # | # | % |
2| # | % | % | @ | % | * |
3| % | * | @ | # | * | @ |
4| # | * | @ | % | % | @ |
5| % | @ | # | * | % | % |
Enter the coordinate (row, column) of the candy:-1 -1
Coordinates Out of Bound.
Please try again.
=====
New Round:
=====
| 0 | 1 | 2 | 3 | 4 | 5 |
0| # | % | * | * | # | * |
1| | | | # | # | % |
2| # | % | % | @ | % | * |
3| % | * | @ | # | * | @ |
4| # | * | @ | % | % | @ |
5| % | @ | # | * | % | % |
Enter the coordinate (row, column) of the candy:1 0
Empty Cell Selected.
Please try again.
=====
New Round:
=====
| 0 | 1 | 2 | 3 | 4 | 5 |
0| # | % | * | * | # | * |
1| | | | # | # | % |
2| # | % | % | @ | % | * |
3| % | * | @ | # | * | @ |
4| # | * | @ | % | % | @ |
5| % | @ | # | * | % | % |
Enter the coordinate (row, column) of the candy:1 1
Empty Cell Selected.
Please try again.
=====
New Round:
=====
| 0 | 1 | 2 | 3 | 4 | 5 |
0| # | % | * | * | # | * |
1| | | | # | # | % |
2| # | % | % | @ | % | * |
3| % | * | @ | # | * | @ |
4| # | * | @ | % | % | @ |
5| % | @ | # | * | % | % |
Enter the coordinate (row, column) of the candy: 0 0
Enter the direction to swap (U for Up, D for Down, L for Left, R for Right):L
Move Out of Bound.
Please try again.
=====
New Round:
=====
| 0 | 1 | 2 | 3 | 4 | 5 |
0| # | % | * | * | # | * |
1| | | | # | # | % |
2| # | % | % | @ | % | * |
3| % | * | @ | # | * | @ |
4| # | * | @ | % | % | @ |
5| % | @ | # | * | % | % |
Enter the coordinate (row, column) of the candy:0 0
Enter the direction to swap (U for Up, D for Down, L for Left, R for Right):A
Wrong Direction Input.
Please try again.
=====
New Round:
=====
| 0 | 1 | 2 | 3 | 4 | 5 |
0| # | % | * | * | # | * |
1| | | | # | # | % |
2| # | % | % | @ | % | * |
3| % | * | @ | # | * | @ |
4| # | * | @ | % | % | @ |
5| % | @ | # | * | % | % |
Enter the coordinate (row, column) of the candy:5 2
Enter the direction to swap (U for Up, D for Down, L for Left, R for Right):D
Move Out of Bound.
Please try again.
=====
New Round:
=====
| 0 | 1 | 2 | 3 | 4 | 5 |
0| # | % | * | * | # | * |
1| | | | # | # | % |
2| # | % | % | @ | % | * |
3| % | * | @ | # | * | @ |
4| # | * | @ | % | % | @ |
5| % | @ | # | * | % | % |
Enter the coordinate (row, column) of the candy:1 5
Enter the direction to swap (U for Up, D for Down, L for Left, R for Right):R
Move Out of Bound.
Please try again.
=====
New Round:
=====
| 0 | 1 | 2 | 3 | 4 | 5 |
0| # | % | * | * | # | * |
1| | | | # | # | % |
2| # | % | % | @ | % | * |
3| % | * | @ | # | * | @ |
4| # | * | @ | % | % | @ |
5| % | @ | # | * | % | % |
Enter the coordinate (row, column) of the candy:3 0
Enter the direction to swap (U for Up, D for Down, L for Left, R for Right):L
Move Out of Bound.
Please try again.
=====
New Round:
=====
| 0 | 1 | 2 | 3 | 4 | 5 |
0| # | % | * | * | # | * |
1| | | | # | # | % |
2| # | % | % | @ | % | * |
3| % | * | @ | # | * | @ |
4| # | * | @ | % | % | @ |
5| % | @ | # | * | % | % |

You might also like