Hello everyone!
Lab 17 was a challenging lab for us. We had to create a rock paper scissor game. sounds very simple but the rules were reversed and you play with a computer. So for this lab every one struggled but in reality it wasn't that hard. We had to use if and else statement. and we gave rock, paper and scissor a value and used if else statement to verify and to make the conditions work. So this is how my page looked.
and once you play it tells you the result. if you won it says you won. if you loose it says you loose and if its a tie then it says its a tie.
Lab 17 was a challenging lab for us. We had to create a rock paper scissor game. sounds very simple but the rules were reversed and you play with a computer. So for this lab every one struggled but in reality it wasn't that hard. We had to use if and else statement. and we gave rock, paper and scissor a value and used if else statement to verify and to make the conditions work. So this is how my page looked.
and once you play it tells you the result. if you won it says you won. if you loose it says you loose and if its a tie then it says its a tie.


Comments
Post a Comment