Video poker is a casino game based on five-card draw poker. It is played on a computerized console similar in size to a slot machine. After inserting money (or a bar-coded paper ticket with credit) into the machine, play begins by placing a bet of one or more credits and pressing the "deal" button. The player is then given 5 cards (like five-card draw) and has the opportunity to discard one or more of them in exchange for new ones drawn from the same virtual deck. After the draw, the machine pays out if the hand or hands played match one of the winning combinations, which are posted in the pay table. Unlike the table version, the player may discard all 5 of their original cards if they so choose.