Browse Source

Int game if Fortsetzung6 C wins

remotes/origin/Celine
Celine Khazarian 11 months ago
parent
commit
d0d2c7624a
  1. 2
      src/main/c/SchereSteinPapier.c

2
src/main/c/SchereSteinPapier.c

@ -16,4 +16,6 @@ int game(char you, char computer)
else if (you == '3' && computer == '2') return 1; else if (you == '3' && computer == '2') return 1;
if (you == '2' && computer == '1') if (you == '2' && computer == '1')
return 1; return 1;
else if (you == '1' && computer == '2')
return 0;
} }
Loading…
Cancel
Save