# My idea

**URL:** <https://forum.makecode.com/t/my-idea/4557>\
**Category:** Collaboration\
**Created:** [November 22, 2020, 1:23am UTC](https://forum.makecode.com/t/my-idea/4557 "2020-11-22T01:23:11Z")\
**Posts on this page:** 20\
**Page:** 9

<div class="post-metadata">

**Author:** ![Colethewolf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/colethewolf/32/4165_2.png) [@Colethewolf](https://forum.makecode.com/u/Colethewolf)\
**Post date:** [November 30, 2020, 3:21am UTC](https://forum.makecode.com/t/my-idea/4557/163 "2020-11-30T03:21:00Z")

</div>

import Random #Hero Classes Class Warrior(Object): Health=150 Strength=11 Defence=11 Magic=7 Class Wizand (Object): Health=127 Strength=9 Defence=8 Magie=12 Class Elf (Object):Health=109 Strength=9 Defence=30 Magic=8 # Enemy Classes Class Goblin (Object): Name=Shadow Health=20 Strength=5 Defence=5 Loot=Random.Randint(0,3) Class Bat (Object):Name= Flying Shadow Health=10 Strength=2 Defence=3 Loot=Random.Randint(0, 3) Class Troll (Object) Name=Fighter Shadow Health=30 Strength=7 Defence=1.5 Loot=Random.randint(0, 2) def heroselect():

---

<div class="post-metadata">

**Author:** ![Colethewolf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/colethewolf/32/4165_2.png) [@Colethewolf](https://forum.makecode.com/u/Colethewolf)\
**Post date:** [November 30, 2020, 3:21am UTC](https://forum.makecode.com/t/my-idea/4557/164 "2020-11-30T03:21:10Z")

</div>

what does this mean " We’ve promoted you up a [trust level](https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/)!

We invite you to keep getting involved – we enjoy having you around." so we level up in this thats cool

---

<div class="post-metadata">

**Author:** ![UnderwaterAstronaut](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/underwaterastronaut/32/2228_2.png) [@UnderwaterAstronaut](https://forum.makecode.com/u/UnderwaterAstronaut)\
**Post date:** [November 30, 2020, 6:48am UTC](https://forum.makecode.com/t/my-idea/4557/165 "2020-11-30T06:48:59Z")

</div>

i don’t think this ‘code is supported by makecode. to me, it doesn’t seem like blocks or javascript or even python. I suggest you ask someone with more experience with javascript than me.

---

<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:** [November 30, 2020, 5:05pm UTC](https://forum.makecode.com/t/my-idea/4557/167 "2020-11-30T17:05:57Z")

</div>

It’s Python, but without all the newlines. I’ll try later today to format everything, since I’m on a phone right now.

---

<div class="post-metadata">

**Author:** ![Kat](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kat/32/2596_2.png) [@Kat](https://forum.makecode.com/u/Kat)\
**Post date:** [November 30, 2020, 5:06pm UTC](https://forum.makecode.com/t/my-idea/4557/168 "2020-11-30T17:06:25Z")

</div>

I love that so much!! Its SOOO cute!!

---

<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:** [November 30, 2020, 5:06pm UTC](https://forum.makecode.com/t/my-idea/4557/169 "2020-11-30T17:06:40Z")

</div>

Well… That used to happen but when you get the promotion of a trust level person, it means that you have been here for more than a week or something. I don remember though. I thought the MakeCode team took out the levels and stuff.

---

<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:** [November 30, 2020, 5:55pm UTC](https://forum.makecode.com/t/my-idea/4557/170 "2020-11-30T17:55:38Z")

</div>

I only see half the code, but here is it formatted:

```python
import random

# Hero Classes

class Warrior:
    Health = 150
    Strength = 11
    Defence = 11
    Magic = 7

class Wizand:
    Health = 127
    Strength = 9
    Defence = 8
    Magie = 12

class Elf:
    Health = 109
    Strength = 9
    Defence = 30
    Magic = 8

# Enemy Classes

class Goblin:
    Name = "Shadow"
    Health = 20
    Strength = 5
    Defence = 5
    Loot = random.randint(0,3)

class Bat:
    Name = "Flying Shadow"
    Health = 10
    Strength = 2
    Defence = 3
    Loot = random.randint(0, 3)

class Troll:
    Name = "Fighter Shadow"
    Health = 30
    Strength = 7
    Defence = 1.5
    Loot = random.randint(0, 2)

```

There are several mistakes:

1. `class` is the correct word, not `Class`. No capitalization.
2. Same with `object`. It’s `object`, not `Object`. And you don’t need to explicitly say you inherited from `object`.
3. And for readability, put spaces before and after the equal sign, like this: `health = 100`.
4. You also need `"` around your strings, like this: `name = "Flying Shadow"`
5. Some colons (`:`) were missing.
6. `Random` is not a standard Python module. You mean `random`?
7. Related with 6, it’s `random.randint(0, 3)`, not `Random.Randint(0, 3)`.
8. There was a random `def` statement at the end of the code: `def heroselect():`

---

<div class="post-metadata">

**Author:** ![Colethewolf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/colethewolf/32/4165_2.png) [@Colethewolf](https://forum.makecode.com/u/Colethewolf)\
**Post date:** [December 3, 2020, 4:51pm UTC](https://forum.makecode.com/t/my-idea/4557/171 "2020-12-03T16:51:20Z")

</div>

[https://makecode.com/\_9uAEPP5z3L1b](https://makecode.com/_9uAEPP5z3L1b) can you add a character select and map select plz

---

<div class="post-metadata">

**Author:** ![Colethewolf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/colethewolf/32/4165_2.png) [@Colethewolf](https://forum.makecode.com/u/Colethewolf)\
**Post date:** [December 3, 2020, 4:51pm UTC](https://forum.makecode.com/t/my-idea/4557/172 "2020-12-03T16:51:22Z")

</div>

if you have time

---

<div class="post-metadata">

**Author:** ![Colethewolf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/colethewolf/32/4165_2.png) [@Colethewolf](https://forum.makecode.com/u/Colethewolf)\
**Post date:** [December 3, 2020, 4:51pm UTC](https://forum.makecode.com/t/my-idea/4557/173 "2020-12-03T16:51:27Z")

</div>

> **[Dimension Savers Fighters](https://arcade.makecode.com/96095-32885-54123-24015)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![Colethewolf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/colethewolf/32/4165_2.png) [@Colethewolf](https://forum.makecode.com/u/Colethewolf)\
**Post date:** [December 3, 2020, 7:44pm UTC](https://forum.makecode.com/t/my-idea/4557/174 "2020-12-03T19:44:25Z")

</div>

@UnderwaterAstronaut @DahbixLP @UnsignedArduino

---

<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 3, 2020, 7:45pm UTC](https://forum.makecode.com/t/my-idea/4557/175 "2020-12-03T19:45:57Z")

</div>

You have summoned me?

---

<div class="post-metadata">

**Author:** ![UnderwaterAstronaut](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/underwaterastronaut/32/2228_2.png) [@UnderwaterAstronaut](https://forum.makecode.com/u/UnderwaterAstronaut)\
**Post date:** [December 3, 2020, 7:47pm UTC](https://forum.makecode.com/t/my-idea/4557/176 "2020-12-03T19:47:22Z")

</div>

What exactly do you want me to do?

---

<div class="post-metadata">

**Author:** ![Colethewolf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/colethewolf/32/4165_2.png) [@Colethewolf](https://forum.makecode.com/u/Colethewolf)\
**Post date:** [December 3, 2020, 7:48pm UTC](https://forum.makecode.com/t/my-idea/4557/177 "2020-12-03T19:48:26Z")

</div>

can you add a character select and map select [https://arcade.makecode.com/96095-32885-54123-24015](https://arcade.makecode.com/96095-32885-54123-24015)

---

<div class="post-metadata">

**Author:** ![UnderwaterAstronaut](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/underwaterastronaut/32/2228_2.png) [@UnderwaterAstronaut](https://forum.makecode.com/u/UnderwaterAstronaut)\
**Post date:** [December 3, 2020, 7:51pm UTC](https://forum.makecode.com/t/my-idea/4557/178 "2020-12-03T19:51:29Z")

</div>

I’m sorry I can’t do the coding for that yet, I’m a bit scared if i ruin the code, however when the code is done, i’ll be able to do art if that’s needed

---

<div class="post-metadata">

**Author:** ![Kat](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kat/32/2596_2.png) [@Kat](https://forum.makecode.com/u/Kat)\
**Post date:** [December 3, 2020, 8:09pm UTC](https://forum.makecode.com/t/my-idea/4557/179 "2020-12-03T20:09:32Z")

</div>

![unsignedarduino](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/6/6b586ea6f0b5a8b3eb9153338cbce51fe5e4434d.jpeg)

---

<div class="post-metadata">

**Author:** ![Colethewolf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/colethewolf/32/4165_2.png) [@Colethewolf](https://forum.makecode.com/u/Colethewolf)\
**Post date:** [December 3, 2020, 10:04pm UTC](https://forum.makecode.com/t/my-idea/4557/180 "2020-12-03T22:04:07Z")

</div>

![rub-rub-rub-i-wish-i-could-stay-in-your-18050555](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/f/f2b7d10bfd3066ce32fe4b63003f7700c8008c7e.jpeg)

---

<div class="post-metadata">

**Author:** ![Colethewolf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/colethewolf/32/4165_2.png) [@Colethewolf](https://forum.makecode.com/u/Colethewolf)\
**Post date:** [December 4, 2020, 4:14am UTC](https://forum.makecode.com/t/my-idea/4557/181 "2020-12-04T04:14:57Z")

</div>

if you do this add a among us map and a my hero Academia ok then you can pick other maps to put in it

 ![pixil-frame-0 (49)](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/a/a257eb3dbe494c806197449936491a8172204ab6.png)

---

<div class="post-metadata">

**Author:** ![Colethewolf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/colethewolf/32/4165_2.png) [@Colethewolf](https://forum.makecode.com/u/Colethewolf)\
**Post date:** [December 4, 2020, 4:15am UTC](https://forum.makecode.com/t/my-idea/4557/182 "2020-12-04T04:15:25Z")

</div>

![pixil-frame-0 (48)](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/e/e81bc7f602287693fec9735fe2538e603fd19b09.png)

---

<div class="post-metadata">

**Author:** ![Colethewolf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/colethewolf/32/4165_2.png) [@Colethewolf](https://forum.makecode.com/u/Colethewolf)\
**Post date:** [December 4, 2020, 4:15am UTC](https://forum.makecode.com/t/my-idea/4557/183 "2020-12-04T04:15:33Z")

</div>

![pixil-frame-0 (47)](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/b/b564a64f60620c04307b1af852a51663e338873c.png)

[Previous page](https://forum.makecode.com/t/my-idea/4557.md?page=8)

[Next page](https://forum.makecode.com/t/my-idea/4557.md?page=10)
