Now let's simulate what happens during the night.

Temporarily set isDay to false .

That's it! But we're not done yet.

Make sure you set isDay to false.