jakobcornell / dubois-traffic-puzzle

traffic puzzle game for Android
0 stars 0 forks source link

I can't get past puzzle 106 #6

Closed KenSStanley closed 7 years ago

KenSStanley commented 7 years ago

I have added some super easy levels and the first ten Rush Hour Junior levels. I have been working my way up through the levels. But, now each time I solve puzzle 106 (which corresponds to level 6 in the Rush Hour Junior series) it presents that same puzzle again.

KenSStanley commented 7 years ago

This turns out to be a feature not a bug. Board.FetchMaxDifficulty() caches the result of reading through all entries in the dubois_rushhour_level domain and finding the maximum value in the difficulty field. Since I added entries to that table while the program was running, the cache was out-of-date. However, that will only happen during development and is not a bug.