ShareShortcuts

Pick a number

Pick a number game

shazdehshortcuts
Fork “Pick a number”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so shazdehshortcuts gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
5K
Saved
1
Actions
22
Category
API
Version
1.0
Language
EN

Pick a number game

What's New

Version 1.0

First release

Version History
1.0 Jun 6, 2026

First release

What it does

22 actions
  1. Choose from Menu
  2. Choose from Menu
    easy
  3. Random Number
  4. Ask for Input
    1-10
  5. If
  6. Show Notification
    Correct
  7. If
  8. Show Notification
    Wrong
  9. Choose from Menu
    medium
  10. Random Number
  11. Ask for Input
    1-20
  12. If
  13. Show Notification
    Correct
  14. If
  15. Show Notification
    Wrong
  16. Choose from Menu
    hard
  17. Random Number
  18. Ask for Input
    1-50
  19. If
  20. Show Notification
    Correct
  21. If
  22. Show Notification
    Wrong

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#define color darkorange


menu nil {
item "easy":
	randomNumber(1, 10)
	const AskForInput = prompt("1-10", "Number")
	if AskForInput ==  {
		showNotification("Correct", AskForInput)
	} else {
		showNotification("Wrong", AskForInput)
	}
item "medium":
	randomNumber(1, 20)
	const AskForInput1 = prompt("1-20", "Number")
	if AskForInput1 ==  {
		showNotification("Correct", AskForInput1)
	} else {
		showNotification("Wrong ", AskForInput1)
	}
item "hard":
	randomNumber(1, 50)
	const AskForInput2 = prompt("1-50", "Number")
	if AskForInput2 ==  {
		showNotification("Correct", AskForInput2)
	} else {
		showNotification("Wrong ", AskForInput2)
	}
}
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

You Might Also Like

See All
Advertisement