Skip to content

Commit

Permalink
Update files/solutions/tictactoe.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Grube <[email protected]>
  • Loading branch information
fschledorn and Plebysnacc authored Sep 30, 2024
1 parent 451a57c commit c4bcfbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/solutions/tictactoe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void gebe_feld_aus(std::array<int, 9> feld){
}

int gewinnerin(std::array<int, 9> feld){
// Prüfe reihen und Spalten
// Prüfe Reihen und Spalten
for (int i = 0; i < 3; i++) {
int a = feld[3*i] & feld[3*i+1] & feld[3*i+2];
int b = feld[3*i] | feld[3*i+1] | feld[3*i+2];
Expand Down

0 comments on commit c4bcfbb

Please sign in to comment.