This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. 修改 php-fpm.conf 文件,添加(或修改)如下配置: | |
| [global] | |
| error_log = log/error_log | |
| [www] | |
| catch_workers_output = yes | |
| 2. 修改 php.ini 文件,添加(或修改)如下配置: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void Card::flipAction() { | |
| CCSize winSize = CCDirector::sharedDirector()->getWinSize(); | |
| CCSprite* card = CCSprite::spriteWithFile("card_face.png"); | |
| card->setPosition(ccp(winSize.width/2, winSize.height/2)); | |
| this->addChild(card, CARD_FACE_TAG, CARD_FACE_TAG); | |
| card->setVisible(false); | |
| CCSprite* card2 = CCSprite::spriteWithFile("card.png"); | |
| card2->setPosition(card->getPosition()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 斗地主人工智能 [2007-3-7] | |
| http://www.ylog.net/blog_show.asp?log_id=2148 | |
| 近一周在制作斗地主纸牌游戏的人工智能 | |
| 算法主要是用宽度优先生成一棵搜索树 | |
| 再根据玩牌的技巧进行剪枝与判权.... | |
| 节点权值判断主要由有限状态机构成 |
NewerOlder