@BlueBowser/

BattleShip

Python

No description

fork
loading
Files
  • main.py
  • battleai.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#project acting wierd



board = []
for i in range(1, 6):
  board.append([1,2,3,4,5])

player = input('Enter a coordinate (x,y):')

ptlist = player.split(',')
playerX = ptlist[0]
playerY = ptlist[1]