アットウィキロゴ

しmmkk

import sho
 
class trial:
 
  def makedata(self):
 
    tr=0    
    if self.mode=="先手勝利":
       tr=100 
    if self.mode=="後手勝利":
       tr=100 
 
    while tr<51:
 
        tr=tr+1
 
        sub=sho.sho()
        sub.pos=self.pos
        sub.hand=self.hand
        sub.mode=self.mode
        sub.ban=self.ban
        sub.koma=self.koma
        sub.makedata()
        self.mode=sub.mode
        self.pos=sub.pos
        self.hand=sub.hand
 
 
        if self.mode=="先手勝利":
           tr=100
        if self.mode=="後手勝利":
           tr=100
最終更新:2018年01月24日 12:54