⭐ If you would like to buy me a coffee, well thank you very much that is mega kind! : https://www.buymeacoffee.com/honeyvig Hire a web Developer and Designer to upgrade and boost your online presence with cutting edge Technologies

Saturday, November 8, 2025

3 ways to code Rock Paper Scissors in JavaScript (Beginner to Intermediate to Advanced!)

 In this video I show you how to code Rock paper Scissors in JavaScript in not just one approach, but 3 different approaches. I am doing this to show you just some of the ways you can solve one problem using JavaScript. I will be using a more beginner approach to start off with, and move onto more intermediate and advanced approaches. This is a JavaScript tutorial so there will be no styling in this tutorial. That part is totally up to you :) Please do share your finished games with me, I would absolutely love to see what you have made and how you have chosen to style your games! 

0:00

what's up everyone today is a really cool video as i'm not going to just show you one way to make rock

0:05

paper scissors in javascript i'm going to show you three i really wanted to create this video as

0:10

i really wanted to show you the different ways that we can solve this challenge one being maybe a more

0:18

beginner approach and then some more intermediate approaches later

0:23

too okay so one game three solutions let's do it

0:30

we're going to start off with an example that perhaps relies on the html a little bit more

0:35

and by the end we're going to be doing everything in javascript so one that is made fully in javascript

0:40

apart from one div that we're going to inject our game into now as always i will not be focusing on

0:47

the styling in fact no styling will be done i've done this so that you can take the game

0:53

make it your own style it up go to the max go crazy put in some animations like i really want you to go wild and

1:00

please do share it with me on youtube instagram twitter whatever so what are

1:05

we waiting for let's do it please do like and subscribe to my channel as you know it really does mean a lot as

1:12

it is the way that i can carry on to keep creating more content for you guys

1:18

okay so let's get to it with our first example now this approach as i mentioned is

1:25

gonna be a little bit more beginner friendly i think um we really sort of take stuff step by

1:32

step and we don't use switch statements we use if else or if statements as well as um

1:41

just use numbers more than anything as well as html rather than just purely javascript so

1:47

hopefully you enjoyed this tutorial and hopefully you watch the other two as well to show me which one

1:52

you prefer better so yeah definitely let me know that uh let's go so first off here is my

1:59

project as mentioned there will be no styling in this so i simply have an index html file and then i have

2:07

linked my app.js file to my index html so because my app.js

2:14

file is in the root of my project all i have to do is simply name the file obviously it's a

2:21

javascript file because of the js extension we are telling our code editor to treat this as a javascript file

2:30

so make sure that the script tag is at the end of your body so

2:37

there we go all the code that we're gonna all the html code that we write is gonna have to be above

2:43

uh this script tag now we could have used a dom content loader in the app.js file

2:50

so i do that in a lot of my videos too so that is just another way that you can work so you can

2:55

put the script tag at the bottom or you can use the dom content loaded event listener the choice is up to you

3:03

okay so the first thing that i'm gonna do like i said i am gonna be working with html and css

3:09

in this video is i'm just gonna put some h2 tags so this is my first h2 tag and i'm just

3:15

gonna put compute computer computer joyous about our computer choice and in it i'm gonna

3:23

have a span to sort of break up that h2 tag in which i'm just gonna have an id

3:31

of computer choice because we're going to want to pick that out to work within our

3:37

javascript file later so we have the computer choice

3:42

i'm also going to have user choice so let's put user choice you can have

3:50

your choice if you want it's it's up to you and then finally let's also have a result

3:57

so i'm just gonna have results like so and give it the id of you guessed it

4:04

results so we can pick it out to work with it in our javascript file later now along with that i'm just gonna

4:10

have a button um let's put rock in it and i'll just give it the id

4:16

of rock like so again so we can pick it up in our javascript

4:23

um and then let's have i'm using command d by the way to select that and i'm going to put paper once again

4:30

command d so i can select both and scissors scissors scissors

4:37

there we go so there we go now if i open this up i'm going to copy

4:42

the path and simply go to my browser this is what you should now

4:48

see in your browser so i'm just going to get the inspect up as well great now the next thing i

4:56

want to do is do some logics so that if i click on rock rock will show up here and at

5:02

the same time a computer choice will be generated and then we can figure out who's won or

5:08

lost so for this i'm now gonna have to go to my javascript file

5:15

