# https://docs.julialang.org/en/v1/base/collections/#Base.Pair
karty = [Pair(7,"7"),Pair(8,"8"),Pair(9,"9"),Pair(10,"10"),Pair(11,"dolník"),Pair(12,"horník"),Pair(13,"kráľ"),Pair(14,"eso")]
farby_kariet = ["zeleň", "žaluď", "červeň", "guľa"]

# https://discourse.julialang.org/t/cleanest-way-to-generate-all-combinations-of-n-arrays/20127
# help?> Iterators.product
vsetky_karty = collect(Iterators.product(karty, farby_kariet))

najhodnotnejsia_karta = vsetky_karty[1,1:4]
