Giter Site home page Giter Site logo

blackjack-game's Introduction

[구현 기능 목록]

  1. Main 클래스 : Card, Player, Dealer, Board
  2. 클래스 객체
  3. 지역변수 정의
  4. 지역 메소드 정의

[구현할 메서드 기능 목록(Before OMOF rule)]

  1. 본 게임 전 초기설정
  • 카드 숫자 설정
  • 참여 인원 받기
  • 배팅 금액 받기
  1. 게임 시작
  • 모두에게 카드 2장 지급
  • 한 사람의 카드 숫자 계산(합 21=>블랙잭)
  • 카드 숫자 계산해서 딜러vs 플레이어 승패 정하기 (합21 or 더가까운)
  • 플레이어의 카드 판단 (21 넘는다 or 안넘는다)
  • 프레이어 배팅 금액 잃음 (21 넘을경우)
  • 플레이어 카드 뽑기 (21 안넘을 경우)
  • 보드에서 게임을 순서대로 진행하기
  • 처음 2장부터 블랙잭이 되면 베팅금액 1.5배 딜러에게 받고 둘다 블랙잭이면 플레이어는 베팅 금액 돌려받기
  • 딜러는 처음 2장의 조건으로 행동 판단. (16이하, 17이상, 21초과)
  1. 주안점
  • 블랙잭은 계산함수 안에서? 아니면 메서드 하나로? 메서드 하나라면 숫자 계산함수와 포함 관계는?

blackjack-game's People

Contributors

ohhako avatar jnsorn avatar

Watchers

James Cloos 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.