hi, i have to create a solitaire game, i'm having trouble moving cards, if i move one the program will repaint it but will replace the moved card with another one if you try to move another card from a different pile.
the code i currently have for this project is attached