# I need a really good coder to help with my game

**URL:** <https://forum.makecode.com/t/i-need-a-really-good-coder-to-help-with-my-game/36839>\
**Category:** Help\
**Created:** [May 21, 2025, 9:10pm UTC](https://forum.makecode.com/t/i-need-a-really-good-coder-to-help-with-my-game/36839 "2025-05-21T21:10:08Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Noob1235](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@Noob1235](https://forum.makecode.com/u/Noob1235)\
**Post date:** [May 21, 2025, 9:10pm UTC](https://forum.makecode.com/t/i-need-a-really-good-coder-to-help-with-my-game/36839/1 "2025-05-21T21:10:08Z")

</div>

I am making One Night Ultimate Werewolf, and I ran into a glitch. I am trying to make it randomly give each player a card, but sometimes it overlaps. It is about a 1 in 5 chance. Push A to reset the game, and menu to show which card has what role. If you find the bug, or have a better way to do it PLEASE TELL ME!!! I AM REALLY FRUSTRATED BECAUSE I USUALLY FIND THE BUGS IN MY CODE!!! I only have werewolf, villager, and seer.

> **[One Night Ultimate Werewolf](https://arcade.makecode.com/S66662-95481-26136-32477)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![redSprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/redsprite/32/34262_2.png) [@redSprite](https://forum.makecode.com/u/redSprite)\
**Post date:** [May 22, 2025, 1:32am UTC](https://forum.makecode.com/t/i-need-a-really-good-coder-to-help-with-my-game/36839/2 "2025-05-22T01:32:50Z")

</div>

I used an extension which gives multiple sprites their own data, really helpful!  
But that means your going to have to work with those, take it or leave it.  
Anyway:

> **[ONUW (Fixed)](https://arcade.makecode.com/40654-54043-86888-83835)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![Noob1235](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@Noob1235](https://forum.makecode.com/u/Noob1235)\
**Post date:** [May 22, 2025, 2:46pm UTC](https://forum.makecode.com/t/i-need-a-really-good-coder-to-help-with-my-game/36839/3 "2025-05-22T14:46:03Z")

</div>

Thank you so much

---

<div class="post-metadata">

**Author:** ![Noob1235](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@Noob1235](https://forum.makecode.com/u/Noob1235)\
**Post date:** [May 22, 2025, 10:50pm UTC](https://forum.makecode.com/t/i-need-a-really-good-coder-to-help-with-my-game/36839/4 "2025-05-22T22:50:02Z")

</div>

what it now looks like, push B to kill a player. It still looks a bit weird. The villager can kill the werewolf.

> **[ONUW](https://arcade.makecode.com/S14885-35417-99652-92499)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [May 23, 2025, 4:06am UTC](https://forum.makecode.com/t/i-need-a-really-good-coder-to-help-with-my-game/36839/5 "2025-05-23T04:06:12Z")

</div>

Basically, “or” blocks don’t work like that. You would have to put \<thing = thing\>or\<thing /= thing\> for all of them, and not just with one “/=“ attached to all of them at the end. Instead of all those “20%” blocks (which also don’t really work like that), you should be using arrays, and then removing “used” sprites from the array so that they can’t be used again, like this:

> **[One Night Ultimate Werewolf](https://arcade.makecode.com/S95713-32951-50546-16231)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Once again I must ask: Who is approving posts this late at night??

---

<div class="post-metadata">

**Author:** ![redSprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/redsprite/32/34262_2.png) [@redSprite](https://forum.makecode.com/u/redSprite)\
**Post date:** [May 23, 2025, 4:13am UTC](https://forum.makecode.com/t/i-need-a-really-good-coder-to-help-with-my-game/36839/6 "2025-05-23T04:13:35Z")

</div>

Oh, the bottom one was supposed to be the werewolf?  
Should of said that…  
Just make the bottom one certain to be the werewolf, and use functions to assign everyone else.

---

<div class="post-metadata">

**Author:** ![swirlix](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/swirlix/32/35624_2.png) [@swirlix](https://forum.makecode.com/u/swirlix)\
**Post date:** [May 23, 2025, 4:19am UTC](https://forum.makecode.com/t/i-need-a-really-good-coder-to-help-with-my-game/36839/7 "2025-05-23T04:19:18Z")

</div>

I’ve played this game before at a sleepover once! this looks cool so far, I hope you post the final project soon

---

<div class="post-metadata">

**Author:** ![Reflectfr](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/reflectfr/32/32515_2.png) [@Reflectfr](https://forum.makecode.com/u/Reflectfr)\
**Post date:** [May 23, 2025, 4:42pm UTC](https://forum.makecode.com/t/i-need-a-really-good-coder-to-help-with-my-game/36839/8 "2025-05-23T16:42:47Z")

</div>

Time zones

---

<div class="post-metadata">

**Author:** ![Noob1235](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@Noob1235](https://forum.makecode.com/u/Noob1235)\
**Post date:** [May 23, 2025, 4:46pm UTC](https://forum.makecode.com/t/i-need-a-really-good-coder-to-help-with-my-game/36839/9 "2025-05-23T16:46:31Z")

</div>

Now it only eliminates someone who isn’t the werewolf.

> **[ONUW](https://arcade.makecode.com/S14885-35417-99652-92499)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![Noob1235](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@Noob1235](https://forum.makecode.com/u/Noob1235)\
**Post date:** [May 23, 2025, 4:46pm UTC](https://forum.makecode.com/t/i-need-a-really-good-coder-to-help-with-my-game/36839/10 "2025-05-23T16:46:33Z")

</div>

The werewolf is supposed to be random. The eliminating system has to eliminate one player, except the werewolf, because the werewolf can’t eliminate itself. The only hard part I am struggling with is the voting system. Should everyone vote randomly?

---

<div class="post-metadata">

**Author:** ![Noob1235](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@Noob1235](https://forum.makecode.com/u/Noob1235)\
**Post date:** [May 23, 2025, 4:47pm UTC](https://forum.makecode.com/t/i-need-a-really-good-coder-to-help-with-my-game/36839/11 "2025-05-23T16:47:08Z")

</div>

Bug fixes

> **[ONUW](https://arcade.makecode.com/S39019-97040-35188-52624)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![Noob1235](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@Noob1235](https://forum.makecode.com/u/Noob1235)\
**Post date:** [May 27, 2025, 2:33pm UTC](https://forum.makecode.com/t/i-need-a-really-good-coder-to-help-with-my-game/36839/12 "2025-05-27T14:33:23Z")

</div>

Does anyone have anything they want me to add? I am going to add the seer role power soon. Press B to go to the next night. (I am going to make it say the night #)

> **[ONUW](https://arcade.makecode.com/S39019-97040-35188-52624)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![CopySprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/copysprite/32/35475_2.png) [@CopySprite](https://forum.makecode.com/u/CopySprite)\
**Post date:** [May 27, 2025, 8:09pm UTC](https://forum.makecode.com/t/i-need-a-really-good-coder-to-help-with-my-game/36839/13 "2025-05-27T20:09:03Z")

</div>

> [@WoofWoof](#):
>
> Who is approving posts this late at night??

@AlexK is I think.  
Also it might not be late at night for them.  
Also I’m a bit late to reply to this.

---

<div class="post-metadata">

**Author:** ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)\
**Post date:** [May 27, 2025, 9:32pm UTC](https://forum.makecode.com/t/i-need-a-really-good-coder-to-help-with-my-game/36839/14 "2025-05-27T21:32:07Z")

</div>

Time zones are weird. Most posts get approved at around 3-6 am for me, so just about perfect when I get up at 6. The a second wave in the afternoon or at around 10.
