Readme update 2

This commit is contained in:
2025-07-28 09:53:33 +02:00
parent 61d3a52f94
commit 83373d1d73
4 changed files with 20 additions and 15 deletions

View File

@@ -21,7 +21,7 @@ class Player():
self.board[ord(position[0])-97][int(position[1])] = 0b11
def shoot(self, position, enemy):
print("p", position)
#print("p", position)
if enemy.board[ord(position[0])-97][int(position[1])] == 0b00:
print("No ship at this position")
@@ -107,6 +107,6 @@ class Player():
check = self.__check_valid_input(position)
print("rand pos: ", position)
print("enemy shoots at: ", position)
self.shoot(position, enemy)