ShareShortcuts

Guess The Number

mrgoatfan
Fork “Guess The 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 mrgoatfan 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
8K
Saved
0
Actions
45
Category
Fun
Version
1.0
Language
EN

✍️Hi Welcome To Guess The Number

📝Create Your Own Match

⚙️Each Number Is Randomly Generated

🏆Win Easy,Medium,Hard,Custom Matches.

📱Supports : IPad,IPhone

What's New

Version 1.0

First release

Version History
1.0 Jan 31, 2026

First release

What it does

45 actions
  1. Choose from Menu
    Guess The Number
  2. Choose from Menu
    Easy
  3. Show Alert
  4. Random Number
  5. Set Variable
    Awnser
  6. Ask for Input
    Guess the number
  7. If
  8. Show Alert
  9. Run Shortcut
    Guess The Number
  10. If
  11. Show Alert
  12. Run Shortcut
    Guess The Number
  13. Choose from Menu
    Medium
  14. Show Alert
  15. Random Number
  16. Set Variable
    Awnser
  17. Ask for Input
    Guess the number
  18. If
  19. Show Alert
  20. If
  21. Show Alert
  22. Choose from Menu
    Hard
  23. Show Alert
  24. Random Number
  25. Set Variable
    Awnser
  26. Ask for Input
    Guess The Number
  27. If
  28. Show Alert
  29. Run Shortcut
    Guess The Number
  30. If
  31. Show Alert
  32. Run Shortcut
    Guess The Number
  33. Choose from Menu
    Custom Match
  34. Random Number
  35. Set Variable
    Awnser
  36. Ask for Input
    Guess the number
  37. If
  38. Show Alert
  39. Run Shortcut
    Choose from Menu 1
  40. If
  41. Show Alert
  42. Run Shortcut
    Choose from Menu 1
  43. Choose from Menu
    Exit
  44. Stop This Shortcut
  45. Send Message

View as code
Beta

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

#include 'actions/sharing'
#define color blue
#define glyph dice


menu "Guess The Number" {
item "Easy":
	confirm("This match will be between 1-3")
	randomNumber(1, 3)
	@Awnser
	const AskForInput = prompt("Guess the number")
	if AskForInput == @Awnser {
		confirm("YOU GUESSED IT!🏆🙌 Concrats GG good game")
		runSelf()
	} else {
		confirm("Sorry you lost GG good game it was {@Awnser}")
		runSelf()
	}
item "Medium":
	confirm("This will be between 1-13")
	randomNumber(1, 13)
	@Awnser
	const AskForInput1 = prompt("Guess the number")
	if AskForInput1 == @Awnser {
		confirm("YOU GUESSED IT!🏆🙌 Concrats GG good game")
	} else {
		confirm("Sorry you lost GG good game it was {@Awnser} ")
	}
item "Hard":
	confirm("This will be between 1-28")
	randomNumber(1, 28)
	@Awnser
	const AskForInput2 = prompt("Guess The Number")
	if AskForInput2 == @Awnser {
		confirm("YOU GUESSED IT!🏆🙌 Concrats GG good game")
		runSelf()
	} else {
		confirm("Sorry you lost GG good game it was {@Awnser}")
		runSelf()
	}
item "Custom Match":
	randomNumber(Ask, Ask)
	@Awnser
	const AskForInput3 = prompt("Guess the number")
	if AskForInput3 == @Awnser {
		confirm("YOU GUESSED IT!🏆🙌 Concrats GG good game")
		runSelf()
	} else {
		confirm("Sorry you lost GG good game it was  {@Awnser}")
		runSelf()
	}
item "Exit":
	stop()
}
sendMessage(nil)
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

More by mrgoatfan

See All

You Might Also Like

See All
Advertisement