Added win and lose methods plus testcases to them