FactoryGuessr
Disclaimer
This code is a mess. Anyways:
TODO
TODO: Make finished round seperate page (a lot cleaner)
TODO: Fix background pattern not working at Finished Round
- TODO: Make Easy/Hard Mode and Time limit work
- TODO: Add a lot more panoramas
TODO: Make viewing angle random when pan is off for extra difficulty
TODO: Make space key change behaviour just like #submitbutton
- TODO: Credit: Rafa als Betatester
TODO: Disable double-tap zoom for Pannellum
TODO: Rework formula for points (ideally S-curve)
- TODO: Prevent leaflet from 404'ing so much
- TODO: Add pycache to .gitignore
- TODO: Change score formula accordingly to Easy/Hard Mode
- TODO: Fix bug where user places pin on wrong map and gets 0 points
Ideas
- Time after image disappears
How to render website-src
This website is made with Svelte-Kit so I can render it as static HTML, CSS and JS files to upload to my file hosting server (I didn't bother getting a real server, just file hosting)
cd website-src
./build.cmd
# Final files are located in ./website-src/build
File Structure
website-src
Svelte files that are compiled to HTML, CSS and JS.
Tools (mostly Python files) that I used to make the website.