- Start the game: Open the Refactor Slot Machine file in Visual Studio.
- Choose your bet: Select from five betting options displayed on the screen:
-(A) Play all three horizontal lines for $2: Win $20, $40, or $60 for 1, 2, or 3 winning lines respectively.
- (H) Play all vertical lines for $2: Win $20, $40, or $60 for 1, 2, or 3 winning lines respectively.
- (V) Play horizontal center line only for $2: Win $30 for a winning combination.
- (C) Play vertical center line only for $2: Win $30 for a winning combination.
- (D) Play diagonals for $2: Win $20 for any winning diagonal and $60 for both winning diagonals.
- Claim your winnings: If your chosen symbols align according to the payout table for your bet option, you'll win! The amount you win will be displayed on the screen.
- Repeat! Play again by choosing another bet.
Programming language: C# Interface: Console application