Endless Mode #5

Closed
opened 2026-01-22 09:11:22 +01:00 by Ghost · 0 comments
Ghost commented 2026-01-22 09:11:22 +01:00 (Migrated from codeberg.org)

If no Quiz is available for the current date select another one from the List. Might either be just start at the beginning or pick a random one (but have to make sure everyone on that day gets the same). Maybe just use the date as Random Seed

	var seed = DateTime.Today.GetHashCode();
	var rnd=new Random(seed);

should work fine

This way if a day is missing or we just get out of songs the app can work indefinetly

If no Quiz is available for the current date select another one from the List. Might either be just start at the beginning or pick a random one (but have to make sure everyone on that day gets the same). Maybe just use the date as Random Seed ``` var seed = DateTime.Today.GetHashCode(); var rnd=new Random(seed); ``` should work fine This way if a day is missing or we just get out of songs the app can work indefinetly
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GuacamOle/FreezeTune#5
No description provided.