- for number in {101..113} {201..213} {301..313} {401..413} {101..113} {201..213} {301..313} {401..413} ; do echo $number ; done | shuf -n 30
- # bash map two decks of 52 cards to numbers and select a certain number of them randomly
- # This is helpful for some solitaries. If one doesn't want to use real cards but pen and paper, having a mapping on numbers helps.
- # Example with rummikub (https://en.wikipedia.org/wiki/Rummikub).
- # Picking a certain number of cards at random, is it possible to place them in legal combinations.
- # If yes, how many cards cannot be combined? Can they all be combined?
- # There are many other possible puzzles/solitaires to solve with cards, and thus those can be mapped to numbers are well.