so in here the first thing i'm gonna do is actually pick out all the uh elements with these ids

5:22

so i'm picking out essentially the span and i'm doing it by the id um so i'm gonna use document get

5:30

element by id i could use query selector i'll show you how to do that in another

5:36

lesson but i'm simply just going to pick out computer choice like this and i'm going

5:41

to store as const computer choice so we can

5:47

work with that element in our javascript let's do the same for user choice so

5:53

once again i'm simply picking out this span based by the id

5:59

so that's what i'm doing and let's save this as user choice and let's do the same for

6:06

the result of course so i'm actually just going to copy this um let's call this

6:14

result display and then pick it out by the id of result

6:20

because that's what this is it's an id of result great so we've done

6:27

that the next thing i want to do is actually get all the possible

6:34

choices so there's many ways i can do it um this is the way that i'm going to show you for this tutorial

6:39

uh const possible choices and i'm actually going to use a query selector to get

6:46

all of them so document query selector

6:52

all and i'm going to pick out everything in here that is a button

6:59

element okay one thing i could have done is given this as a class name of button and if i gave that same class

7:07

name to all of these i could pick it out by class name but as i only have three buttons here and i

7:14

don't plan on putting any more buttons here okay so keep that in mind when you're styling it

7:19

up um if you want to add more buttons in here perhaps use the class name on those

7:24

buttons otherwise this is going to pick up that button that you create so const possible choices i picked out

7:32

all the buttons so i can use them now i'm going to grab the buttons possible choices and

7:39

for each button or i can call it a possible choice

7:45

whatever you want plus possible choice i want

7:52

to i'm just going to minimize this because we don't really need that for each possible choice i'm going to grab

7:57

each possible choice and use add event listener to listen up for a click so if i click any of the buttons i want

8:05

essentially something to happen okay so i want this fi we can pass through a function

8:11

i'm literally just going to pass through a function like so

8:16

and then what i want to happen is well i want to pass through the event so e for event and then i want to

8:25

actually get the target id so whatever i click i want to get the id

8:32

and i want to save that as um the user choice but i want to save it globally

8:38

okay so i'm just going to put let user choice so we can access it wherever so whatever

8:44

etag the e target id is i'm saving it to use a choice i'm just going to save it here so i can use it in my file

8:52

so that is what i am storing so the next thing i could do is actually

8:57

get the user choice maybe we should rename this because user choice display because we now have

9:05

two user choices that can't have that display so now i'm going to get the user choice display

9:11

and using the property of innerhtml.html i'm once again

9:16

just going to assign it the user choice okay so let's see if that works click

9:22

scissors click paper click rock nice let's carry on um

9:30

i'm just gonna actually put a space there oops not there what am i doing you

9:37

computer choice space space result space okay

9:42

so we are displaying the user choice the next thing that i said i want to do

9:48

is generate a computer choice so let's write a function that's called generate

9:54

computer choice um okay what's that function going to look

10:00

like generate computer choice so what i actually want to happen here is i want to get a random number right

10:07

so uh

10:14

i can use const random number and then i'm going to use math

10:22

random and then multiply it by i can use the number three

10:28

sure if that's what i want i can also use possible choices length

10:39

okay so that is the same as just simply putting the number three but for beginners i'll just keep

10:44

it as three for now um again like maybe i'll just put

10:50

or you can use possible choices length as that will

10:56

return a three um okay

11:02

so now that we've got a random number i actually need to wrap this in my floor to round down that

11:09

random number because that'll give me a random number okay and then we want to make sure that it's a full integer

11:16

let's check that random number so that will give me a

11:24

random number that's actually from 0 to 2 as we counted indexes

11:29

so i could just get this and add 1 just for readability if i wanted to so now let's check this

11:37

1 3 2 2. so it'll always be either one or two

11:42

or a three right so there we go

11:48

um so now if random number deeply equals

11:55

one let's say that computer choice uh equals rock i'm just making that up

12:02

it could be scissors let's computer

12:09

choice and then if random number equals two

12:17

say schizos and random number equals three

12:23

let's say paper okay so and then let's actually

12:34

get the computer choice so computer choice display

12:39

inner html and just show the computer choice

12:48

so now there we go great

12:54

cool okay so we're randomly generating computer choice and random regenerating

12:59

a choice for us um as i said i've done it this way as i think it's beginner

13:04

friendly however there is a much neater way we could do all of this that wouldn't involve saying

