matthewpateman / blackjack Goto Github PK
View Code? Open in Web Editor NEWBlackjack example
Blackjack example
Blackjack ========= A simple blackjack game. Requirements ------------ * Players interact with the game through the console * A normal 52 card deck of cards is used * Picture cards are worth 10 points * Aces are worth either 11 points or 1 point * Players with a score over 21 go bust * There is a player and a dealer * The player may play as many rounds as they like * before each round the deck is shuffled afresh In a round: * player and dealer draw hands of 2 cards, and these are diplayed * player may hit until they go bust, or stand * each hit draws 1 more card * after the player has stood, dealer plays * Dealer always hits with a score up to 16, and stands on 17 or higher * The Dealer wins if they have a score greater or equal than the player, otherwise the player wins * The result is reported to the player
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.