blobotic / vling

ling comp practice portal
https://vling.pages.dev/
2 stars 1 forks source link

Option to have random only pick from uncompleted problems #6

Open blobotic opened 1 year ago

blobotic commented 1 year ago

Add in [Stats] under [Settings] an option to have random only pick from problems that aren't completed. This would involve getting the list of completed problems (#4) and finding the difference with the total list of problems, then subsequently picking a random problem.

If ALL problems are completed, random returns nothing and alerts that you've completed all available problems.