Manikanta528 / rock-paper-scissors

Implementation of rock paper scissors game.

Home Page:https://manikanta528.github.io/rock-paper-scissors/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Poject rock-paper-scissors

It is a simple implementation of rock papaer scissors game form The Odin Project Curriculum

Live Preview 👉 Click Here

Screenshot-2022-07-06-at-1-17-39-PM.png

Used Languages

  1. HTML
  2. CSS
  3. JavaScript

How it was done

At first, just wrote the JavaScript where it was able to play completely through the console.
For player pick, prompt function is used to take the input form player.
For computer pick, used random function to pick a num with the help of the number computer pick is decided.
Player pick and Computer pick is compared and gets the result.


js


After that added Structure(HTML) and CSS to the project.
Reimplemented the JavaScript to interact with the buttons by eventListener to pick the player choice.
Used Dom manipulation methods to change the scoreboard, computer pick etc.
At last found some height issuses in CSS solved it and deployed in gitHub.

Live Preview 👉 Click Here

MY Socials

About

Implementation of rock paper scissors game.

https://manikanta528.github.io/rock-paper-scissors/


Languages

Language:CSS 38.0%Language:JavaScript 37.6%Language:HTML 24.4%