From e394026b5dce865f1e2ebe80ebe6c2c03590886a Mon Sep 17 00:00:00 2001 From: ji-dawn Date: Wed, 1 Nov 2023 23:52:56 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=82=AC=EC=9A=A9=EC=9E=90=20=EC=BD=98?= =?UTF-8?q?=EC=86=94=20=EC=9E=85=EB=A0=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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;