# Among Us The Game

**URL:** https://forum.makecode.com/t/among-us-the-game/5428
**Category:** Collaboration
**Tags:** game
**Created:** [January 8, 2021, 4:57pm UTC](https://forum.makecode.com/t/among-us-the-game/5428 "2021-01-08T16:57:23Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)
#### Post date: [January 8, 2021, 4:57pm UTC](https://forum.makecode.com/t/among-us-the-game/5428/1 "2021-01-08T16:57:23Z")

</div>

Hey! By the title you can probably tell that I am working on Among US again! But this time… I restarted completly! Everything was just massive! It was my second game and I had no Idea! Now I have some knowledge and I am ready to do It again! In my original Among Us game I had 3 Functions for creating buttons (Kill/Report…)  
Now I have a lot of them! Here I will make uodates and I take suggestions!  
I hope that that way I can finish it quick and make it good!  
Here is the current version! Please do not use it as your game! I do not want to be unfair so please if you show this game to your friends or family please tell them it is not yours! I know it sounds weird but someone from my class showed it to us and said he made it… Well he is now the genius… Even though it is mine! Anyway Here is the game!

> **[Among Us V0.2](https://arcade.makecode.com/60105-12900-89982-59447)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<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: [January 8, 2021, 5:03pm UTC](https://forum.makecode.com/t/among-us-the-game/5428/2 "2021-01-08T17:03:39Z")

</div>

> [@DahbixLP](#):
>
> …but someone from my class showed it to us and said he made it…

Dang I feel bad for you 🙁

One way I get around this is by putting `By Unsigned_Arduino` somewhere in the splash screen. Unless they are smart enough to change it to their own name…

---

<div class="post-metadata">

### Author: ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)
#### Post date: [January 8, 2021, 5:03pm UTC](https://forum.makecode.com/t/among-us-the-game/5428/3 "2021-01-08T17:03:44Z")

</div>

Hello! I have a problem! I made a function to animate AI’s but the array won’t flip… look at it and you will understand!

> **[Among Us V0.2](https://arcade.makecode.com/83121-77369-03495-18101)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

### Author: ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)
#### Post date: [January 8, 2021, 5:07pm UTC](https://forum.makecode.com/t/among-us-the-game/5428/4 "2021-01-08T17:07:44Z")

</div>

Believe me… he did not even know that it was coded… he said he did it with Among Us Coder…  
And it took a lot of time…

---

<div class="post-metadata">

### Author: ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)
#### Post date: [January 9, 2021, 4:52pm UTC](https://forum.makecode.com/t/among-us-the-game/5428/5 "2021-01-09T16:52:14Z")

</div>

Hello again! I have an issue with the meeting function! I have an array with the player names (Red,Blue,Green…) But I want them to have their actual name which is set randomly on start! Is there a way to take the players name and put their names in the array? (Would be nice)  
And now the biggest issue! When someone gets killed I want to remove him from the list! But there is only a list remove value at (number) so e.g. I kill green and value 2 gets removed and then if I kill yellow (last) and remove value 7 then it does not work bc the array is shorter… is there any way to remove the specific name in the array?  
Thanks! Here is the current version!

> **[Among Us V0.4](https://arcade.makecode.com/19176-50769-55102-45568)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

### Author: ![NxNMatrixGL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/nxnmatrixgl/32/2553_2.png) [@NxNMatrixGL](https://forum.makecode.com/u/NxNMatrixGL)
#### Post date: [January 11, 2021, 1:44am UTC](https://forum.makecode.com/t/among-us-the-game/5428/6 "2021-01-11T01:44:45Z")

</div>

Not sure how you will do it in blocks. You have to try something in TypeScript. You can try the following:

```
interface Map<T> {
     [Key: string]: T;
}
//declare your meeting map
let meeting: Map<string> = {};
//assign your random names to the meeting using the color key
meeting["Red"] = "RandomName1";
meeting["Green"] = "RandomName2";
meeting["Blue"] = "RandomName3";
...
//Remove from the meeting map using the color key
delete meeting["Green"];
```

---

<div class="post-metadata">

### Author: ![Ananddboss](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@Ananddboss](https://forum.makecode.com/u/Ananddboss)
#### Post date: [January 11, 2021, 3:10am UTC](https://forum.makecode.com/t/among-us-the-game/5428/7 "2021-01-11T03:10:14Z")

</div>

Hi,I think it would be better if you were not the impostor,green would not be the impostor every time and instead be randomized(that was not criticism).

---

<div class="post-metadata">

### Author: ![Ananddboss](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@Ananddboss](https://forum.makecode.com/u/Ananddboss)
#### Post date: [January 11, 2021, 3:35pm UTC](https://forum.makecode.com/t/among-us-the-game/5428/8 "2021-01-11T15:35:55Z")

</div>

I was just playing the game and when I am an impostor I can never win because it will never let me kill the last person and as crewmate it will not let me do tasks.I also think it would be cool if that if you are an impostor you can still lose by tasks and that the other players are as advanced as green.

---

<div class="post-metadata">

### Author: ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)
#### Post date: [January 11, 2021, 3:36pm UTC](https://forum.makecode.com/t/among-us-the-game/5428/9 "2021-01-11T15:36:05Z")

</div>

Well when it comes to Typescript I have no Idea! Would you mind doing this part for me?

---

<div class="post-metadata">

### Author: ![codelegend](https://avatars.discourse-cdn.com/v4/letter/c/8491ac/32.png) [@codelegend](https://forum.makecode.com/u/codelegend)
#### Post date: [January 11, 2021, 4:06pm UTC](https://forum.makecode.com/t/among-us-the-game/5428/10 "2021-01-11T16:06:33Z")

</div>

The game is cool except i cant get off the emergency meeting

---

<div class="post-metadata">

### Author: ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)
#### Post date: [January 11, 2021, 4:26pm UTC](https://forum.makecode.com/t/among-us-the-game/5428/11 "2021-01-11T16:26:42Z")

</div>

Oh I am sorry! It is still in progress and I am working hard! But thanks for the information! I have already made Among us before with tasks and more! but no meeting or anything!AMONG US (Game Updates) ! search for this and click on the last working version! I am redoing it bc I have more knowledge now and I can do it better!

---

<div class="post-metadata">

### Author: ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)
#### Post date: [January 11, 2021, 4:27pm UTC](https://forum.makecode.com/t/among-us-the-game/5428/12 "2021-01-11T16:27:52Z")

</div>

I am sorry for that! But I just recently began with this game and it is still in progress so I have a lot of stuff going on aswell! Also I have problems with it! (Scroll up!)  
Thanks anyways!

---

<div class="post-metadata">

### Author: ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)
#### Post date: [January 11, 2021, 9:47pm UTC](https://forum.makecode.com/t/among-us-the-game/5428/13 "2021-01-11T21:47:12Z")

</div>

Here it is! It removes the names correctly! And I made the meeting exitable (B Button)

> **[Among Us V0.5](https://arcade.makecode.com/01910-06567-93928-46061)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

@codelegend@UnsignedArduino @Ananddboss @NxNMatrixGL @shakao

---

<div class="post-metadata">

### Author: ![NxNMatrixGL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/nxnmatrixgl/32/2553_2.png) [@NxNMatrixGL](https://forum.makecode.com/u/NxNMatrixGL)
#### Post date: [January 12, 2021, 1:48am UTC](https://forum.makecode.com/t/among-us-the-game/5428/14 "2021-01-12T01:48:08Z")

</div>

You found a blocks solution! Great!

---

<div class="post-metadata">

### Author: ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)
#### Post date: [January 12, 2021, 4:26pm UTC](https://forum.makecode.com/t/among-us-the-game/5428/15 "2021-01-12T16:26:03Z")

</div>

@shakao I have a problem with flipping an array! I made a function that has 5 pictures! $ for the animation and 1 for the not moving image! Then I made an array in the function and set the array to the 1234 pictures! Then I set array 2 (list 2) to the same and took a thing with for value and flip value! It gets animated but it is constantly flipped! Could you take a look!?  
Thanks!

---

<div class="post-metadata">

### Author: ![shakao](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/shakao/32/113_2.png) [@shakao](https://forum.makecode.com/u/shakao)
#### Post date: [January 12, 2021, 4:46pm UTC](https://forum.makecode.com/t/among-us-the-game/5428/16 "2021-01-12T16:46:50Z")

</div>

Yes! In order to save memory for your game, MakeCode doesn’t automatically clone images–so when you set list 2 to the same array, it actually points to the same images, it does not make a copy. You’ll need the “clone image” block from the Images category inside your `for value` block, and clone the image before you flip it.

---

<div class="post-metadata">

### Author: ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)
#### Post date: [January 12, 2021, 4:52pm UTC](https://forum.makecode.com/t/among-us-the-game/5428/17 "2021-01-12T16:52:33Z")

</div>

Oh right! I tried but it didn’t work! Maybe I did it wrong! Could you do It?

> **[Among Us V0.5](https://arcade.makecode.com/45393-25916-21875-24745)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

@shakao

---

<div class="post-metadata">

### Author: ![shakao](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/shakao/32/113_2.png) [@shakao](https://forum.makecode.com/u/shakao)
#### Post date: [January 12, 2021, 5:52pm UTC](https://forum.makecode.com/t/among-us-the-game/5428/18 "2021-01-12T17:52:33Z")

</div>

Ah I see, you have to clone the images before you add them to the array; if you clone them in the `flip picture horizontally` block, it does copy the image but it never adds it back to `list 2`. I would suggest something like this!

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

(Full code here: [https://makecode.com/\_FaFLA6LU70eH](https://makecode.com/_FaFLA6LU70eH))

---

<div class="post-metadata">

### Author: ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)
#### Post date: [January 12, 2021, 5:55pm UTC](https://forum.makecode.com/t/among-us-the-game/5428/19 "2021-01-12T17:55:25Z")

</div>

Nice! I would’ve never solved it on my own! Thanks! Do you have an Idea for the name thing?

---

<div class="post-metadata">

### Author: ![shakao](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/shakao/32/113_2.png) [@shakao](https://forum.makecode.com/u/shakao)
#### Post date: [January 12, 2021, 5:57pm UTC](https://forum.makecode.com/t/among-us-the-game/5428/20 "2021-01-12T17:57:22Z")

</div>

Haha yeah, the way MakeCode handles images is kind of hidden and difficult to figure out if you haven’t had it explained! We definitely need to figure out a way to make it easier. And ah, right! Can you describe the problem you’re running into for the name thing again?

[Next page](https://forum.makecode.com/t/among-us-the-game/5428.md?page=2)
