Boolean Master

Boolean Master is a logic puzzle which requires you to connect sequences of lights to produce a Goal sequence.
Games have two or three initial sequences. You are provided with gates (And, Or, Not, Xor, Nand, Nor) to which sequences can connect to produce new sequences.
Use as many gates as you wish.
The 
score is based on time, and the lower the score the more stars you get.