카테고리 없음

[자바스크립트] 코드아카데미 문제풀이 Build "Rock, Paper, Scissors" (1/9)

tomato23 2014. 7. 22. 17:53

[자바스크립트] 코드아카데미 문제풀이 Build "Rock, Paper, Scissors" (1/9)



The Game


Rock paper scissors is a classic 2 player game. Each player chooses either rock, paper or scissors. The possible outcomes:

- Rock destroys scissors.

- Scissors cut paper.

- Paper covers rock.


Our code will break the game into 3 phases:

 a. User makes a choice

 b. Computer makes a choice

 c. A compare function will determine who wins



그냥 문제 설명 페이지다. 다음 버튼을 누르면 넘어간다.





정답

 




반응형