Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[자동차 경주 게임] 김지효 미션 제출합니다. #759

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
@@ -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;