# This is a Fishy mini game (bad pun)

**URL:** <https://forum.makecode.com/t/this-is-a-fishy-mini-game-bad-pun/5032>\
**Category:** Show & Tell\
**Tags:** game\
**Created:** [December 15, 2020, 11:13pm UTC](https://forum.makecode.com/t/this-is-a-fishy-mini-game-bad-pun/5032 "2020-12-15T23:13:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wanna\_be\_coder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/wanna_be_coder/32/2667_2.png) [@Wanna\_be\_coder](https://forum.makecode.com/u/Wanna_be_coder)\
**Post date:** [December 15, 2020, 11:13pm UTC](https://forum.makecode.com/t/this-is-a-fishy-mini-game-bad-pun/5032/1 "2020-12-15T23:13:57Z")

</div>

> **[60 second Fish Catch](https://arcade.makecode.com/64720-38176-22699-95772)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Any feedback?

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [December 15, 2020, 11:23pm UTC](https://forum.makecode.com/t/this-is-a-fishy-mini-game-bad-pun/5032/2 "2020-12-15T23:23:02Z")

</div>

The screen just freezes.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/2/27359d8fb54089d8da7d32dbba678230ecec68ba.png)

(BTW, that is an _amazing_ pointer finger)

---

<div class="post-metadata">

**Author:** ![Wanna\_be\_coder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/wanna_be_coder/32/2667_2.png) [@Wanna\_be\_coder](https://forum.makecode.com/u/Wanna_be_coder)\
**Post date:** [December 16, 2020, 12:01am UTC](https://forum.makecode.com/t/this-is-a-fishy-mini-game-bad-pun/5032/3 "2020-12-16T00:01:16Z")

</div>

Thanks, but hmmmm, idk why the screen keeps freezing?  
I think it has something to do with me trying to make it have 50/35/15 percent chance to get something. Ima try to fix that but i’m kind of a nub.

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [December 16, 2020, 12:23am UTC](https://forum.makecode.com/t/this-is-a-fishy-mini-game-bad-pun/5032/4 "2020-12-16T00:23:37Z")

</div>

Using the debug mode, this is what I see:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/3/3070ad3d533d1bfb7ee6e9cbd8d014f477f0ccf4.png)

`picture` isn’t defined. The easiest way to fix that is to check whether it’s defined by doing this:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/4/454f7b73d98964a93c06c258d397f3d1c2762370.png)

And instead of this:

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/c/cc1d5c47be56f6c3f8ac7363dc455948b6d3fa3e.png)

I think you want this:

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/0/0040c926c9bce189707a7f575eb71caf8a8a3dcc.png)

And instead of this:

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/2/218e9f6e0b17826d4a66d78004a4263ae29cfe46.png)

I think you want this:

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/1/118749df0d26e4dc834b68fdabc08507fbae4158.png)

Changes:

> **[60 second Fish Catch](https://arcade.makecode.com/41747-62811-48469-31547)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

This is a very fun game! I got 77!

---

<div class="post-metadata">

**Author:** ![Wanna\_be\_coder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/wanna_be_coder/32/2667_2.png) [@Wanna\_be\_coder](https://forum.makecode.com/u/Wanna_be_coder)\
**Post date:** [December 16, 2020, 12:23am UTC](https://forum.makecode.com/t/this-is-a-fishy-mini-game-bad-pun/5032/5 "2020-12-16T00:23:39Z")

</div>

@UnsignedArduino Could you help me fix these issues please?

---

<div class="post-metadata">

**Author:** ![Wanna\_be\_coder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/wanna_be_coder/32/2667_2.png) [@Wanna\_be\_coder](https://forum.makecode.com/u/Wanna_be_coder)\
**Post date:** [December 16, 2020, 5:02pm UTC](https://forum.makecode.com/t/this-is-a-fishy-mini-game-bad-pun/5032/6 "2020-12-16T17:02:55Z")

</div>

@UnsignedArduino Thank you so much for this help, I am getting better at using arcade make code.