13:10

equals one equals two equals three which i'm really excited to show you but i think as a beginner

13:16

this probably might make a lot more sense and it's more readable but you know let me know okay so now

13:22

that we've done that let's actually get the result so i'm going to write another function function uh get result

13:31

now if computer choice deeply equals or equals up to you

13:39

um user choice

13:45

well then uh return

13:54

or we'll get the results so let results

14:03

and then we will say it's a draw

14:11

however oops so that is one

14:18

now if computer choice this time equals um

14:25

rock oops and user choice

14:32

equals let's say paper then who wins then

14:40

you lost right computer rock paper yeah fine now now we have rock and scissors

14:50

well then you lost again and then we have

14:55

[Music] uh actually no you win you win here

15:01

computer is rock but you have paper you win you should really learn how to play rock paper scissors computer has rock

15:08

but you have scissors you lose if computer has um paper

15:17

and you have scissors you win if computer has

15:26

paper but you have rock you lose um

15:34

what else is there if computer has scissors and

15:40

you have rock you win and then a computer has scissors

15:48

but you have paper

15:53

it's because this paper you lose i think that's right oh my god okay

16:02

cool so now that we've got the result get result we've got the function get result i'm just going to put it in here too so

16:09

great every time we click we do all of this essentially now i could

16:14

move this function out if i wanted to or i could just keep it there the choice

16:19

is totally up to you so now let's have a go scissors the computer choose paper

16:25

oh wait the result's not showing ah we didn't do any in our um let's get the result

16:33

display in the html result cool so paper oh you lose

16:40

scissors i chose there's a computer choose rock so i lost i chose royal computer too scissors i

16:46

win cool it's a draw amazing so that is how i would show you how to make rock

16:53

paper scissors as a beginner as i mentioned please take this go wild improvement as you wish

17:00

um i did do it so it's quite verbose and it's quite easy to read and of course i did these random

17:07

numbers here because i just thought again it was more readable for a beginner so if you are a beginner

17:14

let me know what you think is this clear enough for you uh i'm gonna move on so once again no

17:22

styling of course uh let's do it

17:29

okay so example number two this time we're going to be relying less on the html and i'm also going to

17:35

be using functional expressions as well as simplifying some of the logic we did earlier to make it a little bit

17:42

uh i guess more neater so let's go right so the first thing

17:48

you'll see is i have my index html set up exactly the same so once again my app.js file is linked

17:54

with my script tag i've just named it the same as you know it's on the root of my project so i don't need to do

18:00

much just put the file name in there and of course make sure that it is at the bottom of my

18:06

body and all the code even though like i said there's not going to be much i'm literally just going to put a div

18:13

with the id of game and basically our javascript is

18:19

going to populate this with elements okay so let's

18:24

do it let's go to our app.js file now the first thing i want to do is actually what should we do first i'm

18:30

going to create elements so this is how you would create elements const user choice display

18:37

and i'm going to use document i'm going to create element so that's a javascript method in

18:44

which i can create a h1 tag okay so there we go i've

18:49

created it user choice display i've created an h1

18:54

tag i'm also going to create another h1 tag for the computer choice display

19:01

and then of course i'm going to create a result display to result display and i'm going to

19:07

create another h1 tag now i'm going to actually grab

19:13

this element with the id of game so what i'm going to do is call

19:18

this game grid and use document get element by id

19:25

to grab the game id which is attached obviously to this

19:32

div and now that i have grabbed that i want to put all of these three things

19:37

into my game grid so i would do so by getting game grid and using append

19:44

so another javascript method to put in the user choice display

19:51

the computer choice display and the result display okay

19:59

so that's how you would do that if i now oops let's go here let's also

20:06

copy the path just paste it in here now if i actually inspect the body

20:13

go into my div with idea game you'll see the three uh h1 tags that i've just put in using

20:19

javascript cool let's carry on

20:24

and once again i'm just going to make this smaller so now that we've done that um let's define our choices so i'm just

20:31

going to make an array of rock

20:37

paper

20:43

scissors cool the next thing i want to do is um what

20:49

do i want to do i want to

20:56

okay i want to add the buttons now so i could

21:03

do this with a four each but i'm going to use do a um i'm going to do it with a for

21:08

loop just to show you something different so as long as fuller eye as long as

21:14

uh i is smaller than the choices length so technically number three i want to increment i by one okay so i'm

