Skip to content

Instantly share code, notes, and snippets.

View ayushmankumar7's full-sized avatar
🗺️
Hustling

Ayushman Kumar ayushmankumar7

🗺️
Hustling
View GitHub Profile
import tkinter as tk
import time
import random
class Alien(object):
def __init__(self, canvas, *args, **kwargs):
self.canvas = canvas
self.id = canvas.create_oval(*args, **kwargs)
self.vx = 5
self.vy = 0