文件名称:Chess
- 所属分类:
- 棋牌游戏
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 491kb
- 下载次数:
- 0次
- 提 供 者:
- jimm*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
这是一个非常基本的国际象棋程序2的球员。我是来弥补计算机科学使用工具中央结算系统图形包中的类图形程序。虽然这是一个易于使用的软件包,它是在它的使用有限。<br> <br>此程序有一些inherant limiatations。首先,因为只有JPEG支持可用,我不得不作出许多图像的两倍(因为JPEG格式不支持透明像素)。该程序将无法检测检查或将死,因为我没有时间来实现这些功能。正如您将看到,没有撤消功能。这可能是有点容易实现。最大的错误是我在作品的方式存储在内存中。他们居住在一个8 × 8矩阵,但有一个错误的方向。这使得它非常混乱计算之间的2个职位件量对角线。<br> <br>请阅读更多关于此问题的信息Orientation.txt文件。<BR> <BR>在最后,我实施了一项功能,黑人的画面时,窗口没有焦点。这是一个比较复杂系统的一部分,减少闪烁的图形。如果不加以制止,图形闪烁在恼人的利率。- This is a very basic 2 player chess program. I was required to make a graphics program for a computer science class using the CMU Graphics package. While this is an easy to use package, it is limited in it s uses.<br><br> This program has some inherant limiatations. First, since only jpeg support is available, I had to make twice as many images (since jpeg format does not support transparent pixels). This program will not detect check or checkmate as I did not have time to implement these features. As you will see, there is no undo feature. This could be somewhat easily implemented. The largest error I made was with the way pieces are stored in memory. They reside within a 8 x 8 matrix but have a wrong orientation. This makes it extremely confusing to calculate the ammount of pieces between 2 positions diagonally.<br><br> Please read the Orientation.txt file for more information on this problem.<br><br> Lastly, I have implemented a feature that bla
相关搜索: 国际象棋
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Chess
.....\@PSC_ReadMe_6337_3.txt
.....\board.h
.....\chess.cpp
.....\CMUgraphicsLib
.....\..............\auxil.cpp
.....\..............\auxil.h
.....\..............\CMUgraphics.cpp
.....\..............\CMUgraphics.h
.....\..............\colors.cpp
.....\..............\colors.h
.....\..............\error.h
.....\..............\image.cpp
.....\..............\image.h
.....\..............\jpeg
.....\..............\jpegload.c
.....\..............\jpegload.h
.....\..............\....\jcomapi.c
.....\..............\....\jconfig.h
.....\..............\....\jcparam.c
.....\..............\....\jdapimin.c
.....\..............\....\jdapistd.c
.....\..............\....\jdatasrc.c
.....\..............\....\jdcoefct.c
.....\..............\....\jdcolor.c
.....\..............\....\jdct.h
.....\..............\....\jddctmgr.c
.....\..............\....\jdhuff.c
.....\..............\....\jdhuff.h
.....\..............\....\jdinput.c
.....\..............\....\jdmainct.c
.....\..............\....\jdmarker.c
.....\..............\....\jdmaster.c
.....\..............\....\jdmerge.c
.....\..............\....\jdphuff.c
.....\..............\....\jdpostct.c
.....\..............\....\jdsample.c
.....\..............\....\jdtrans.c
.....\..............\....\jerror.c
.....\..............\....\jerror.h
.....\..............\....\jidctflt.c
.....\..............\....\jidctfst.c
.....\..............\....\jidctint.c
.....\..............\....\jidctred.c
.....\..............\....\jinclude.h
.....\..............\....\jmemmgr.c
.....\..............\....\jmemnobs.c
.....\..............\....\jmemsys.h
.....\..............\....\jmorecfg.h
.....\..............\....\jpegint.h
.....\..............\....\jpeglib.h
.....\..............\....\jquant1.c
.....\..............\....\jquant2.c
.....\..............\....\jutils.c
.....\..............\....\jversion.h
.....\..............\keyqueue.cpp
.....\..............\keyqueue.h
.....\..............\mousequeue.cpp
.....\..............\mousequeue.h
.....\..............\version.h
.....\..............\windowinput.cpp
.....\..............\windowinput.h
.....\conversions.h
.....\Debug
.....\demo.cpp
.....\graphics_prj.dsp
.....\graphics_prj.dsw
.....\graphics_prj.ncb
.....\graphics_prj.opt
.....\graphics_prj.plg
.....\img_loader.h
.....\Manual.txt
.....\Orientation.txt
.....\Pieces
.....\......\dark
.....\......\....\bbishop.jpg
.....\......\....\bking.jpg
.....\......\....\bknight.jpg
.....\......\....\bpawn.jpg
.....\......\....\bqueen.jpg
.....\......\....\brook.jpg
.....\......\....\tile.jpg
.....\......\....\wbishop.jpg
.....\......\....\wking.jpg
.....\......\....\wknight.jpg
.....\......\....\wpawn.jpg
.....\......\....\wqueen.jpg
.....\......\....\wrook.jpg
.....\......\light
.....\......\.....\bbishop.jpg
.....\......\.....\bking.jpg
.....\......\.....\bknight.jpg
.....\......\.....\bpawn.jpg
.....\......\.....\bqueen.jpg
.....\......\.....\brook.jpg
.....\......\.....\tile.jpg
.....\......\.....\wbishop.jpg
.....\......\.....\wking.jpg
.....\......\.....\wknight.jpg
.....\......\.....\wpawn.jpg
.....\@PSC_ReadMe_6337_3.txt
.....\board.h
.....\chess.cpp
.....\CMUgraphicsLib
.....\..............\auxil.cpp
.....\..............\auxil.h
.....\..............\CMUgraphics.cpp
.....\..............\CMUgraphics.h
.....\..............\colors.cpp
.....\..............\colors.h
.....\..............\error.h
.....\..............\image.cpp
.....\..............\image.h
.....\..............\jpeg
.....\..............\jpegload.c
.....\..............\jpegload.h
.....\..............\....\jcomapi.c
.....\..............\....\jconfig.h
.....\..............\....\jcparam.c
.....\..............\....\jdapimin.c
.....\..............\....\jdapistd.c
.....\..............\....\jdatasrc.c
.....\..............\....\jdcoefct.c
.....\..............\....\jdcolor.c
.....\..............\....\jdct.h
.....\..............\....\jddctmgr.c
.....\..............\....\jdhuff.c
.....\..............\....\jdhuff.h
.....\..............\....\jdinput.c
.....\..............\....\jdmainct.c
.....\..............\....\jdmarker.c
.....\..............\....\jdmaster.c
.....\..............\....\jdmerge.c
.....\..............\....\jdphuff.c
.....\..............\....\jdpostct.c
.....\..............\....\jdsample.c
.....\..............\....\jdtrans.c
.....\..............\....\jerror.c
.....\..............\....\jerror.h
.....\..............\....\jidctflt.c
.....\..............\....\jidctfst.c
.....\..............\....\jidctint.c
.....\..............\....\jidctred.c
.....\..............\....\jinclude.h
.....\..............\....\jmemmgr.c
.....\..............\....\jmemnobs.c
.....\..............\....\jmemsys.h
.....\..............\....\jmorecfg.h
.....\..............\....\jpegint.h
.....\..............\....\jpeglib.h
.....\..............\....\jquant1.c
.....\..............\....\jquant2.c
.....\..............\....\jutils.c
.....\..............\....\jversion.h
.....\..............\keyqueue.cpp
.....\..............\keyqueue.h
.....\..............\mousequeue.cpp
.....\..............\mousequeue.h
.....\..............\version.h
.....\..............\windowinput.cpp
.....\..............\windowinput.h
.....\conversions.h
.....\Debug
.....\demo.cpp
.....\graphics_prj.dsp
.....\graphics_prj.dsw
.....\graphics_prj.ncb
.....\graphics_prj.opt
.....\graphics_prj.plg
.....\img_loader.h
.....\Manual.txt
.....\Orientation.txt
.....\Pieces
.....\......\dark
.....\......\....\bbishop.jpg
.....\......\....\bking.jpg
.....\......\....\bknight.jpg
.....\......\....\bpawn.jpg
.....\......\....\bqueen.jpg
.....\......\....\brook.jpg
.....\......\....\tile.jpg
.....\......\....\wbishop.jpg
.....\......\....\wking.jpg
.....\......\....\wknight.jpg
.....\......\....\wpawn.jpg
.....\......\....\wqueen.jpg
.....\......\....\wrook.jpg
.....\......\light
.....\......\.....\bbishop.jpg
.....\......\.....\bking.jpg
.....\......\.....\bknight.jpg
.....\......\.....\bpawn.jpg
.....\......\.....\bqueen.jpg
.....\......\.....\brook.jpg
.....\......\.....\tile.jpg
.....\......\.....\wbishop.jpg
.....\......\.....\wking.jpg
.....\......\.....\wknight.jpg
.....\......\.....\wpawn.jpg