when you look at my example:
There is a class Button which contains the cover (800 $ for hidden card) and the answer and the question. We have an array of that class.
Now you need only one state but you display the text that is stored in the current cell of the grid