GithubHelp home page GithubHelp logo

jacobhboy / java-racingcar-playground Goto Github PK

View Code? Open in Web Editor NEW

This project forked from next-step/java-racingcar-playground

0.0 0.0 0.0 74 KB

자동차 경주 게임 미션을 위한 저장소

Java 100.00%

java-racingcar-playground's Introduction

기능 요구 사항

  • 각 자동차에 이름을 부여할 수 있다. 자동차 이름은 5자를 초과할 수 없다.
  • 전진하는 자동차를 출력할 때 자동차 이름을 같이 출력한다.
  • 자동차 이름은 쉼표(,)를 기준으로 구분한다.
  • 전진하는 조건은 0에서 9 사이에서 random 값을 구한 후 random 값이 4이상일 경우이다.
  • 자동차 경주 게임을 완료한 후 누가 우승했는지를 알려준다. 우승자는 한명 이상일 수 있다.

구현 기능 목록

MODEL

  • 입력받은 수가 4 이상이면 자동차를 전진시킨다.

VIEW

input

  • 자동차 이름을 입력받는다.
  • 시도할 횟수를 입력받는다.
  • 랜덤으로 0~9까지의 수를 생성한다.

output

  • 매 턴마다 결과를 출력한다.

CONTROLLER

  • 어떤 자동차가 시도할 횟수에 도달했다면, 우승한 자동차들을 찾는다.

java-racingcar-playground's People

Contributors

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