A move in chess (http://en.wikipedia.or g/wiki/Algebraic_notat ion_(chess)) can be written entering three characters:
like: Ka1
The first letter can be K, Q, R, N, B, P
The second letter can be a, b, c, d, e, f, g, h,
The third letter can be 1, 2, 3, 4,, 5, 6, 7, 8
User can input 3 characters using the above rules
If something is wrong with input characters the program must show error message (for example...
Search Result
Collapse
2 results in 0.0013 seconds.
Keywords
Members
Tags
-
How can I check input characters one by one as part of an array
-
Knight's Tour Project
Hello,
I know this is a popular problem with a lot of solutions, but I don't want to be pointed to a post by someone else with THEIR solution. I want to figure out how to make my own code work. So, any help you could provide would be wonderful!
So, what I'm trying to do is solve the Knight's Tour problem (without a GUI) and print the result as follows:
Now, of course this is not the correct answer since...