Fun!
I think your logic for NAND gates is incorrect. NAND gates should only return false when both inputs are true, and should return true if at least one input it false.
Fun game, somewhat difficult. Only wish it would keep track of the number of bounces you get.