drawing the player board

This commit is contained in:
2025-07-26 14:49:49 +02:00
parent b56ccb610a
commit 07374b4aa1
3 changed files with 22 additions and 5 deletions

View File

@@ -45,13 +45,14 @@ def main():
print("Quitting Battleships")
return
pygame.Surface.fill(screen, (0,0,0))
pygame.Surface.fill(screen, (255,255,255))
player.draw(screen)
pygame.display.flip() #refresh screen
r = input("add input")
print(r)
dt = time.tick(60) / 1000 #converted to ms