Skip to content

hyemdooly/kotlin-racingcar

 
 

Repository files navigation

자동차 경주 게임

Car

field

  • name: String
  • position: Int

method

  • getInfo: Pair<String, Int>
  • move

Cars

field

  • cars: List

method

  • mappingCars
  • getCarInfo
  • getCarSize
  • move
  • findWinners

InputView

  • inputCarNames: List
  • inputTryNumber: String?

OutputView

  • outputCarNames
  • outputTryNumber
  • outputResult
  • outputResults
  • outputWinners
  • outputErrorMessage

RandomGenerator

  • getRandomNumber: Int

RaceGame

  • tryMove
  • run
  • executeInputTryNumber
  • getInputTryNumber
  • executeInputCarNames
  • getInputCarNames

Constants

Validator

  • checkNames
  • checkName
  • checkNameSize
  • checkNameNull
  • checkNameEmpty
  • checkTryNumber
  • checkTryNumberNull
  • checkTryNumberIsRight
  • checkNameRight

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%