From a3cb5be5a44751577789b74f17bd84e97571879d Mon Sep 17 00:00:00 2001 From: Nishanth <98414644+Nishanthnaa52@users.noreply.github.com> Date: Fri, 29 Mar 2024 10:25:21 +0530 Subject: [PATCH] Add files via upload --- img/paper-emoji.png | Bin 0 -> 6577 bytes img/rock-emoji.png | Bin 0 -> 6799 bytes img/scissors-emoji.png | Bin 0 -> 7458 bytes index.css | 59 +++++++++++++++++++++++++++ index.html | 24 +++++++++++ index.js | 90 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 173 insertions(+) create mode 100644 img/paper-emoji.png create mode 100644 img/rock-emoji.png create mode 100644 img/scissors-emoji.png create mode 100644 index.css create mode 100644 index.html create mode 100644 index.js diff --git a/img/paper-emoji.png b/img/paper-emoji.png new file mode 100644 index 0000000000000000000000000000000000000000..6ecbc11c21a1b64d2a0addb1ec7f823d4f4be460 GIT binary patch literal 6577 zcmV;i8BXSjP)VeceO~g1tB|EGM#Yh%36iJ{jm6NBsVL@bH>Xs)ntNt$n(IC(uE?s|}ljo`k)CxTs z^oUM+Xa82iPh$d&M-d1b7WOIqc+gVnZB4XmUeex+&rzhuTGO98)EYzh%>+UZ6c+e| zo_?s5x|Qeal%m7VjfZy$GzthkK&GSX1FhyCud?15i90$P!n!wyh(J)xj;`O*DjAg! zIn$q-|3i!o2v8+j?Rw`{QE*wFVYF5YlM6QXf-=aPV#x zb?*?UJrH^z%%W$v%|o9m#zf=ag9~4OAoKuuZiHwAc}SL+srfwuwFW{DfELXMWD!kj zphvr9f_uPoAoLJW%KABaLf!WW)D{TcbJ9q=g|qpKC`GvnZ$MZ;=$?~MG$0xJ2+GwL z2;Fm9iryw6PD$S+P)i{64RG$-wUyJPcS(r0qPGatk~V=97WJH-4a{Nn?S%AzxJ;Cu zrJtLO_xTyeTuCO`1-3k&i$%kizc;8MD1kLhj;`G%ogC(b~tRutoC<*R{*h z(UYqviLD=vcHP;EPse*B()z=kO(JOl%XGZ|$fj#Q7j)atm{O-tpmsD`=*Bf4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r7=X^3?Ouea8!Rr zC%cLg^O*D%MLlC(d*){Fnm%^~FkS(t_*SL)*czuoRm-kCbC&)}Q^JBapKHZ!ZXUt8 j8UO$Q00000Lg4=aeE2qedTOc)00000NkvXXu0mjf+r_Lw literal 0 HcmV?d00001 diff --git a/img/rock-emoji.png b/img/rock-emoji.png new file mode 100644 index 0000000000000000000000000000000000000000..0aa725bbf2472e138b1f2284487bea667305de54 GIT binary patch literal 6799 zcmd5>^-~+n(+3JAxD_opN+3YcBE?;cyA~}_oZ#+Spg6@T?!`-yBE>_42MErW z=a=_ycyDHJcRzc(vo|MmvlsndO#u&^3L6Cl1rMSqr}@lp|0BT5=RWGtK=PSkxhm>= zprGK8{70xL*|`+YAgYI^0tlsciu&MLLARArl|eyifa2VnW1yf=0U>fS+PC2}EE5o*Ej5UeD9O}3!sr}58aZ+o1H6)`}_%;O^jITMXZK?
    jCrYZs=@N4!6jkJ}>=HfYSnaABKY0UvU z7goY%tk|`uNqSn1xA0Q8)j3)LjeC)OcEs1B@3;KZ#gQ|TrQ}dJyxGd%!o`L5ccURr zZSm{9d8$bwEq&h46%&5n7}3$YEb4-Oq(_WWdRNPS=#Y=>^=D+Sn$HDKW%6&mWb+!i zPjKi6@-Etp6EvHZ?EgKya7<$mqFBx_b7AL(_+u!@tc)+5%}nFC#~h6rdrU+{cTFN{5uR3d{}GC@XvW8fQ$UX`*qct~{plBw-G#NuyLs2iqJ zKqr6dNQA?_!eIV}sYuu+&d9O*ShIL+=ptoOu4!g1{R znr+d|H1&3TjbqZtJD5N(jV%W0x@cT)vF_HiY`r7)DM5IXT$)#~h5kJFHDnd%aW)U`Q` z39@OESN^gszn$$8f14E+sSXA<4fj#{ruYh2E3WXHM&Syj&c!Y@@t^?$aUCZGoaD^i zN`cYGPk$;oj`lHM12g-TI_CA>#Cp8xRvqs1qLZD@w*5!Fm@jE>diQ9m9;AQhopUdz z$L&N>?W^I?O%#z0EE$NRMgvWAF#hX`Y556X;%{(1fulMplWYD`4Gt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u`#Nm{>DOpsUeQ-o^O}BEY_GDW2Y!3q@^Nq~p^> z*RJhljgMnS33#u7-q<=0`-ZQn{R}X)eR6klBa&a;{0%2IiN(@igE?Ap%x<`rPk2GM z%?J3@ln)?G_+5N>Qfnmr0^vd6E9wHePY%f{EP2{l7wp8!W5rn?r2_iaa4CI>g1{1b z=i>0EV~bIQVXTWFL!8Elytjp-8VI zfLjn_c}cRSWsZZTk2#FYVSEHYFpKywDIKF{svCW;%+dsw_Ul26X_gun-HEj)PdzjGVGL3oXa4-H=iGkjiUOpG!|yVx?l5Z}OP(eCZMoG79{UaI5m4 zufveY<$tm~j;Q`f@nS>QSH18sw5gaVK|dtBYzZGp%u3dpYiJNxkQjgUz5J%y2v?wX z@9l~~c#A+1_!ajG9$om-uAXJJ9qZo}8mgv^q(ye88s_c4ct|RMAzSDL^M+E|7jGUs + + + Rock paper scissors + + + +
    +

    Rock Paper Scissors

    +

    + + + + + +

    +

    +

    +

    + +
    + + + diff --git a/index.js b/index.js new file mode 100644 index 0000000..5e8fe56 --- /dev/null +++ b/index.js @@ -0,0 +1,90 @@ +let score = JSON.parse(localStorage.getItem('score')) || { + wins : 0, + losses : 0, + ties : 0 + }; + +if(!score) { //score === null + score = { + wins : 0, + losses : 0, + ties : 0 + }; +} + +function display() { + document.querySelector('.score-display').innerHTML = `Win:${score.wins} losses:${score.losses} tie:${score.ties}`; +} + +display(); + +function pikeComputerMove() { + +const randomNumber = Math.random(); +let computerMove = ''; + +if(randomNumber >= 0 && randomNumber < 1 / 3){ + computerMove = 'rock'; +} else if (randomNumber >= 1 / 3 && randomNumber < 2 / 3) { + computerMove = 'paper'; +}else if (randomNumber >= 2 / 3 && randomNumber < 1){ + computerMove = 'scissors'; +} +return computerMove; +} + +function finalResult(playerMove) { + const computerMove = pikeComputerMove(); + let result = ''; + + if(playerMove === 'rock'){ + + if(computerMove === 'rock'){ + result = 'Tie.'; + } else if(computerMove === 'paper'){ + result = 'You lose.'; + } else if(computerMove === 'scissors'){ + result = 'You win.'; + } + + }else if(playerMove === 'paper') { + + if(computerMove === 'paper'){ + result = 'Tie.'; + } else if(computerMove === 'scissors'){ + result = 'You lose.'; + } else if(computerMove === 'rock'){ + result = 'You win.'; + } + + }else if(playerMove === 'scissors') { + + if(computerMove === 'scissors'){ + result = 'Tie.'; + } else if(computerMove === 'rock'){ + result = 'You lose.'; + } else if(computerMove === 'paper'){ + result = 'You win.'; + } + + } + + if (result === 'You win.') { + score.wins +=1; + }else if (result === 'You lose.') { + score.losses +=1; + }else { + score.ties += 1; + } + + document.querySelector('.display-move').innerHTML = `You + + + Computer`; + document.querySelector('.displayresult').innerHTML = `${result}`; + + localStorage.setItem('score',JSON.stringify(score)); + + display(); + +} \ No newline at end of file