示例#1
0
 def enemy(self):
     return nextval(players, self)
示例#2
0
    def enemy(self)    : return nextval(players, self)

    def make_move(self, loc):
示例#3
0
 def flip(self):
     self.char = nextval(player_chars, self.char)
示例#4
0
文件: versi.py 项目: Voder/PBE
 def flip(self):
     self.char = nextval(player_chars, self.char)
示例#5
-1
文件: battleship.py 项目: Voder/PBE
    def enemy(self): return nextval(players, self)


class Battleship(object):