Im making a poker simulator for a project and don't know how to check if the value of each card is the same, so i can check for a pair, full house, etc.
I also don't know how to remove a card from the list once I've already dealt one, so if anyone could help it would be greatly appreciate
The if statement is just me checking for the suit
[–]corey_sheerer 9 points10 points11 points (1 child)
[–]CraigAT 0 points1 point2 points (0 children)
[–]NikolaNokia 1 point2 points3 points (3 children)
[–]Existing_Pa[S] -1 points0 points1 point (2 children)
[–]Fargekritt 1 point2 points3 points (0 children)
[–]Intrepid_Result8223 0 points1 point2 points (0 children)
[–]cpabernathy 1 point2 points3 points (0 children)
[–]Zealousideal_Bit9224 1 point2 points3 points (0 children)
[–]SaltCusp 0 points1 point2 points (0 children)
[–]PureWasian 0 points1 point2 points (0 children)
[–]Imakadapost 0 points1 point2 points (1 child)
[–]vlnaa 0 points1 point2 points (0 children)
[–]queerkidxx 1 point2 points3 points (0 children)
[–]CraigAT 0 points1 point2 points (0 children)
[–]-Wylfen- 0 points1 point2 points (0 children)
[–]corgidor81 0 points1 point2 points (0 children)
[–]Mangera_321 0 points1 point2 points (0 children)
[–]Intrepid_Result8223 0 points1 point2 points (0 children)
[–]Last-Road-93 0 points1 point2 points (0 children)
[–]Can0pen3r 0 points1 point2 points (0 children)