デバッグしやすいように思考エンジンだけでも動かせるようにしましょう

「start」ってコマンドを打つとGUIと通信せずに思考エンジン内で自己対戦できるようにしました

			} else if (strncmp(buf, "start", len) == 0) {

				cpu0.initGame();
				cpu0.initGame2();
				Te a;
				thinkSorE=SELF;
				cpu0.teban=1;
	
				for(;;)
				{
					cpu0.basetime=cpu0.basetime_org;
					cpu0.think(thinkSorE,2);
	
					//投了
					if(cpu0.BestTe[0][0].value==-MUGEN) break;
	
					cpu0.move( cpu0.BestTe[0][0] ,thinkSorE );
	
					cpu0.print3(thinkSorE);
	
					if(thinkSorE==SELF) thinkSorE=ENEMY; else thinkSorE=SELF;
	
					memset(HashMateTbl,0,sizeof(HashMateTbl));
					if( (cpu0.teban%10)==0 )//10手毎にハッシュテーブルをクリアする
					{
						memset(HashTbl,0,sizeof(HashTbl));
					}
				}
				break;
			}