Thanks to TechWithTim
Welcome to JackpotJourney : Console Slot Machine 💵 Adventure project! This is a simple terminal-based slot machine game where you can test your luck and try to win some virtual money.
- Deposit Some Money: To start the game, you need to deposit an initial amount of virtual money. Enter the amount you want to deposit when prompted.
- Determine the Number of Lines to Bet On: Choose how many lines you want to bet on (1 to 3). Each line will have a separate bet.
- Collect the Bet Amount: Enter the bet amount for each line. Make sure your bet is within your available balance.
- Spin the Slot Machine: Let the reels spin and see the symbols align. Each reel contains a variety of symbols with different values.
- Check if You Won: The game will check if you've won on any of the lines you bet on. If you have a winning combination, your winnings will be added to your balance.
- Continue Playing: You can choose to continue playing or exit the game after each round. The game ends if your balance reaches zero.
- Symbols: The game includes symbols like 💎, 💳, 💰, and 🍌, each with different values.
- Rows and Columns: The slot machine consists of 3 rows and 3 columns.
- Lines: You can bet on 1 to 3 lines.
- Ensure you have Node.js installed on your system.
- Clone this repository.
- Open your terminal and navigate to the project directory.
- Run
npm init
- Install
npm -i prompt-sync
- Run the game by executing the script:
node main.js
.