The Gin Rummy tournament happened on 10/21/16. I wanted to win the whole tournament, but I only thought my AI would get to the final four. I took
second place in the competition. Second place is good but I only lost
by 3 points, so my AI and my opponent's AI were very close in skill.
The day of the tournament I had high hope that my AI would be a contender. I was right because the first match, my AI shutout the opponent. I kinda feel bad for that, but I made my AI to be as best as possible.
I think the only way I could have tried to improve my AI is to improve what card it discards. It first checks a vector is to see if there are any useless cards in my hand. This would include a 6 of clubs, if it had nothing that can use that card. Then it checks to see if it has any cards in the discarded vector. This would include if it had a two pair and the other cards are in the discard pile. It can't use them so it will discard them. If both those vectors are empty. It starts to discard the highest valued card form the incomplete run vector. Then the highest value card of the two pair vector. So maybe if the AI picked the highest value card that was in a combined incomplete run/two pair vector. This way my hand would always try to have the lowest score. Although it might just mess up my algorithm and loss more often.