1
0
mirror of https://github.com/abakh/nbsdgames.git synced 2024-11-02 16:27:18 -04:00

use common.h

This commit is contained in:
me 2022-11-24 02:54:21 +03:30
parent 55758fc915
commit d9691c8af0
4 changed files with 5 additions and 4 deletions

View File

@ -10,7 +10,8 @@ To the extent possible under law, the author(s) have dedicated all copyright and
You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
#include "config.h"
#include "common.h"
typedef unsigned char ubyte;
#define size 8

View File

@ -10,7 +10,7 @@ You should have received a copy of the CC0 Public Domain Dedication along with t
compile with -lncurses
*/
#include "config.h"
#include "common.h"
#define FLAG 9
#define UNCLEAR 10
#define MINLEN 8

View File

@ -12,7 +12,7 @@ You should have received a copy of the CC0 Public Domain Dedication along with t
compile with -lncurses
*/
#include "config.h"
#include "common.h"
#define UP 1
#define RIGHT 2
#define DOWN 4

View File

@ -11,7 +11,7 @@ You should have received a copy of the CC0 Public Domain Dedication along with t
*/
#include "config.h"
#include "common.h"
byte py,px;//cursor
const char piece[2] = {'O','X'};
char game[8][8];//main board