The-Huginn / party-game

2 stars 1 forks source link

Cache few last tasks to not repeat them #4

Closed The-Huginn closed 1 year ago

The-Huginn commented 1 year ago

Perhaps create an iterator over shuffled tasks with next and remove methods, where next would be overflowing. Meaning it would start from the beginning.

Thus we would no longer require randomly accessing GameTask for a particular GameSession