Allow Checking Scores #5
Labels
No labels
CI
Documentation
Feature
Improvement
Refactor
Security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: peacememories/scores#5
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
To ensure people do not cheat, some games might want to supply a checker program. This would take client-supplied information about the played level and verify it.
What we need for this:
Allow setting an optional checker executable/url per game
For games where the checker is enabled, allow uploading a blob describing the played level
Pass the uploaded level data to the executable and interpret the output
This might either be done by sending the blob as payload to a url or by passing it as
stdin
to an executable.If the result is okay, either: