Browse Source

refactoring:_verbesserung_punktezählen

remotes/origin/branchJulia
fdai8040 11 months ago
parent
commit
b5518b41cd
  1. 2
      src/main/c/Pong/game.c

2
src/main/c/Pong/game.c

@ -124,7 +124,7 @@ int main(){
int maxScore = 5;
int isPaused = 0;
while (1) {
while (score1 < maxScore && score2 < maxScore) {
//Steuerung für Schläger 1
if (!isPaused && kbhit()){
char input = getch();

Loading…
Cancel
Save