Skip to content

CPSC-8710-TeamProject/BlackJackGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gameplay


Game Objective

The objective of the game is to beat the dealer in one of the following ways:

• Get 21 points on the player's first two cards (called a "blackjack" or "natural") without a dealer blackjack;

• Reach a final score higher than the dealer without exceeding 21.

• Let the dealer draw additional cards until their hand exceeds 21 ("busted").

Blackjack-card-values

Rules

Card Values:

• Number cards (2-10) are worth their face value.

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

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

Winning Conditions:

• If a player is dealt a hand with a total value of 21 using two cards (an Ace and a 10-value card), they achieve a "blackjack" and typically win 1.5 times their original bet (if playing with money), unless the dealer also has a blackjack.

• If neither the player nor the dealer has a blackjack, the player wins if their hand's total value is closer to 21 than the dealer's hand without going over 21.

Tech Stack

• JavaScript

• HTML

• CSS

Setup and Deployment Instructions

We have made the Black Jack game as easy to play as a few simple clicks! All you need is:

• A JavaScript-enabled web browser

• An internet connection

And that’s it!

Installation

No installation required. Just hit the website URL and you’re good to go!

Usage

• Open the game in your web browser

• Understand the rules on-screen and start playing

Troubleshooting

If you encounter any issues while playing, please ensure that your browser settings allow JavaScript and allow cookies.

Acknowledgments

Big shoutout to Clever Programmer for the awesome JS courses and Olivier for the game inspiration!

Contact Info

If you have any questions or need support, don’t hesitate to reach out to us at shaurya1096@gmail.com, snahar@clemson.edu, or gpuligu@clemson.edu.

Reflection

Here is the reflection document in which we highlight how we met the goals for our CPSC 8710: Foundations of Software Engineering project. We also reflect on the challenges faced, what worked, what didn't, and lessons learned.