ガチャを引く
We listed cards and deleted them, now let's add some cards by playing a gacha game. The game must implement the following features
- The player can pull a gacha a limited amount of times
- Card rarity is linked to card rank (SS cards are more rare than C cards)
In particular, here's the probability for each card rarity:
| Rank | SS | S | A | B | C |
| Rarity (%) | 5% | 10% | 20% | 30% | 35% |
Let's start by making a new table in the database to store how many gacha pulls each player has. We need the user id and the number of pulls.