GitXplorerGitXplorer
e

Blackjack

public
1 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
246539302b054d524a328e17db1837cbac31a4d3

readme updates with full rules

eeringrand committed 5 months ago
Unverified
504210a1ac100067f05f471fb8e315bf76f20b45

typos after chaning funtion names

eeringrand committed 5 months ago
Unverified
c6219b368ceab7008f1cde3c9e05cb51b2cab53b

Merge branch 'master' of https://github.com/eringrand/Blackjack

eeringrand committed 5 months ago
Unverified
c6167a011f9150ad04a8c806eefbb2ec04f5d8d2

init

eeringrand committed 5 months ago
Unverified
3ac67b47788c85777c749c5053aa867e1641fcc5

Turning python code into R!

eeringrand committed 5 months ago
Unverified
608f3ea0ca8b8334d6a16614f0118ef9b2111317

Update grand_blackjack.py

eeringrand committed 9 years ago

README

The README file for this repository.

Blackjack

Simple command line blackjack program for python and R for the computer and a player.

Uses 1 deck with 4 suits and reshuffle when about 5 cards are left. The player starts with two cards and add them up, if you have 21, then you have a blackjack! If you have over 21, you bust and loose. Otherwise, the better score between the dealer and the player wins.The player plays first, then the dealer takes its turn.

The player starts off with 100 chips to bet and can bet any amount they want at start, but must bet at least 1.

  • if player looses: the bet is taken by the dealer
  • if player wins: the player wins the amount of the original bet
  • if player wins by with a natural blackjack: the player wins 1.5x the orginal bet
  • if game ends with tie: player doesn't loose or win any chips

Python verion: python grand_blackjack.py R version: blackjack()