Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support variable handling #3

Open
5 tasks
s-gbz opened this issue Oct 8, 2021 · 0 comments
Open
5 tasks

Support variable handling #3

s-gbz opened this issue Oct 8, 2021 · 0 comments

Comments

@s-gbz
Copy link
Contributor

s-gbz commented Oct 8, 2021

Open tasks:

  • Identifying variables
  • Referencing variable items
  • Basic arithmetic's / handling "+" operations
  • Filling variable likes
    it(':box: Anna Sergej Andre Sascha', () => {
    const input = ":box: Anna Sergej Andre Sascha";
    const result = service.parseInput(input);
    const expected = "Anna Sergej Andre Sascha";

    expect(result).toEqual(expected);
  });

E.g. what is the result of the following code:

🗃️ ➕ 🗃️ 

What is the behaviour of the following snippet?

🗃️ ⚖️ (🗃️ ➗ 2 = 0)❓
    👍
        🗃️ ➕ 🗃️ ➡️ 🗃️
    👎
        🗃️ ➖ 🗃️ ➡️ 🗃️

Is that possible?

Wenn das Ergebnis der Subtraktion negativ ist, multipliziere mit 100.

🗃️ ⚖️ 📉 ❓
    👍
        🗃️ ✖️ 100 ➡️ 🗃️

Frag nach 2 gleichen Zahlen.
Wenn die Eingaben gleich sind, zeig ein Bild von einem glücklichen Hund aus der Gallerie.
Wenn nicht, zeig ein Bild von einem traurigen Welpen.

  • Support images/ image display / image access
📝🔢 📝🔢 ➡️ 🗃️

❓
    👍
        🖼️🐶
    👎
        🖼️🐕

Mit Hilfe von 🖼️ & einem Argument dahinter können Bilder aus einer vordefinierten Gallerie ausgegeben werden.
Gibt Bild eines Hundes aus.

🖼️🐕
🖼️🐱
🖼️🐼

Es könnte eingestellt werden das es z.B. drei Slots gibt in denen eigen angelegte Bilder gespeichert werden.
Damit könnte der Nutzerspeicher dynamisch referenziert werden.

🖼️🖥️1
🖼️🖥️2
🖼️🖥️3

tl;dr: look into testaufgaben.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant