$ python3 racko.py
Welcome to Solitaire Rack-O!
Here is your rack:
SLOT CARD
10 16
9 2
8 22
7 17
6 28
5 20
4 34
3 24
2 27
1 5
The face-up card is 8.
(D)raw, take the (F)aceup card, or (Q)uit? F
Choose a slot to exchange.
Which slot do you want to put it in? 2
Here is your rack:
SLOT CARD
10 16
9 2
8 22
7 17
6 28
5 20
4 34
3 24
2 8
1 5
The face-up card is 27.
(D)raw, take the (F)aceup card, or (Q)uit? D
You drew a 19
Choose a slot to exchange or select 0 to discard.
Which slot do you want to put it in? 4
Here is your rack:
SLOT CARD
10 16
9 2
8 22
7 17
6 28
5 20
4 19
3 24
2 8
1 5
The face-up card is 3.
(D)raw, take the (F)aceup card, or (Q)uit? D
You drew a 23
Choose a slot to exchange or select 0 to discard.
Which slot do you want to put it in? 6
Here is your rack:
SLOT CARD
10 16
9 2
8 22
7 17
6 23
5 20
4 19
3 24
2 8
1 5
The face-up card is 12.
(D)raw, take the (F)aceup card, or (Q)uit? F
Choose a slot to exchange.
Which slot do you want to put it in? 3
Here is your rack:
SLOT CARD
10 16
9 2
8 22
7 17
6 23
5 20
4 19
3 12
2 8
1 5
The face-up card is 26.
(D)raw, take the (F)aceup card, or (Q)uit? F
Choose a slot to exchange.
Which slot do you want to put it in? 7
Here is your rack:
SLOT CARD
10 16
9 2
8 22
7 26
6 23
5 20
4 19
3 12
2 8
1 5
The face-up card is 10.
(D)raw, take the (F)aceup card, or (Q)uit? D
You drew a 32
Choose a slot to exchange or select 0 to discard.
Which slot do you want to put it in? 9
Here is your rack:
SLOT CARD
10 16
9 32
8 22
7 26
6 23
5 20
4 19
3 12
2 8
1 5
The face-up card is 11.
(D)raw, take the (F)aceup card, or (Q)uit? D
You drew a 9
Choose a slot to exchange or select 0 to discard.
Which slot do you want to put it in? 0
Here is your rack:
SLOT CARD
10 16
9 32
8 22
7 26
6 23
5 20
4 19
3 12
2 8
1 5
The face-up card is 11.
(D)raw, take the (F)aceup card, or (Q)uit? D
You drew a 9
Choose a slot to exchange or select 0 to discard.
Which slot do you want to put it in? 0
Here is your rack:
SLOT CARD
10 16
9 32
8 22
7 26
6 23
5 20
4 19
3 12
2 8
1 5
The face-up card is 10.
(D)raw, take the (F)aceup card, or (Q)uit? D
You drew a 17
Choose a slot to exchange or select 0 to discard.
Which slot do you want to put it in? 0
Here is your rack:
SLOT CARD
10 16
9 32
8 22
7 26
6 23
5 20
4 19
3 12
2 8
1 5
The face-up card is 29.
(D)raw, take the (F)aceup card, or (Q)uit? F
Choose a slot to exchange.
Which slot do you want to put it in? 8
Here is your rack:
SLOT CARD
10 16
9 32
8 29
7 26
6 23
5 20
4 19
3 12
2 8
1 5
The face-up card is 37.
(D)raw, take the (F)aceup card, or (Q)uit? F
Choose a slot to exchange.
Which slot do you want to put it in? 10
RACKO! You won in 11 turns!