WVU-CS230-2024-01-Group04 / Jackpot-Junction

0 stars 1 forks source link

!!!! Welcome to Fabulous Jackport Junction Morgantown !!!!

Jackpot-Junction: This is a fun, free gambling site for blackjack slots and roulette where user play games in an updated and clean UI directly in their browser.

Getting Started

To get started with playing Blackjack, follow these steps:

  1. Clone the repository:
  1. Navigate into the project directory:
  1. Then type the command below in the terminal

    • npm install
    • amplify pull --appId d2guk0wqbl2y37 --envName staging
    • npm start
  2. Then register by creating account and you are good to play the game.

    Blackjack Game Blackjack, formerly known as black jack and vingt-un, is a popular casino banking game played worldwide. Here are some key points about the game:

History:

a). The game’s immediate precursor was the English game twenty-one (called vingt-un in French).

b). The first written reference to a similar game appears in a book by the Spanish author Miguel de Cervantes.

c). In the United States, vingt-un evolved into an American variant called blackjack around 1899.

Objective:

The goal of blackjack is to get a hand value closer to 21 than the dealer without exceeding it. Going over 21 results in a bust.

Card Values:

  1. Number cards (2-10) have their face value.

  2. Face cards (Jacks, Queens, Kings) are worth 10 points each.

  3. Aces can be worth 1 or 11 points, depending on which value benefits the player more.

Gameplay:

  1. Initial Deal: The dealer deals two cards to each player, including themselves. One of the dealer's cards is dealt face down (the "hole card").

  2. Player's Turn: The player goes first and can choose from the following options:

    Hit: The player receives another card. The player can continue to hit until they decide to stand or until their hand value exceeds 21 (bust).

    Stand: The player keeps their current hand and ends their turn.

    Double Down: The player doubles their initial bet, receives one additional card, and then must stand.

    Split: If the player's first two cards are of the same rank, they have the option to split them into two separate hands.

           Each hand is then played independently, with the option to hit, stand, double down, or split again.
  3. Dealer's Turn: Once all players have completed their turns, the dealer reveals their hole card. The dealer must hit until their hand total is 17 or higher. If the dealer's hand exceeds 21, they bust.

4. Winning and Losing:

    a). If the player's hand is closer to 21 than the dealer's hand without exceeding 21, the player wins.

    b). If the player's hand exceeds 21 (bust), they lose.

    c). If the player and dealer have the same hand total (push), the player's bet is returned.

    d). If the player gets a Blackjack (an Ace and a 10-value card) on their initial two cards, they win automatically unless the dealer also has a Blackjack, resulting in a push.

Payouts:

  1. Winning hands are paid out at even money (1:1), except for Blackjack, which typically pays out at 3:2.

  2. Doubling down pays out at 1:1 on the original bet amount.

  3. Insurance (betting that the dealer has a Blackjack) pays out at 2:1.

Slots Game

Welcome to our implementation of the classic casino game, Slots!

Overview

This is a simple command-line based implementation of the popular casino game, Slots.

The game allows players to simulate the experience of playing a slot machine with colorful graphics and sound effects.

Objective:

The objective of a slots game is to spin the reels and match symbols across one or more paylines to win prizes.

Gameplay:

Place Your Bet: Before spinning the reels, you need to place a bet.

You can usually adjust the bet amount per spin using the "Bet" or "Coin Value" buttons.

Choose the Number of Paylines (Optional): Some slots games allow you to choose the number of paylines you want to play.

You can typically adjust this using the "Lines" or "Bet Lines" buttons. Keep in mind that activating more paylines increases your

chances of winning, but it also increases the cost per spin.

Spin the Reels: Once you've placed your bet and selected your desired paylines (if applicable), you can spin the reels using the

"Spin" button. Alternatively, some slots games may offer an "Auto Spin" feature, allowing you to automatically spin the reels a set

number of times without manual input.

Wait for the Outcome: After spinning the reels, wait for them to come to a stop. The symbols displayed on the reels determine the

outcome of the spin.

Check for Winning Combinations: If the symbols on the reels form a winning combination across an active payline, you win a prize.

The payout amount depends on the specific combination of symbols and the size of your bet.

Special Symbols and Features:

 Wild Symbol: This symbol can substitute for other symbols to form winning combinations, increasing your chances of winning.

Scatter Symbol: This symbol typically triggers bonus features or free spins when it appears on the reels, regardless of its                             position on the paylines.

 Bonus Rounds: Some slots games include bonus rounds or mini-games that offer additional chances to win prizes.

 Free Spins: Landing a certain number of scatter symbols or specific combinations may award you with free spins, during which                          you can spin the reels without placing additional bets.

Collect Your Winnings: After each spin, any winnings you've earned will be added to your balance. You can usually see your total winnings displayed on the screen.

Repeat or Cash Out: You can continue spinning the reels as long as you have credits or choose to cash out your winnings and end the game session.

Game Rules The player spins the reels and hopes to match symbols to win prizes.

 Different combinations of symbols yield different payouts.

 Bonus features such as wild symbols or free spins may be included.

 The player's winnings are displayed at the end of each spin.

Roulette Game

Welcome to the exhilarating world of Roulette, a classic and iconic casino game that has captured the hearts of players for centuries. In this guide, we'll delve into the rules, history, and gameplay of Roulette to help you become a seasoned player.

History

Roulette, derived from the French word meaning "little wheel," traces its origins back to 18th-century France. Blaise Pascal, a renowned mathematician, is often credited with inventing an early form of the game in his quest to develop a perpetual motion machine. However, the modern version of Roulette as we know it today emerged in the late 18th century in Parisian casinos.

Objective

The objective of Roulette is simple: predict where the ball will land on the spinning wheel. Players place bets on a variety of outcomes, from specific numbers to groups of numbers, colors, or whether the outcome will be odd or even.

Game Setup

  1. The Wheel: A Roulette wheel consists of numbered pockets ranging from 0 to 36, with alternating colors of red and black. In European Roulette, there is also a single green pocket marked with a 0, while American Roulette includes an additional green pocket marked with a 00.
  2. The Table: The Roulette table displays various betting options, including individual numbers, groups of numbers, and special bets. Players place their bets on the table before the wheel is spun. Gameplay:

Placing Bets

Before each spin, players have the opportunity to place their bets on the table. There are two main types of bets in Roulette: inside bets and outside bets.

  1. Inside Bets: These bets involve selecting specific numbers or combinations of numbers within the inner grid of the Roulette table. Examples include straight bets (betting on a single number) and split bets (betting on two adjacent numbers).

  2. Outside Bets: These bets cover larger groups of numbers and typically offer lower payouts. Examples include betting on red or black, odd or even, or betting on entire columns or dozens of numbers.

Spinning the Wheel

  1. Once all bets have been placed, the dealer spins the Roulette wheel in one direction while simultaneously rolling a small ball in the opposite direction along the track surrounding the wheel.
  2. As the wheel loses momentum, the ball eventually comes to rest in one of the numbered pockets. The winning number is determined, and any bets that correspond to the outcome are paid out accordingly.

Winning and Losing

If a player's bet matches the outcome, they win a payout based on the type of bet placed and the odds associated with it. If the outcome does not match a player's bet, they lose their wager, and the house collects the chips.

Conclusion

Roulette offers an exhilarating blend of chance and strategy, making it a timeless favorite among casino enthusiasts. Whether you're drawn to the thrill of predicting precise numbers or prefer to play it safe with outside bets, Roulette offers something for every player to enjoy. So, place your bets, spin the wheel, and let the excitement of Roulette sweep you away into a world of endless possibilities!