ShareShortcuts
Создать форк «Guess The Number»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы mrgoatfan получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
8K
Сохранено
0
Действия
45
Категория
Fun
Версия
1.0
Язык
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

Что нового

Версия 1.0

First release

История версий
1.0 31 янв 2026 г.

First release

Что делает

Действий: 45
  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

Посмотреть как код
Бета

Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.

#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)
Открыть в Cherri Playground Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

Оценки и отзывы

Написать отзыв
–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Пока нет отзывов. Поделись мнением первым!

Реклама

Ещё от mrgoatfan

См. все

Вам также может понравиться

См. все
Реклама