#11: Added win and die function.