Coder Social home page Coder Social logo

java-racingcar's Introduction

java-racingcar

자동차 경주 미션 저장소

기능목록 작성

Validation

  • 자동차 이름 입력

    • 참가하는 자동차가 두대 이상인지 체크
    • 자동차 이름이 공백인지 체크
    • 자동차 이름이 1자 이상, 5자 이하인지 체크
    • 중복된 자동차 이름이 있는지 체크
  • 이동횟수 입력

    • 이동횟수가 숫자로 입력되는지 체크
    • 이동횟수가 1이상의 숫자인지 체크

Input

  • 자동차 이름 입력하기
  • 이동횟수 입력하기

RandomNumberPicker

  • 지정한 범위내에서 난수 생성하기

Car

  • 난수 값이 4 이상인 경우 이동하기
  • position 출력하기

Race

  • 자동차들을 1번씩 이동시킴
  • 자동차들을 1번씩 이동한 결과를 출력

RaceController

  • 이동횟수만큼 경주 진행하기
  • 경주를 완료한 후 누가 우승했는지 결정하기
  • 최종 우승자 출력하기

우아한테크코스 코드리뷰

java-racingcar's People

Contributors

junek3 avatar pobiconan avatar woowahan-pjs 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.