snake game

today i mabe snake game

#simple snake Game in python 3 for Beginners
#By @TokyoEdTech
#part 1: Getting started

import turtle

#set up the screen
wn = turtle.screen ()
wn.title ("snake Game by @TokyoEdtech")
wn.bgcolor("green")
wn.setup(width=600 , height=600)
wn.tracer(0) # Turns off the screen updates

#Snake head
haed = turtle.Turtle()
head.speed(0)
haed.shape("square")
haed.color("btack")
haed.penup()
haed.goto(0,0)
haed.direction = "stop"

# Main game loop
while Tru

wn.mainloop()

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *