Member-only story
Rock-paper-scissors-lizard-spock game is a more complicated game. The rule below:
CODE Github
HTML
Game is in the game-container.
Player-container includes score ,choice text and five selectable icon with onclick event.
computer container is the same pattern. but no event .
Whenever reset,it’s time to run the resetAll() function.
And the result text shows everytime run event.
CSS
game container : width and height.
set the header border-radius seperately.
delete last icon margin-right to make all the icons in one line.