aadl / summergame

Code that runs the AADL Summer Game
http://play.aadl.org
GNU General Public License v2.0
5 stars 2 forks source link

Add param to apply points directly from anon session #104

Closed mswinehart closed 5 months ago

mswinehart commented 5 months ago

This improves the experience of folks who complete the puzzle anonymously and connect after. Previously, you'd just have to redo the puzzle. This allows player select and point apply. Point logic remains on Scatterlog side. The $_GET var issue i discussed in office today is not a problem if you declare the variable outside the redirect closure.

This is available to test on the dev scatterlog site. https://scatterlog.dev.aadl.org/

If you complete anonymously, and then click the "Connect" prompt on the modal, it will allow you to connect and directly apply the points.

I told Elle this might take a couple days to get out, so no rush to review. Most people are already connected who might have an issue with this, and sessions refresh on subsequent visits.