GithubHelp home page GithubHelp logo

namanctrvd / blackjack Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 18.19 MB

A simple blackjack game simulation using Javascript.

Home Page: https://namanctrvd.github.io/BlackJack/

HTML 32.86% CSS 28.59% JavaScript 38.56%
javascript javascript-game

blackjack's Introduction

BlackJack

A simple blackjack game simulation using Javascript.

Screenshot

blackjack-screenshot

Workflow

  • After starting the game the user have the hit option to get a card.
  • Now he has the option to hit again or to stand with the current score(total card value).
  • If he want to get another card he can hit again or to stand click stand button.
  • After clicking stand button the Dealer will automatically play his cards in 1 second intervals.
  • Dealer has to hit if his score is below 16.
  • If dealer's score is more than 16 than dealer's and user's score will be compared.
  • The result will be displayed.
  • Now user will have the option to click the deal button to reset the game and the number of wins or losses or draw will be added in the results table.
  • Now the user can play again and total number of wins, losses and draws will be added in the table. Until User refresh the page.

blackjack's People

Contributors

namanctrvd avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.