Please fix my code.

I have done the program but it still has some problems when running. Please check and modify my code to make my program can run successfully as the sample in the pdf file(Please read the requirement and instructions in the file carefully).By now, I found that the main problem is my move method. Sometimes when I typed up or down, it moves right or left(I think the problem is the value of x and y is reversal). And sometimes when I try to “move” a piece when there is actually no piece in a specific location, the program does not print out the error message.Please fix my code and you can add or change the methods.
[ad_2]Source link
“Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!”

What Students Are Saying About Us

.......... Customer ID: 12*** | Rating: ⭐⭐⭐⭐⭐
"Honestly, I was afraid to send my paper to you, but proved they are a trustworthy service. My essay was done in less than a day, and I received a brilliant piece. I didn’t even believe it was my essay at first 🙂 Great job, thank you!"

.......... Customer ID: 14***| Rating: ⭐⭐⭐⭐⭐
"The company has some nice prices and good content. I ordered a term paper here and got a very good one. I'll keep ordering from this website."

"Order a Custom Paper on Similar Assignment! No Plagiarism! Enjoy 20% Discount"