Skip to content

Instantly share code, notes, and snippets.

@cedricbahirwe
Created September 27, 2020 22:48
Show Gist options
  • Save cedricbahirwe/842832d78388078afaf596aa2377f386 to your computer and use it in GitHub Desktop.
Save cedricbahirwe/842832d78388078afaf596aa2377f386 to your computer and use it in GitHub Desktop.
This is ta simple conditional logic Using EmojiCode
🏁 πŸ‡
150 ➑️ offer
100 ➑️ minPrice
200 ➑️ maxPrice
πŸ’­ Edit the condition below:
β†ͺ️ 🀜 offer ▢️ minPrice πŸ€› 🀝 🀜 offer ◀️ maxPrice πŸ€› πŸ‡
πŸ˜€ πŸ”€Offer accepted!πŸ”€β—οΈ
πŸ‰
πŸ’­ Edit the condition below to evaluate to πŸ‘Ž:
β†ͺ️ 🀜 πŸ‘ πŸ‘ πŸ‘ πŸ€› 🀝 πŸ‘Ž πŸ‡
πŸ˜€ πŸ”€The second expression should be πŸ‘Ž.πŸ”€β—οΈ
πŸ‰
πŸ™… πŸ‡
πŸ˜€ πŸ”€Nice use of 🀜 πŸ€›!πŸ”€β—οΈ
πŸ‰
πŸ’­ Edit the code below to get mathPuzzle to evaluate to 20:
10 βœ–οΈ 🀜 6 βž– 2 πŸ€› βž— 2 ➑️ mathPuzzle
β†ͺ️ mathPuzzle πŸ™Œ 20 πŸ‡
πŸ˜€ πŸ”€You did it!πŸ”€β—οΈ
πŸ‰
πŸ™… πŸ‡
πŸ˜€ πŸ”€mathPuzzle should have a value of 20, it's currently 🧲mathPuzzle🧲.πŸ”€β—οΈ
πŸ‰
πŸ‰
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment