Rock, Paper, Scissors | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
29th Jan 2017, 8:01 PM
leonmaass
leonmaass - avatar
4 Answers
+ 3
check mine ,I also used alerts in the beginning but that wasn't a great idea so add buttons and also score counting 😇
30th Jan 2017, 1:44 PM
Utkαrsh
Utkαrsh - avatar
+ 2
Definitely implement style and HTML. Every good website uses this. Besides, it's tedious to have to define errors if somebody inputs something other than rock paper or scissors. Make them buttons. Check out mine: https://code.sololearn.com/WXvj47ZIjt3y/#html
8th Feb 2017, 9:59 PM
Jayden Webb
+ 1
- don't use 'prompt()' and 'alert()', instead integrate your input/output in Html document - keep the possibility to user to replay, without reloading the page ( with cumulation of score, and possibility to restart from 0 ) Well, and you would see after to more improve it ;)
30th Jan 2017, 6:06 AM
visph
visph - avatar
0
OK thanks :)
30th Jan 2017, 6:09 AM
leonmaass
leonmaass - avatar