Code Monkey home page Code Monkey logo

java-baseball-precourse's Introduction

숫자 야구 게임

진행 방법

  • 숫자 야구 게임 요구사항을 파악한다.
  • 요구사항에 대한 구현을 완료한 후 자신의 github 아이디에 해당하는 브랜치에 Pull Request(이하 PR)를 통해 과제를 제출한다.

과제 제출 과정

기능 구현 사항

1. 숫자 야구 게임 생성 기능

  • 처음 숫자 야구 게임 시작하는 메서드, 아래의 번호 생성 호출 한다.

2. 번호 생성 (1~9까지 다른 수로 이뤄진 3자리의 수 생성)

  • 컴퓨터가 번호 3자리 생성할수 있는 기능, 1자리씩 랜덤으로 생성하게 된다.

3. 생성 번호 검증

  • 위 번호 생성시 중복 된 숫자 있는지 검증한다.

4. 번호 입력 기능

  • 생성 완료 이후 번호 입력 할 수 있도록 키보드의 입력값을 받는 기능 제공 한다.

5. 스트라이크 / 볼 판정 기능

  • 번호 입력 이후 스트라이크가 몇개인지 출력한다.
  • 3 스트라이크 라면 정답 판정 기능으로 이동 한다.
  • 3 스트라이크가 아니라면 현재 스트라이크 / 볼 / 혹은 낫씽을 출력한다

6. 정답 출력 및 재시작 여부 판정 기능

  • 정답 메시지 출력하고, 종료 혹은 1번기능으로 되돌아간다.

java-baseball-precourse's People

Contributors

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