added new rules to main.js to respond to input in the ingame scene and spawn new boxes