I went from an Array to a Map thus seeking in O(1) for cards.