# MinaCoding2025_MessagePattern

# EmojiNonnets

For ***MinaCoding2025* Prompt 12 & 18:** **Message & Pattern** ,***EmojiNonnets*** coded in Python outputs an emoji based message in the form of a Nonnet (*a nine-line poem with a specific syllable structure: 9, 8, 7, 6, 5, 4, 3, 2, 1*)

What are the Emojis trying to Convey?

## Outputs

```ocaml
🟩💋🎉🔫🚽😡💙☀👌
🟪⬛⬜🟨🟪⬛🔳🟩
🐫🌙🏀💀💪🐍💚
🌺⛵👽🔫🍸☀
⬜️️🔲🔲
😝💪😘🙌
▫🟪⏹
😜🎁
💣
```

```ocaml
😱💘🐍⛵👽🍎🐶⬜▫️🟥
🔳🟡🟪️⏹🟪🔳▫
🏆❤💰⛵🐷💎🎉
🐟🌹💝😍🐍🎶
🟨️⏹⬜⬛
💩🎉💀🎈
⬛▫⬜
🐩💰
🐮
```

```ocaml
🐩🚗🚲🐬🍎🌺🔑🔫💎
🟡⏹⬛⬜🟥⬛🟦⏹
🏀👋👿👿🍻🐎🐬
👊🌺🍀🐩👋😡
🟩🟦🟪🟦⬛
🎉💚🔲🎉
🔲🟨⬛
🏁🍉
👃
```

```ocaml
💄⚽🎀👠🐷⛄🚀✌💣
🟪🟪🟨️🔲⏹▫🟩
👶👋😓⛄🐍🏆🍀
🍓💄⚾👀💜👄
🟪🔲️🟪▫
🍀⏹️💎😍
🟦🟦🔳
💪💝
🍓
```

```ocaml
🐎💚⚽💰🎾👊💜😱👽
🟡🔳🔲▫🔲⬛▫️
🐩🐰👸🎶👿🌊✌
🙌✌👿💙🚽💄
️️⬛⬜🔲
🚀🏈💩🍸
▫🔲⬜
🎱👊
💰
```

## Code

### Python

```ocaml
import random


def colorgrid(amt):
    x =  "🟩🟡🟨🟪🟦🟪⏹️🔲🔳⬛⬜▫️🟥"
    joined = random.choices(x, k=amt)

    final = ''.join(joined)

    print(final)
    
def colorgrid2(amt):
    x =  ["✌","😂","😝","😁","😱","👉","🙌","🍻","🔥","🌈","☀","🎈","🌹","💄","🎀","⚽","🎾","🏁","😡","👿","🐻","🐶","🐬","🐟","🍀","👀","🚗","🍎","💝","💙","👌","❤","😍","😉","😓","😳","💪","💩","🍸","🔑","💖","🌟","🎉","🌺","🎶","👠","🏈","⚾","🏆","👽","💀","🐵","🐮","🐩","🐎","💣","👃","👂","🍓","💘","💜","👊","💋","😘","😜","😵","🙏","👋","🚽","💃","💎","🚀","🌙","🎁","⛄","🌊","⛵","🏀","🎱","💰","👶","👸","🐰","🐷","🐍","🐫","🔫","👄","🚲","🍉","💛","💚"]

    joined = random.choices(x, k=amt)

    final = ''.join(joined)

    print(final)
    
def colorgrid3(amt):
    x =  ["✌","😂","😝","😁","😱","👉","🙌","🍻","🔥","🌈","☀","🎈","🌹","💄","🎀","⚽","🎾","🏁","😡","👿","🐻","🐶","🐬","🐟","🍀","👀","🚗","🍎","💝","💙","👌","❤","😍","😉","😓","😳","💪","💩","🍸","🔑","💖","🌟","🎉","🌺","🎶","👠","🏈","⚾","🏆","👽","💀","🐵","🐮","🐩","🐎","💣","👃","👂","🍓","💘","💜","👊","💋","😘","😜","😵","🙏","👋","🚽","💃","💎","🚀","🌙","🎁","⛄","🌊","⛵","🏀","🎱","💰","👶","👸","🐰","🐷","🐍","🐫","🔫","👄","🚲","🍉","💛","💚"]
    y =  ["🟩","🟡","🟨","🟪","🟦","🟪","⏹️","🔲","🔳","⬛","⬜","▫️🟥"]
    
    z = x + y

    
    joined = random.choices(z, k=amt)

    final = ''.join(joined)

    print(final)
    
    

def spellcase(a,b,c,d,e,f,g,h,i):
    
    colorgrid3(a)
    colorgrid(b)
    colorgrid2(c)
    colorgrid2(d)
    colorgrid(e)
    colorgrid3(f)
    colorgrid(g)
    colorgrid2(h)
    colorgrid3(i)

spellcase(9,8,7,6,5,4,3,2,1)
```
