基于JAVA开发的中G象棋包含源码
官方Java开发工程师QQ群(27163376),验证请输入您的ID最近看到了一些五子棋,扫雷的代码解说的文章,我也就写了个手机的象棋游戏,写的不是太全面,但仍是能实现基本功能,共享出来供大家交换交换。先介绍一下我的大体思路吧,我选用canvas让手机自己画出棋盘和棋子,而不是选用调用图像,尽管费事,但能培训自己的编程才能还能让算法简单,一起还能节空间。详细的细节在代码中在说吧。首要要有一个主程序Game,这儿比较简单,大家一看就能理解,我就不多说了.象棋\Java中/国象棋需要\images\main.gif
象棋\Java中/国象棋需要\images\红卒.gif
象棋\Java中/国象棋需要\images\红士.gif
象棋\Java中/国象棋需要\images\红将.gif
象棋\Java中/国象棋需要\images\红炮.gif
象棋\Java中/国象棋需要\images\红象.gif
象棋\Java中/国象棋需要\images\红车.GIF
象棋\Java中/国象棋需要\images\红马.gif
象棋\Java中/国象棋需要\images\黑卒.gif
象棋\Java中/国象棋需要\images\黑士.gif
象棋\Java中/国象棋需要\images\黑将.gif
象棋\Java中/国象棋需要\images\黑炮.gif
象棋\Java中/国象棋需要\images\黑象.gif
象棋\Java中/国象棋需要\images\黑车.gif
象棋\Java中/国象棋需要\images\黑马.gif
象棋\Java中/国象棋需要\单机版制品给与参考\打包发布\image\main.gif
象棋\Java中/国象棋需要\单机版制品给与参考\打包发布\image\红卒.gif
象棋\Java中/国象棋需要\单机版制品给与参考\打包发布\image\红士.gif
象棋\Java中/国象棋需要\单机版制品给与参考\打包发布\image\红将.gif
象棋\Java中/国象棋需要\单机版制品给与参考\打包发布\image\红炮.gif
象棋\Java中/国象棋需要\单机版制品给与参考\打包发布\image\红象.gif
象棋\Java中/国象棋需要\单机版制品给与参考\打包发布\image\红车.GIF
象棋\Java中/国象棋需要\单机版制品给与参考\打包发布\image\红马.gif
象棋\Java中/国象棋需要\单机版制品给与参考\打包发布\image\黑卒.gif
象棋\Java中/国象棋需要\单机版制品给与参考\打包发布\image\黑士.gif
象棋\Java中/国象棋需要\单机版制品给与参考\打包发布\image\黑将.gif
象棋\Java中/国象棋需要\单机版制品给与参考\打包发布\image\黑炮.gif
象棋\Java中/国象棋需要\单机版制品给与参考\打包发布\image\黑象.gif
象棋\Java中/国象棋需要\单机版制品给与参考\打包发布\image\黑车.gif
象棋\Java中/国象棋需要\单机版制品给与参考\打包发布\image\黑马.gif
.....太多文件了略.....
(The official Java development engineer QQ group (27163376), please enter your ID for verification. Recently, I have seen some articles explaining the code of Gobang and minesweeping. I also wrote a chess game for mobile phones. The writing is not very comprehensive, but it is still able to Implement basic functions and share them for everyone to exchange. Let me introduce my general idea first. I use canvas to let the mobile phone draw the chessboard and chess pieces by itself, instead of calling images. Although it is time-consuming, being able to train my programming skills can make the algorithm simple and save space at the same time. The details are in the code. First of all, there is a main program Game, which is relatively simple here, and everyone can understand it at a glance, so I won't say more.
chess\java/chess requires\images\main.gif
chess\java/Chinese chess requires\images\red pawn.gif
Chess\Java/Chinese Chess requires\images\Reds.gif
Chess\Java/Chinese Chess requires\images\Red General.gif
Chess\Java/Chinese Chess requires\images\Red Cannon.gif
Chess\Java/Chinese Chess requires \images\Red Elephant.gif
chess\java/chess requires\images\red rooks.gif
chess\java/Chinese chess requires \images\red horse.gif
chess\java/chess requires\images\black pawn.gif
chess\java/Chinese chess requires \images\Has.gif
chess\java/Chinese chess requires \images\black general.gif
chess\java/Chinese chess requires \images\Black Cannon.gif
chess\java/Chinese chess requires \images\black elephant.gif
chess\java/Chinese chess requires\images\black rook.gif
chess\java/Chinese chess requires \images\dark horse.gif
Chess\Java/Chinese Chess Needs\Single-machine version products for reference\Packaging and publishing\image\main.gif
Chess\Java/Chinese Chess Needs\Single-machine version products for reference\Packaging release\image\Red pawn.gif
Chess\Java/Chinese Chess Needs\Single-machine version products for reference\Packaging release\image\Hongshi.gif
Chess\Java/Chinese Chess Needs\Single-machine version products for reference\Packaging release\image\Red General.gif
Chess\Java/Chinese Chess Needs\Single-machine version products for reference\Packaging release\image\Red Cannon.gif
Chess\Java/Chinese Chess Needs\Single-machine version products for reference\Packaging release\image\Red Elephant.gif
Chess\Java/Chinese Chess Needs\Single-machine version products for reference\Packaging release\image\Red Rook.GIF
Chess\Java/Chinese Chess Needs\Single-machine version products for reference\Packaging release\image\Red Horse.gif
Chess\Java/Chinese Chess Needs\Single-machine version products for reference\Packaging release\image\Black pawn.gif
Chess\Java/Chinese Chess Needs\Single-machine version products for reference\Packaging release\image\Haishi.gif
Chess\Java/Chinese Chess Needs\Single-machine version products for reference\Packaging release\image\Black General.gif
Chess\Java/Chinese Chess Needs\Single-machine version products for reference\Packaging release\image\Black Cannon.gif
Chess\Java/Chinese Chess Needs\Single-machine version products for reference\Packaging release\image\Black Elephant.gif
Chess\Java/Chinese Chess Needs\Single-machine version products for reference\Packaging release\image\Black rook.gif
Chinese chess\Java/Chinese chess needs\stand-alone version products for reference\package release\image\dark horse.gif
.....too many files .....)
页:
[1]