I am making a poker scoring system. One way I thought of doing it was to be able to identify if each card ( 3h - 3 of hearts, 6c - 6 of clubs etc etc) has matching integers or characters. Then use this to say if there is 5 matching integers then display flush. I have looked on this forum for answers and can't seem to find anything that really helps. If this is not possible what would be the best way to design this, bubble sort maybe?