fluff
このコミットが含まれているのは:
コミット
39f29df835
5
uttt.c
5
uttt.c
|
@ -481,7 +481,6 @@ int ut_sockgetpos(const struct ut_state *state, int sock, int *y, int *x, bool r
|
||||||
}
|
}
|
||||||
|
|
||||||
int ut_local_game(struct ut_state *state) {
|
int ut_local_game(struct ut_state *state) {
|
||||||
int x, y;
|
|
||||||
for(;;)
|
for(;;)
|
||||||
{
|
{
|
||||||
int r = 4, c = 4;
|
int r = 4, c = 4;
|
||||||
|
@ -496,7 +495,7 @@ int ut_local_game(struct ut_state *state) {
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ut_cursprintf("%c Wins!\n", (int)w);
|
ut_cursprintf("%c wins!\n", (int)w);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -523,7 +522,7 @@ int ut_network_game(struct ut_state *state, int sock, char player, bool readable
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ut_cursprintf("%c Wins!\n", (int)w);
|
ut_cursprintf("%c wins!\n", (int)w);
|
||||||
if (readable) {ut_dprintf(sock, "\n%c wins!\n", (int)w);}
|
if (readable) {ut_dprintf(sock, "\n%c wins!\n", (int)w);}
|
||||||
close(sock);
|
close(sock);
|
||||||
}
|
}
|
||||||
|
|
読み込み中…
新しいイシューから参照