u_ttt/include/common.h
2021-10-24 23:22:43 +02:00

32 lines
492 B
C

#ifndef COMMON_H
#define COMMON_H
#include <assert.h>
#include <err.h>
#include <errno.h>
#include <libgen.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include <unistd.h>
typedef unsigned int uint;
/*Status code to represent respectively,
a negative answer,
a positive answer,
an almost positive answer
*/
typedef enum {
NO,
YES,
ALMOST,
} e_status;
typedef enum {
HUMAN,
RANDOM,
CLEVER,
} e_tactic;
#endif /*COMMON*/