refactored game_logic mega moth