21:21

going to loop and i'm looping because i want to create three buttons so similarly to how we use document create element

21:27

i'm actually going to use against a constant button i'm using cons because it's block scoped

21:32

i can use a const document create element and i want to create a button

21:38

now for each time so i've created a button once this is my first loop i've created the button i'm going to

21:43

grab the button and i want to give an id and i want to give the id of choices and

21:49

whatever in our first loop is so it's going to give on our first loop i'm going to give the button id of a rock

21:54

okay on the second loop i'm going to create a button and give an idea of paper on the third loop i'm going to create another button and give an idea of

22:00

scissors and then of course oh i can also do

22:06

add give it some inner html so once again i'm going to do choices like so

22:14

so we've got an idea we've given an id we've given it some inner html the last thing i'm

22:20

gonna do to my button is yeah that's right add event listener to it to listen out anytime we click

22:29

and each time we click i want to call the function handle click so we haven't done that yet

22:36

so i'm going to write this function up here i'm going to use a function expression so a const handle click

22:42

like so so before we wrote function this is a function expression i'm just going to pass through an event

22:49

well actually for now i'm just going to put console log console log

22:55

clicked okay so we've done all that and the last thing we need to do

23:00

is append it so you guessed it we need to get the game grid and we're going to use append we

23:06

can use the pen child to put in the newly created button so now

23:12

if i go here there we go we've put in we've made the three

23:17

buttons in javascript we've given an id and then we've also given them um some

23:22

inner html so as you can see it has an id of rock and also has an inner html of

23:27

rock and also if we click it it will say clicked clicked clicked click click click click

23:34

click click click click cool amazing so now let's think about what

23:41

else we want to happen when we actually click it right so similarly like to before

23:47

um we of course need to pass e so whatever we click whichever the buttons we click

23:52

that's going to be our user choice right so i'm just going to store this uh

23:58

up here as let user choice um and whatever we click so

24:06

that's gonna be the e events target i could so i could use the id and that's

24:12

probably a better practice but i could just use the inner html it doesn't make a difference

24:18

if i just want to use it in html i can technically get rid of that so i'm just going to make a note of that

24:24

you can delete this if you want to use

24:29

e target html in the handle click

24:38

okay but i'm just going to use the id for now i think it's better practice anyway

24:44

cool so we've now stored whatever we click is now stored as our user choice what else we need to have when we click

24:51

something or then we just display it right so user choice display in our html and then let's

24:57

show the well i'll show you the user choice to the um i guess player

25:04

so now that we've done that well let's see if it works for now so scissors paper

25:11

rock says that's piper rocks this is paperwork cool

25:17

now we also want to generate computer choice generate computer

25:25

choice and that's going to be a function that we are yet to write so i'm actually

25:31

going to do it here we're also going to have to get the result check the results remember so const

25:36

generate computer choice and once again so this is going to be like

25:41

an alternative to how we did it before

25:46

i think it's a much neater way but you'd be you be the judge on that so once again we need a random choice

25:54

right it can be a const because this is block scoped it does not need to be a let

26:00

cons random choice um for this well once again i am going to use

26:05

math run and i am going to multiply it by the

26:12

choices array length so this will return a three because there's one

26:17

two three items in here i grab this array and use the length property on it to figure out how many items in my array

26:24

so i'm going to do that and once again i am going to use math floor to round it down so now if you remember i will be

26:31

getting an index number from zero to two zero one two so that's three

26:36

uh choices that will come out of this and what i'm gonna do instead is just put it put this because this

26:42

will generate either a zero a one a two or a three what i'm gonna do is put it

26:48

into my choices array so i'm gonna get my choices array and open it up with square brackets

26:53

because if i was to get this array and pass through a zero i would get a rock if i was to pass

26:59

through a one it would return paper and if i was to pass through a two it would return these string scissors okay so i think

27:07

that's much neater than what we did before but just let me know what you think

27:12

so we've got our random choice it will retain you the rock paper scissors and i'm going to get the computer choice

27:19

display and do inner html and then just show

27:25

my random choice

27:31

cool so now we're getting two nice obviously we can't really tell

27:36

whose is who is um

27:42

so we can do that here user choice

27:51

like so and then you add and then i can also do computer choice

28:01

like so ta-da oui

28:10

okay now let's get the results um

28:21

now we actually need to store a computer choice up here so we can compare the two so i'm going to do computer choice like

28:26

so and um maybe let's do

28:32

computer choice and whatever the random choice is is now

28:38

the computer choice so we're getting a random choice we're assigned it's a computer choice and now i could keep random choice there

28:44

but i think it's neater if i just do computer choice like so okay now let's do some

28:51

results so i'm gonna do this down here uh i'm gonna write const

28:58

check or get results what did we write before get results

29:05

um just it's consistent i think we did get result before as a function name so to get the results i'm actually going

29:11

to use a switch statement for this and whatever user choice is

29:17

the string user choice plus the computer choice now

29:24

if so i'm gonna write case if it returns scissor

29:31

paper because obviously i'm getting one string and just adding it to another string so if that's what it returns if the user

29:38

choices scissors and the computer choice is paper

29:46

or

29:52

oops we've got scissors paper then we also want rock scissors scissors

30:01

rock scissors i haven't spelling all this right rock scissors and then we also have

30:08

paper rock then we want um results

30:14

display in a html to equal you wear right because scissor beads

30:20

paper rock pizza scissors paper boots rock that's right yeah and then we want

30:26

to break go so now again let's just write another one of these

30:33

that's horrible why did that happen

30:39

so this time let's write a losing case for us as the user and that's if

30:46

paper scared so i'm just going to do the reversible these scissors rock

30:54

and then rock paper and then finally

31:10

we'll just have paper paper scissors scissors

31:18

rock rock it's a draw

31:25

okay so there we go and then let's obviously call get results here too

31:37

so now oops get results is not defined that's my fault get result

31:46

oh it's a draw you win i win again that's a draw amazing so we have now

31:53

finished our second example of how you would build rock paper scissors in javascript and html

32:00

but very little html let's be honest it's just this one div we've done most of it in javascript

32:08

so amazing i hope you found this useful i have one more example to show you

32:13

now this example i want to show you because it actually uses the least amount of code which can be problematic because with

32:19

this everything's quite split out which gives us the opportunity to you know like make animations

32:26

maybe have like a little timer until the computer choice shows up and then you show the result because at the moment everything's happening very

32:32

quickly but i'm going to show you the um the third way that i would solve this as a software developer so let's do it

32:45

okay so once again let's start with that html once again there is no styling involved

32:50

here because i want you to be in charge of doing that all by yourself and show me how you did it okay so once again

32:58

script tag the script tag is um the source is the app.js

33:03

file it's just simply the apps app.js file name because it's in the root of our project so we don't have to go into

33:09

folders and i'm making sure that is at the bottom of our body uh our body tags okay

33:18

now with this one i'm once again just going to have a div um this time i'm going to say

33:24

choices because i'm just going to have two divs here like i said i'm trying to do this with the least amount of

33:31

code this time and then let's put an h2 tag here that has id

33:36

result like so now let's go into our app.js files where the magic

33:42

happens so once again you guessed it let's pick it out so this time i'm going to use query

33:48

selector because i haven't used that before so i'm going to use query selector this time to pick out the id

33:54

so i need to put a hash because i'm looking for the id of result and let's save that as const result

34:04

display okay so i've literally just picked out this i've picked out the h2

34:10

tags by the id and then let's also get the choices display

34:18

document query selected choices thanks tab nine because i'm looking for the id of choices that's what you need to do

34:24

with query selector okay so now that we have that let's

34:30

define our choices i'm using const as they will not change and once again that is

34:37

rock paper

34:42

scissors okay now this time

34:49

i'm gonna grab the choices array and for each choice in my array

34:56

so i'm literally for each of these i am going to well i'm again going to create a button

35:03

so i'm going to use document create

35:08

element and i'm going to create a button let's store this as a button it

35:15

can be a const because it's block script so making our button i'm going to grab

35:21

the button and use inner html to uh nrhtml to assign it the

35:29

choice so we don't have to do eye anything

35:36

we're not looping we're doing a for each this time so i'm simply going to assign it rock paper or scissors as the inner html

35:43

we're not going to do id in this one as we did before and i'm going to grab the button and use

35:49

add event listener to listen out for a click and each time we click we want to call the handle click function like so

35:57

and once again i need to grab the choices display

36:02

so we're grabbing this here right and i'm going to use append

36:10

child button

36:15

cool so once again oops let's copy the path

36:28

