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

    def make_move(self, loc):
Beispiel #3
0
 def flip(self):
     self.char = nextval(player_chars, self.char)
Beispiel #4
0
 def flip(self):
     self.char = nextval(player_chars, self.char)
Beispiel #5
-1
    def enemy(self): return nextval(players, self)


class Battleship(object):