Parts required
1 Pot
2 1k resistor
3 photo resistor
4 speaker
5 3904 transistor
6 switch
7 battery
1 When the light is on the resistance of the eye is low and so is voltage making the transistor reversed biased.
2 When the lights are off the resistance of the eye is high and so is the voltage making the transistor forward biased which turns on the speaker.
3 Using a pot to adjust for light levels.