Giter Club home page Giter Club logo

java-blackjack's Introduction

♠️ java-blackjack

블랙잭 미션을 진행하는 Repository


구현 기능 목록

  • 참여할 플레이어들의 이름을 입력받는 기능

    • 이름을 쉼표를 기준으로 나누는 기능
  • 유저(딜러, 플레이어)들에게 카드를 2장씩 나누어줬다는 메시지를 출력하는 기능

  • 유저들이 받은 카드를 출력하는 기능

    • 딜러는 1장, 플레이어는 2장을 출력하는 기능
  • 각각의 플레이어에 대한 점수를 계산하는 기능

    • 각각의 플레이어에게 카드를 더 받을지 여부를 입력받는 기능

      • 카드를 받은 후, 현재 보유한 카드를 출력하는 기능
    • 점수가 21이 초과하는지 확인하는 기능

    • Ace의 경우 1점 또는 11점으로 계산이 가능한 기능

    • King, Queen, Jack의 경우 10점으로 계산하는 기능

  • 딜러에 대한 점수를 계산하는 기능

    • 딜러의 점수가 16점 이하이면 한장의 카드를 추가로 받는 기능

    • 딜러의 점수가 17점 이상이면 카드를 추가로 받지 못하는 기능

  • 유저(딜러, 플레이어)들의 최종 카드 상태와 점수를 출력하는 기능

  • 유저(딜러, 플레이어)들의 최종 결과를 출력하는 기능

    • 딜러보다 플레이어가 점수가 높으면 승, 낮으면 패로 계산하는 기능

우아한테크코스 코드리뷰

java-blackjack's People

Contributors

lxxjn0 avatar pobiconan avatar

Watchers

 avatar  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.