Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bhathiyaprasad/freecodecamp-js-tutorial
https://github.com/bhathiyaprasad/freecodecamp-js-tutorial
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bhathiyaprasad/freecodecamp-js-tutorial
- Owner: BhathiyaPrasad
- License: apache-2.0
- Created: 2023-12-29T10:05:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-22T19:06:33.000Z (12 months ago)
- Last Synced: 2024-10-04T16:22:08.628Z (3 months ago)
- Language: HTML
- Size: 678 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
Tutorial for Javascript Beginner Course
Here Is the Link "https://youtu.be/jS4aFq5-91M?si=tfNWE87uOtxXWGeb"
Rock Paper scissors Game
=======
Rock Paper Scissor Game
User inputs Rock , Paper , Scissor
Processing - Computer cheking inputs and compare with the comouter's algorithm
output - outputn the values for user inputs
Logic - function 1. Rock beats scissor
2. scissor beats paper
3. paper beats rock
Now Its time Create A new Varuable to identify the inputs of computer Side because This game needed two persons
Create a variable called computerMoveConst computerMove ='';
Const computerMove1 = '';
Const computerMove2 = ''; '';
let result2 = '';
Created following variables in empthy to stores data from AlgorhythmThen Instead of using Console.log to get much more user experience the output method change to Alert Window to Display User's and Computer's Input and The final Results
alert('You Picked Rock'+' Computer Picked'+ ' ' + computerMove +' '+ result );
Added Images using,style="background-image: url(ImageName.jpg);
Then added relative image for the bettter User Experience