Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
Date.h
Package: tiaoqi.zip [view]
Upload User: hlqcw8
Upload Date: 2007-01-08
Package Size: 438k
Code Size: 1k
Category:
Chess Poker games
Development Platform:
Visual C++
- #include "Afxtempl.h"
- /*TzqDate 类为跳子棋各个棋子的属性 */
- struct TzqDate{
- int nArea; //当前棋子属于区域
- int nPRI[6]; //[0-5]当前棋子的各个方向的优先级,上为b[0]
- int nColor; //当前棋子的颜色
- TzqDate *pTzq[6]; //[0-5]当前棋子的各个方向为第几棋子,逆时针,右上主第一方向(d[0]);
- int n_x; //棋子位置横坐标
- int n_y; //棋子位置纵坐标
- int nQz; //第几个棋子
- };
- /* 选手10个棋子单独一个棋子的可走位置*/
- struct CPlace{
- TzqDate * pTzq; //棋子实例
- CArray<int,int> nPlaceArray; //当前棋子可走位置
- int nTestUD; //棋子状态 Up or Down
- };