# Rock, Paper, Scissors, SHOOT (HELP ME)

**URL:** https://forum.makecode.com/t/rock-paper-scissors-shoot-help-me/4165
**Category:** Help
**Created:** [October 29, 2020, 7:14pm UTC](https://forum.makecode.com/t/rock-paper-scissors-shoot-help-me/4165 "2020-10-29T19:14:21Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Dreadmask197](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dreadmask197/32/10494_2.png) [@Dreadmask197](https://forum.makecode.com/u/Dreadmask197)
#### Post date: [October 29, 2020, 7:14pm UTC](https://forum.makecode.com/t/rock-paper-scissors-shoot-help-me/4165/1 "2020-10-29T19:14:21Z")

</div>

> **[Rock, Paper, Scissors, SHOOT](https://arcade.makecode.com/30858-40812-55483-25516)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

You pick an item, rock, paper, or scissors. After the CPU has chosen, it won’t announce who wins or not. I NEED HELP PLEASE. Why is my game freezing up or something? Please tell me how.

---

<div class="post-metadata">

### Author: ![timber](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@timber](https://forum.makecode.com/u/timber)
#### Post date: [October 29, 2020, 7:36pm UTC](https://forum.makecode.com/t/rock-paper-scissors-shoot-help-me/4165/2 "2020-10-29T19:36:51Z")

</div>

I think you need to assign the Player1(rock, paper, scissors) variable before you call the computerChooses function. I am guessing the game moves on to this new function and never properly assigns Player1’s choice so your whoWon function if statements never evaluates to true which is why you dont see any of the splash screens.

 ![2020-10-29_14-37-23](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/7/7d2ab3563b907467a1524db6557d23731dd211fe.png)

---

<div class="post-metadata">

### Author: ![Dreadmask197](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dreadmask197/32/10494_2.png) [@Dreadmask197](https://forum.makecode.com/u/Dreadmask197)
#### Post date: [October 29, 2020, 7:39pm UTC](https://forum.makecode.com/t/rock-paper-scissors-shoot-help-me/4165/3 "2020-10-29T19:39:45Z")

</div>

hmm… Don’t want to be rude but did you test it out? To be honest with you, I’m really lazy unless if it’s a gaming speedrun

---

<div class="post-metadata">

### Author: ![timber](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@timber](https://forum.makecode.com/u/timber)
#### Post date: [October 29, 2020, 7:41pm UTC](https://forum.makecode.com/t/rock-paper-scissors-shoot-help-me/4165/4 "2020-10-29T19:41:09Z")

</div>

I did. It works for me.

> **[Rock, Paper, Scissors, SHOOT (Update)](https://arcade.makecode.com/20134-06599-83635-29454)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

### Author: ![Dreadmask197](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dreadmask197/32/10494_2.png) [@Dreadmask197](https://forum.makecode.com/u/Dreadmask197)
#### Post date: [October 29, 2020, 7:45pm UTC](https://forum.makecode.com/t/rock-paper-scissors-shoot-help-me/4165/5 "2020-10-29T19:45:48Z")

</div>

Thanks a lot, @timber!! I really appreciate it!

---

<div class="post-metadata">

### Author: ![timber](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@timber](https://forum.makecode.com/u/timber)
#### Post date: [October 29, 2020, 8:24pm UTC](https://forum.makecode.com/t/rock-paper-scissors-shoot-help-me/4165/6 "2020-10-29T20:24:27Z")

</div>

No problem. Also, I noticed if press A during the start up, you will get an error. And if you press A after the game is finished, it calls the computer chooses function again. You could add some additional variables and logic in your A button pressed if statement to prevent this. See screen shots below.

And Cool game. I am sucker for rock, paper, scissors. I really the dig the game start as well.

 ![2020-10-29_15-21-22](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/5/52fd58ab84040c527178605716419435c63f4d75.png)

 ![2020-10-29_15-20-21](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/0/01b6ec0a3990b05f89dcb01f5eae09391172df59.png)

---

<div class="post-metadata">

### Author: ![Dreadmask197](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dreadmask197/32/10494_2.png) [@Dreadmask197](https://forum.makecode.com/u/Dreadmask197)
#### Post date: [October 30, 2020, 12:04am UTC](https://forum.makecode.com/t/rock-paper-scissors-shoot-help-me/4165/7 "2020-10-30T00:04:05Z")

</div>

Wow! this is great! Thanks!
