Allow Checking Scores #5

Open
opened 2022-10-31 23:36:59 +01:00 by peacememories · 0 comments

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:

    • Store the score, otherwise fail the request
    • Approve the already stored score. This could also be done asynchronously while the client is already disconnected
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: - Store the score, otherwise fail the request - Approve the already stored score. This could also be done asynchronously while the client is already disconnected
peacememories added the
Feature
label 2022-10-31 23:38:16 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: peacememories/scores#5
No description provided.