dorani / blackjack Goto Github PK
View Code? Open in Web Editor NEWSimple JS blackjack game, results are rendered in numbers, no visuals used to be rendered on html, functions executed, numerical values displayed.
Simple JS blackjack game, results are rendered in numbers, no visuals used to be rendered on html, functions executed, numerical values displayed.
as a user when I hit, another card comes and the total value changes.
(if value is > 21) game over, I am asked to do this till I get over 21 or decide to stand.
as a user i am asked to choose between a 'stand' or 'hit'.
Your stylesheets go into a direcotry called css. Similarly your javascript files and jquery.min file go into a directory called js
As a user I can place bets on the betting area with a maximum bankroll of 100.
as a user i can see the total value of my first 2 initial cards.
as a user if i stand my turn is over, and i witness the dealers card that is face down flip over and his total value is displayed.
as a user i witness if the dealer has 21, or a number less than my total value. if dealer total is > than user but <= 21 then dealer wins, otherwise user wins.
As a user I see a green felt with a dealer side and player side.
green felt: dealer side/player side. Deal button, Reset button, Bet button.
bankroll section, card value counter.
Doesn't look like you've committed or pushed anything?
Commit and push OFTEN.
As a user I can click on the deal button to begin the game.
as a user if I won, my total bankroll increases by twice the amount i bet. then im asked if i want to continue or stop.
as a user if i lose, my bankroll is reduced by the amount i initially bet. i am then asked if i want to continue or stop.
As a user I get dealt the 1st card, then witness the dealer getting dealt a card, then the user and finally the dealer. 4 cards are dealt.
The last card is dealt face down.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.