Skip to content

Instantly share code, notes, and snippets.

View werterhalimi's full-sized avatar
🎯
Focusing

Shaï Halimi werterhalimi

🎯
Focusing
View GitHub Profile
@werterhalimi
werterhalimi / snake.py
Created December 16, 2019 14:33
The second version of my GUI snake in python using tkinter
import time
import tkinter
import random
window = tkinter.Tk()
canvas = tkinter.Canvas(window, bg="black", height=320, width=320)
window.wm_title("Press any key to start")
canvas.pack()
canvas.update()