1.程序代码
#include <stdio.h>
#define SIZE 15
#define HEI 0X48
#define BAI 0X42
#define BLK '0'
#define NUL 0
char *pos="┼";
char *black="●";
char *white="○";
int step=0;
int count=0;
int qizi[2]={
HEI,BAI};
int record[SIZE*SIZE]= {
-1};
char vboard[SIZE][SIZE+1];
int players[2];
void init();
void showConsole();
void debugVboard();
void inputStep();
void recordStep(int x,int y);
void printRecord();
void setValue(int x,int y,int v);
int player(int wc);
void alternatePlay();
int main()
{
init();
initVboard();
alternatePlay(