Code Review

the name `:index_id` seems strange here.  Is it the id for the card? Or the index of the card in the deck?

I would assume:

- `:index` means it's the index of the card in the deck
- `:id` means the card's id