Skip to content

keithandrewmartinez/Blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

BLACKJACK

ABOUT

First attempt at Game Development with JS, HTML, and CSS using flex-box

TECH STACK

  1. HTML
  2. CSS w/ flexbox
  3. JavaScript

FEATURES

  1. Casino-stakes excitement at the leisure and recreation of your home--mobile device playable too!!
  2. Won't actually lose your pants if you're a really terrible player
  3. Safe to play from any location

HOW TO USE

  1. Gather round the table
  2. Tap on the hit button
  3. If you have too under 21 and don't think "hitting" again (asking for another card) will push you over 21, DO IT!
  4. Goal of the game is to be highest at or under 21 sum from your card value, without going over
  5. If dealer has 16 or less, he HAS to hit, so you should use this to your advantage
  6. Reset the game and reshuffle the cards by pushing the refresh button (if it ain't broke, why fix it?! kidding... added functionality to be added in future editions. STAY TUNED!!)

BUILD STEPS

  1. Create a deck
  2. Shuffle it
  3. Deal cards to the dealer and the player
  4. Hit / Deal extra card
  5. Stay or Hold to evaluate and compare
  6. Optimize/adjust value of ace from 11 to 1

Expansion Steps

  1. Have Hidden Dealer Card
  2. Keep running sum of each hand dealer forced hit option if under 16 (adjustable to 15 and 17)
  3. If you get five cards without going over, you win
  4. Betting option to bid and adjust value of bet for each hand
  5. counting cards option (running counting cards option to maximize bet)

VALUABLE LESSONS

  1. Learning about special functions/methods like reduce to change the Ace from an 11 value card to a 1 if too many

RESOURCES & CREDITS

  • FIRST AND FOREMOST*
  • THE EXCELLENT TUTELAGE OF Colton Wright AND Abraham E. Tavarez ---SUPREME STUFF!! *

** ADDITIONAL SUPPORT FROM **

  1. (StepbyStep) https://scrimba.com/playlist/p3py7U7

  2. (VIDEO) Code Blackjack with JavaScript HTML CSS Kenny Yip Coding https://www.youtube.com/watch?v=bMYCWccL-3U

  3. https://www.thatsoftwaredude.com/content/6417/how-to-code-blackjack-using-javascript

  4. https://math.hws.edu/eck/cs271/js-work/Blackjack.html

  5. https://code-boxx.com/javascript-blackjack/

I am Keith Andrew Martinez, a student developer learning to code, and hopefully, eventually, be able to teach and help others to do the same. Feel free to follow, star, or hit me up with suggestions or criticism as you like -- ALL are welcome! Cheers!

https://github.com/keithandrewmartinez/

About

First attempt at Game Development with JS, HTML, and CSS using flexbox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors