Skip to content

Instantly share code, notes, and snippets.

from tkinter import *
from random import randint
from time import sleep, time
from math import sqrt
HEIGHT = 500
WIDTH = 800
SHIP_R = 15
MID_X = WIDTH / 2