Slot Machine

Slot Machine is the third mini-game in Plants vs. Zombies. It is available once mini-games are unlocked. The gimmick of this mini-game is that instead of using plants in a normal fashion, a slot machine deploys your artillery. The machine can dispatch seed packets for Peashooters, Snow Peas, Sunflowers, and Wall-nuts. Thus, this mini-game is a form of gambling, as luck is heavily involved. It costs 25 sun per spin. If the homeowner survives four large waves of zombies, an endless barrage of zombies will infiltrate the lawn.

Objective
To complete the level, 2000 sun must be collected. However, the sun must be spent eventually to activate the slot machine. Postponing its activity is futile, as a horde of zombies will approach while the player hoards sun. Matching two of a plant on the slots awards one seed packet and three of a kind produces three packets. Matching diamonds can either create one or three diamonds, and matching sun icons will either produce 100 or 500 sun.

Strategies
This mini-game has a relatively simple strategy: simply plant Peashooters, Snow Peas and Sunflowers mixed together in the back, and create a barricade of Wall-nuts in front. The player may have trouble to begin with, depending on their luck, but it gets easier the further they get, as there are only a couple of zombie types to contend with. Eventually, there will be more and more zombies approaching at one time, so if the player is trying to earn money by preventing themselves from winning and attempting to get diamonds, they may have to win so that hordes of zombies getting past their defenses will not make them lose. Note that any used seed packets will disappear if not planted after a certain amount of time. The seed packet will flash to a darker tint when it is about to do so, signaling that it should be used quickly. Also, Wall-nut First Aid, which is available in Crazy Dave's shop for $2000 after completing Adventure Mode, will both buy time and save the other plants. It is recommended that the player does not use this strategy, until a Wall-nut has reached its second and final stage of damage. This is not always possible, as the seed packet will eventually disappear if not used. If so, you can always plant it in front of another Wall-nut.

Trivia

 * A Peashooter with the back leaves of a Repeater can be seen on the Slot Machine.
 * Slot Machine, Vasebreaker, It's Raining Seeds, and Heat Wave are the only mini-games in which seed packets will vanish if unused.
 * There is a glitch in the Xbox 360 and PlayStation 3 versions of Plants vs. Zombies where if the player leaves the game without completing it, he or she will be unable to pull the handle to get more plants upon returning. Thus, it will be difficult to complete the level if the player has less than five Sunflowers. To resolve this glitch, the player can either lose the game, restart the level, or complete the level by getting 2000 sun.
 * Slot Machine and Seeing Stars are the only minigames in Day that only have the normal Zombie, Conehead Zombie, Buckethead Zombie, and Flag Zombie.
 * This is the only area of Plants vs. Zombies that lets the player use Sunflowers for free. This may be because there is no need for sun on other levels or mini games because the player gets plants for free.
 * The Zombie on the Slot Machine has Silver Coins for eyes in all versions except the iPad version.
 * Lucky Spin is the only achievement that must be unlocked in Slot Machine, as well as the only achievement to do with money besides Penny Pincher.
 * The icon for diamonds on the slot machine is different in the iPad version.