summaryrefslogtreecommitdiffstats
path: root/main.h
blob: e5130d333eed21f8ea8ba9cba3fd07440df7c3bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _MAIN_H_
#define _MAIN_H_

#include "klotski.h"

#define ANSI_COLOR_RED     "\x1b[31m"
#define ANSI_COLOR_GREEN   "\x1b[32m"
#define ANSI_COLOR_YELLOW  "\x1b[33m"
#define ANSI_COLOR_BLUE    "\x1b[34m"
#define ANSI_COLOR_MAGENTA "\x1b[35m"
#define ANSI_COLOR_CYAN    "\x1b[36m"
#define ANSI_COLOR_RESET   "\x1b[0m"
#define PRINT_COLOR(C, S)  printf("%s%s%s", C, S, ANSI_COLOR_RESET)

#endif