Jul-05-2019, 07:41 PM
(Jul-05-2019, 07:33 PM)Yoriz Wrote: Your class is is not a proper class it just has functions that asideThank you so much! Now I feel stupid for asking such a simple question. Anyways if a change that do you know why you need to press to times 'ok' when the ships left get to 1?okp = tk.Button(root,text='OK', font=(15), fg='white', bg='black', command=ShipPlacementPlayer.placement())command should be passed a callable that it can call when a button is pressed, you need to remove the()
fromShipPlacementPlayer.placement
so the button press can do the call itself.