i've been asked to make make a game and it includes printing
game board as nxn array and upon user input it needs to reveal a "card"
on the first input and another card on the other.if the cards match you keep them
on screen and if not-revert to original game board which is mainly a
square printed with "*"'s.
my first logic was to create a function for int array and then to create another one for char array like something similar to this:
body of the char array(assume N is 4)-
then i compare this game[][] to another array with numbers in it and if they match keep them and if not i discard given values.problem is i failed to do any type of conversion and i have no idea as to how go on with this problem.any help?