diff --git a/src/App.js b/src/App.js index c38b30d5b..ce44d07cb 100644 --- a/src/App.js +++ b/src/App.js @@ -1,5 +1,16 @@ +import { Console } from "@woowacourse/mission-utils"; + class App { - async play() {} + async play() { + let players = await this.inputPlayers(); + const NUMBER = await this.inputNumber(); + } + + async inputPlayers() { + let players = await Console.readLineSync; + ("경주할 자동차 이름을 입력하세요.(이름은 쉼표(,) 기준으로 구분)"); + players.split(","); + } } export default App;