It's simple nut nice implementation of a enemy waves mechanics, the only trouble as mentioned was a mouse controller.