Gin Rummy Planning Post

In terms of thinking out this game the planning process is much easier. The biggest issue will be tracking the sets and runs during gameplay. The best plan will be to have sets of lists or arrays that hold the entire hand. Three will work best because you can hold the set and runs together and keep track of the cards that may lead to a set or run should  a card be drawn.

The most time consuming aspect will be taking the value of the available card on the discard pile and checking it with what you have. It shouldn’t be an incredibly difficult thing to decide, but it will take time. This AI just seems to work within my mind better making the planning process much smoother. The code will need to have a class for control of the player’s hand and from there all the information needed in the decision making should be relatively easy to make accessible.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s