Open aaazalea opened 6 years ago
this should be doable by maintaining something like puzzlehashes/:hash = {pid}
in the db.
after detecting the duplicate, maybe we should a message like "this puzzle exists already" and show a link to /beta/play/:existingpid
If someone uploads a puzzle that is already in the database, don't create multiple copies of it clogging up the home page.