added lose condition and splash screen