MemphiS Posted November 2, 2008 Share Posted November 2, 2008 So ive already created poker, but im wondering if theres a more efficent way of working out the final card scores. Currently i just go through starting checking for a royal fush and work my way dwn to a high card with if statments etc.. Is there a better way or iis this the only way? Quote Link to comment https://forums.phpfreaks.com/topic/131062-creating-poker/ Share on other sites More sharing options...
laffin Posted November 2, 2008 Share Posted November 2, 2008 that depends on how u store yer card values. I wud think, ya wud want to store them by numerical and suit weight. that way ya can pull pairs quckly. Quote Link to comment https://forums.phpfreaks.com/topic/131062-creating-poker/#findComment-680565 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.