Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import random | |
CARD_SIZE = 5 | |
# Chooses from twice as many numbers as a card can have. | |
# For example, a card with size 5 can have numbers between 1 and 25*2 -> 50, inclusive (hence the '+ 1') | |
MIN = 1 | |
MAX = CARD_SIZE**2 * 2 + 1 |