downforacross / downforacross.com

Web frontend for downforacross.com -- continuation of stevenhao/crosswordsio
https://downforacrosscom.downforacross1.now.sh
MIT License
236 stars 94 forks source link

Feature suggestion: duplicate detection #15

Open aaazalea opened 6 years ago

aaazalea commented 6 years ago

If someone uploads a puzzle that is already in the database, don't create multiple copies of it clogging up the home page.

stevenhao commented 6 years ago

this should be doable by maintaining something like puzzlehashes/:hash = {pid} in the db.

stevenhao commented 6 years ago

after detecting the duplicate, maybe we should a message like "this puzzle exists already" and show a link to /beta/play/:existingpid