uh handle click is not defined right yeah oops i need to define that so const handle click

36:34

uh and again i'm using function expression um i'm just going to console log clicked

36:40

for now so we can see that this is working so far and we've done it so this time we've

36:46

used we've used the four each instead of the for loop to um create our buttons

36:55

if i now have a look in the choices the div with the ideal choices i see a

37:00

button with inner hdmi rock button with an html paper and a button within html scissors

37:05

we did not bother adding the id this time okay so the next thing we want to do is

37:13

handle the click now this is going to be interesting um

37:20

instead of generating a computer choice user choice i'm just going to do

37:25

everything at once so i'm simply on the click going to go to the function get results

37:33

okay and into the function and get results i'm going to pass through two things i'm

37:39

going to pass through whatever we click so remember we need to get e target

37:44

in a html that's how we did it last time i'm going to pass through whatever we

37:49

clicked the inner html of the button that we clicked so i'm going to either pass through rock if i click the button with uh nih and i

37:56

rock or i'm going to pass through paper or i'm going to pass through scissors okay so i'm going to pass through that

38:02

and i'm also going to pass through a randomly generated choice by the

38:08

computer so once again i'm going to use math random

38:15

let's make this smaller i'm going to multiply it by choices

38:21

length i'm going to wrap it in math floor to round it down

38:31

like so and then of course i'm going to get the array i'm going to pass that through into my

38:37

array okay so let's just make sure we've got enough

38:49

great okay so i could what i could have done if you're finding this difficult to

38:54

read is i could have just done const uh user choice

39:01

equals the target or const computer choice and the computer choice is a

39:08

random um choice from array thanks to this code and just done gonna pass through

39:15

user choice and computer choice so essentially that is what i'm doing

39:23

okay that is exactly the same as what i am just wrote okay so i'm just going to put

39:31

it back there for now because i just want to show you like different ways that people can work so you're

39:36

aware of it so that is the same thing um maybe the other one's more readable but this one's

39:42

i guess less couch i personally wouldn't really do it this way i'd make sure that it's more readable

39:47

but like i said i'm just showing you different ways that people could so i'm passing in through what we clicked

39:52

and i'm passing through a random choice from our array great

39:57

so i'm passing those two things in now let's write our get const to get results um

40:08

and now whatever the first parameter is i'm going to say that is the user

40:14

choice and whatever the second parameter is i'm going to say that's our computer

40:20

choice right it doesn't matter what we call it i could call this

40:27

blur um for all javascript cats so now okay well i'm gonna use the

40:33

switch again so switch uh and i'm just gonna do user choice

40:40

plus computer choice and i'm actually just gonna use the same logic for this as i did in the previous one

40:48

so once again case

40:53

paper okay

41:01

rock scissors excuse scissors

41:06

rock scissors

41:11

and then we have case

41:18

paper that's going to i'm going to get the result display

41:24

and we're going to put you chose

41:31

user choice

41:37

and the computer chairs computer

41:46

choice result display result display why is

41:53

that all right oops you chose

41:59

your choice and computer chose computer choice so that means

42:07

you win right because that's a winning combination for the

42:14

user great and then we break okay so now we just have to do this

42:20

again so i'm just gonna move that up here

42:28

um format it a little nicer so this time let's do the reverse paper

42:38

schizoids scares excuses

42:44

rock rock paper so this time we lose

42:54

and then just do it one more time for all the drawers

43:02

so that's scissors scissors rock rock

43:11

paper paper and then it's a draw

43:23

okay so that's it this is definitely the shortest one let's check it out so now if i click

43:30

scissors it immediately tells me youtube says this computer choose paper i win and once again youtube's paper

43:38

computer choose scissors i lose amazing so as i said this is the least amount of

43:45

code and it does sort of do everything essentially in the get results function but if i want to you

43:51

know make an animation so make it like i don't know turning things saying you know the computer's thinking about their choice

43:58

and then display the result later this is going to make that very difficult so while the javascript is

44:03

great that is something you have to take into consideration and that is why you might want to choose to use

44:10

uh option two over this okay well that's really it i hope you've

44:17

learned a lot today i've really enjoyed showing you all the different ways that you can solve um rock paper scissors in javascript if

44:25

you have any more please do share them with me like as always javascript is great because there's so many solutions and so many ways

44:31

you can do this game thanks so much again and i'll see you soon

 

No comments:

Post a Comment