Skip to content

About

python team portfolio - blackjack

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

40 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

No_won_Casino

Nowon Casino means that no one has won the casino yet is located in the place called "Nowon".

Contributors

  • Gunwoo Kim
  • Jinny Han
  • Jaehyun Sung

What is a purpose of the project?

  • Studying Python as a beginner
  • Cooperating with peers
  • Learning relavant skill

What are features?

  • Pythoinic way of implementing the game.
  • Object-Oriented class programming.
  • Simple and easy to play.
  • "A" can be automatically calculated 1 or 11.

Rules

  1. Anyone who hits 21 accomplishs Blackjack winning the game.
  2. Each player receives 2 cards.
  3. The game can be continued when the total score is under 21.
  4. Dealer only can receive new card when its total score is under 17.
  5. It compares each score and shows outcome.

Deployment

Flow chart

  1. Opening game
  2. Creating card deck (52 cards)
  3. Instantiating objects (Player and Dealer)
  4. Poping two cards and distributing to each object
  5. Hit or Stay?
  6. Checking whether dealer's score is under 17
  7. Determine whether both of scores are greater than or equal to 21
  8. Hit or Stay?
  9. Closing game

Debugging

  • Import error
  • None-type error
  • Initialising error

노원카지노

노원카지노의 뜻은 노원에 위치한 카지노로써 아직 아무도 이긴적이 없는(No-Won) 카지노를 뜻합니다.

기여자

  • 김건우
  • 한진선
  • 성재현

프로젝트 목적

  • 초보자로서 파이썬공부
  • 동료와 협동
  • 관련된 기술 익히기

특징 및 장점

  • 파이썬스러운 방법으로 게임 구현
  • 객체지향 클래스 프로그래밍 사용
  • 간단하고 쉬운 플레이
  • "A"는 1 이나 11로 자동계산

규칙

  1. 블랙잭을 만든사람이 승자가 된다.
  2. 각 플레이어들은 2장의 카드를 받는다.
  3. 게임은 21점 이하일때만 계속 진행된다.
  4. 딜러는 17점 미만일때만 카드를 새로 받는다.
  5. 각각의 점수를 비교하여 결과를 보여준다

발전과정

Flow chart

  1. 게임시작
  2. 카드 deck 생성 (52장)
  3. 플레이어와 딜러 객체화
  4. 2개의 카드를 뽑아 분배
  5. Hit or Stay?
  6. 딜러의 합이 17점 보다 작은지?
  7. 각각의 합이 21점 보다 크거나 같은지?
  8. Hit or Stay?
  9. 게임종료

디버깅

  • 모듈, 클래스 import error
  • return 의 부재로 None-type error
  • 카드 패 초기화 error

About

python team portfolio - blackjack

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages