We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70a5d3f commit 76757cfCopy full SHA for 76757cf
tictactoe.c
@@ -8,6 +8,7 @@
8
9
#include "tictactoe.h"
10
#include "high_score.h"
11
+#include "helper.h"
12
13
//TODO make sure each game has their own board, client_fd etc
14
//this is just a visualization of what it'd look like for each player
@@ -56,7 +57,6 @@ bool handle_read_board(int client_fd, char* client_str) {
56
57
58
59
-
60
bool handle_get_winner(int client_fd) {
61
//implement a more effecient check if needed
62
@@ -80,7 +80,7 @@ bool handle_get_winner(int client_fd) {
80
81
//send winner to db stub code
82
add_winner(client_fd, winner);
83
+
84
return 0;//what to return for status?
85
86
}
0 commit comments