From ad3259df663a3e0504b26a97d8c00a9454948850 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Thu, 26 Jun 2014 09:55:46 -0400 Subject: Made GTNW a turn-based game --- games.c | 205 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 181 insertions(+), 24 deletions(-) diff --git a/games.c b/games.c index aa7686a..18df2c9 100644 --- a/games.c +++ b/games.c @@ -5,6 +5,8 @@ #include #include #include +static bool surrender=false; +static int winner=0; /* on surrender */ static unsigned int min(unsigned int a, unsigned int b) { return a