ShareShortcuts
Fork “Scorekeeper”

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 quartzwarrior 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
56K
Saved
2
Actions
33
Category
Utilities
Version
2.0
Language
EN

Preview

DELETED

What's New

Version 2.0

DELETED

Version History
2.0 Dec 17, 2020

DELETED

1.23 Nov 11, 2020

Fixed bugs

1.16 Oct 31, 2020

Simplified update screens Adjusted About screen Sorry, my iPhone broke so updates will be less common until I get a new one!

1.15 Oct 23, 2020

Implemented internal updates, credits to mvan231!

1.0 Oct 23, 2020

First release

What it does

33 actions
  1. Comment
    Made by QuartzWarrior Version: 1.0 Works offline.
  2. Get File
  3. If
  4. Show Alert
    🚨 Alert 🚨
  5. Dictionary
  6. Create Folder
  7. Save File
  8. Run Shortcut
    Scorekeeper
  9. If
  10. Get Dictionary from Input
  11. Choose from Menu
    Keep your Scores!
  12. Choose from Menu
    See Current Scores
  13. Show Result
  14. Run Shortcut
    Scorekeeper
  15. Choose from Menu
    +1
  16. Ask for Input
    Who do you want to add the score to? (Case Sensitive)
  17. Get Dictionary Value
  18. Calculate
  19. Set Dictionary Value
  20. Save File
  21. Run Shortcut
    Scorekeeper
  22. Choose from Menu
    -1
  23. Ask for Input
    Who do you want to add the score to? (Case Sensitive)
  24. Get Dictionary Value
  25. Calculate
  26. Set Dictionary Value
  27. Save File
  28. Run Shortcut
    Scorekeeper
  29. Choose from Menu
    Reset Scores
  30. Delete Files
  31. Run Shortcut
    Scorekeeper
  32. Choose from Menu
    Exit Scorekeeper
  33. Stop This Shortcut

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/documents'
#define color blue
#define glyph walletPass

/*
Made by QuartzWarrior

Version: 1.0

Works offline.
*/
const File = getFileFromFolder(, "ReUp/Scorekeeper.json", false)

if !File {
	alert("This part will have the keys (people playing the game or people you are keeping score on). Fill in the area that says key. If you need more space click: ➕ Add new item, then click on number.", "                    🚨 Alert 🚨 ")
	const Dictionary = {
		"{Ask}": ""
	}
	createFolder("ReUp/")
	saveFile("ReUp/Scorekeeper.json", Dictionary)
	runSelf()
} else {
	const Dictionary1 = getDictionary(File)
	menu "Keep your Scores!" {
	item "See Current Scores":
		show(Dictionary1)
		runSelf()
	item "+1":
		prompt("Who do you want to add the score to? (Case Sensitive)")
		const DictionaryValue = getValue(Dictionary1)
		const Dictionary2 = setValue(Dictionary1)
		saveFile("ReUp/Scorekeeper.json", Dictionary2, true)
		runSelf()
	item "-1":
		prompt("Who do you want to add the score to? (Case Sensitive)")
		const DictionaryValue1 = getValue(Dictionary1)
		const Dictionary3 = setValue(Dictionary1)
		saveFile("ReUp/Scorekeeper.json", Dictionary3, true)
		runSelf()
	item "Reset Scores":
		deleteFiles(File)
		runSelf()
	item "Exit Scorekeeper":
		stop()
	}
}
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 quartzwarrior

See All

You Might Also Like

See All
Advertisement