91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

一個很好的五子棋c語言源程序代碼,最重要的是能運行正確!!! #include <stdio.h> #include <bios.h> #include <ctype.h> #include <conio.h> #include <dos.h> #define CROSSRU 0xbf /*右上角點*/ #define CROSSLU 0xda /*左上角點*/ #define CROSSLD 0xc0 /*左下角點*/ #define CROSSRD 0xd9 /*右下角點*/ #define CROSSL 0xc3 /*左邊*/ #define CROSSR 0xb4

資源截圖

代碼片段和文件信息

#include??
#include??
#include??
#include??
#include??
#define?CROSSRU?0xbf?/*右上角點*/?
#define?CROSSLU?0xda?/*左上角點*/?
#define?CROSSLD?0xc0?/*左下角點*/?
#define?CROSSRD?0xd9?/*右下角點*/?
#define?CROSSL?0xc3?/*左邊*/?
#define?CROSSR?0xb4?/*右邊*/?
#define?CROSSU?0xc2?/*上邊*/?
#define?CROSSD?0xc1?/*下邊*/?
#define?CROSS?0xc5?/*十字交叉點*/?

/*定義棋盤左上角點在屏幕上的位置*/?
#define?MAPXOFT?5?
#define?MAPYOFT?2?

/*定義1號玩家的操作鍵鍵碼*/?
#define?PLAY1UP?0x1157/*上移--‘W‘*/?
#define?PLAY1DOWN?0x1f53/*下移--‘S‘*/?
#define?PLAY1LEFT?0x1e41/*左移--‘A‘*/?
#define?PLAY1RIGHT?0x2044/*右移--‘D‘*/?
#define?PLAY1DO?0x3920/*落子--空格鍵*/?

/*定義2號玩家的操作鍵鍵碼*/?
#define?PLAY2UP?0x4800/*上移--方向鍵up*/?
#define?PLAY2DOWN?0x5000/*下移--方向鍵down*/?
#define?PLAY2LEFT?0x4b00/*左移--方向鍵left*/?
#define?

評論

共有 條評論