ref: e6d03613b77c1f0df8365f399ddf849d45b36827
parent: fb1f788be91b201e2587534f593417fc92b4212f
author: mkf <mkf@cloud9p.org>
date: Sun Apr 21 11:13:01 EDT 2024
srv.h: import maybe we should move these stuff into engine.h
--- /dev/null
+++ b/srv.h
@@ -1,0 +1,16 @@
+typedef struct
+{
+ int fd;
+ char[16] cookie;
+
+}Client;
+
+typedef struct
+{
+ int id;
+ List msgs;
+ int state;
+ int turn;
+ Client player[2];
+ int grid[SzX][SzY];
+}Game;