'I need help finding the best set of cards in a card game from a 500 card database

Let's say there is a 1vs1 card game where my opponent and I choose 5 cards from a database of 400-500 cards (each of us 5 cards) and based on some rules, we play until one of us wins.

I want to build a code to give me the best set of cards from this database to have the highest chance of winning against my opponent.

I don't know much about programming and I want to start learning. I created this question here to get a roadmap. Which programming language do you suggest?



Solution 1:[1]

this depends on the card rules etc. do you know the cards from your opponent before they are all played?

(should be a comment, but i need 50Karma for that)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 MrAskAlot