# Help plz

**URL:** <https://forum.makecode.com/t/help-plz/5878>\
**Category:** Arcade\
**Created:** [January 30, 2021, 6:20am UTC](https://forum.makecode.com/t/help-plz/5878 "2021-01-30T06:20:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChickenBoy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chickenboy/32/717_2.png) [@ChickenBoy](https://forum.makecode.com/u/ChickenBoy)\
**Post date:** [January 30, 2021, 6:20am UTC](https://forum.makecode.com/t/help-plz/5878/1 "2021-01-30T06:20:36Z")

</div>

> **[help plz](https://arcade.makecode.com/36009-48624-17481-67237)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

I am having a glitch or bug that when I start the game I win. 🤔

---

<div class="post-metadata">

**Author:** ![kwx](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kwx/32/1545_2.png) [@kwx](https://forum.makecode.com/u/kwx)\
**Post date:** [January 30, 2021, 6:58am UTC](https://forum.makecode.com/t/help-plz/5878/2 "2021-01-30T06:58:40Z")

</div>

You’re placing the player on a random goal tile?

---

<div class="post-metadata">

**Author:** ![cosmoscowboy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/cosmoscowboy/32/1718_2.png) [@cosmoscowboy](https://forum.makecode.com/u/cosmoscowboy)\
**Post date:** [January 30, 2021, 5:43pm UTC](https://forum.makecode.com/t/help-plz/5878/3 "2021-01-30T17:43:09Z")

</div>

Just as @kwx pointed out, at the start of the game you are placing the player on a random tile, and you have an overlap event for the same tile where the player wins the game. You probably meant to use a different tile?

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

---

<div class="post-metadata">

**Author:** ![ChickenBoy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chickenboy/32/717_2.png) [@ChickenBoy](https://forum.makecode.com/u/ChickenBoy)\
**Post date:** [January 30, 2021, 5:43pm UTC](https://forum.makecode.com/t/help-plz/5878/4 "2021-01-30T17:43:39Z")

</div>

here is my code for the game.

 ![1234](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/3/30e7d2c4f74949edc02e813de4dd867aee67b7ab.png)

---

<div class="post-metadata">

**Author:** ![DaEnderman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/daenderman/32/3632_2.png) [@DaEnderman](https://forum.makecode.com/u/DaEnderman)\
**Post date:** [January 30, 2021, 5:44pm UTC](https://forum.makecode.com/t/help-plz/5878/5 "2021-01-30T17:44:21Z")

</div>

Found you problem you put the win block onto the player

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/e/ecb3d54eaaec7e65f15ea2d78b3bfb7ce9e75ee5.jpeg)

---

<div class="post-metadata">

**Author:** ![ChickenBoy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chickenboy/32/717_2.png) [@ChickenBoy](https://forum.makecode.com/u/ChickenBoy)\
**Post date:** [January 30, 2021, 7:31pm UTC](https://forum.makecode.com/t/help-plz/5878/6 "2021-01-30T19:31:09Z")

</div>

![arcade-screenshot (1)](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/3/3a8607b02edbff25c1cb7f1801675c07dbe7b372.png)  
I still have the bug

---

<div class="post-metadata">

**Author:** ![Charliegregg2](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@Charliegregg2](https://forum.makecode.com/u/Charliegregg2)\
**Post date:** [February 1, 2021, 4:30am UTC](https://forum.makecode.com/t/help-plz/5878/7 "2021-02-01T04:30:06Z")

</div>

In Assets/ javascript both tiles are labeled as ‘tile5’. Try recreating them.

---

<div class="post-metadata">

**Author:** ![ChickenBoy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chickenboy/32/717_2.png) [@ChickenBoy](https://forum.makecode.com/u/ChickenBoy)\
**Post date:** [February 1, 2021, 9:59pm UTC](https://forum.makecode.com/t/help-plz/5878/8 "2021-02-01T21:59:24Z")

</div>

I fixed it! Thank you! 😃 😃 😃

---

<div class="post-metadata">

**Author:** ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)\
**Post date:** [February 1, 2021, 11:58pm UTC](https://forum.makecode.com/t/help-plz/5878/9 "2021-02-01T23:58:02Z")

</div>

@ChickenBoy @Charliegregg2 Thanks for posting this, we actually ran into this ourselves just a little bit ago - seeing this post and solution helped narrow down what was happening a bit quicker!

for reference, [https://github.com/microsoft/pxt-arcade/issues/3026](https://github.com/microsoft/pxt-arcade/issues/3026)
