Skip to content

Is it possible to do server side verification #12

Description

@sagan

Currently all logics run in the browser side.

To qualify as a real captcha, it should verify the result in the server side. Here is my consideration:

  1. Client record the user's key stroke sequences (↑ ↓← →,space) and each key stroke's relative timestamp.
  2. Client send the saved stroke sequence to server.
  3. Server start a doom instance (with node.js or headless browser), apply the sequence as input to check whether the game clear condition is actually met in the end.

To prevent replay attack, the game level should be randomized with a seed provided by the server.

I am not familiar with WASM or doom. Is it possible to implement?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions