Hacker News new | ask | show | jobs
by Zekio 3779 days ago
quite the fun game EDIT: can't figure the last one out, but was fun :D
1 comments

1. Move Thread 0 to end.

2. do a few iterations through thread 1 (e.g. n=5)

3. step darkness++ concurrently (via expand), so that darkness=1

4. step thread 0 to Monitor.Wait(sanctum)

5. the rest is straightforward.

Whoa! Spoiler alert!

;)