:: Signal (Bool, Bool, Bool, Bool) -- event signals -> LevelNumber -- pattern match on level number -> Score -> Health -> SignalGen (Signal GameState, Signal Bool) -- in playGame main function (gameState, levelTrigger) <- switcher $ playLevel directionKey <$> levelCount' <*> score' <*> lives'