Commit c86f5474 authored by 12903783's avatar 12903783
Browse files

First Commit.

parents
import turtle
wn = turtle.Screen()
wn.setup(width=800, height=600)
wn.bgcolor ("black")
#Paddle 1
paddle1 = turtle.Turtle()
paddle1.hideturtle()
paddle1.shape("square")
paddle1.color("white")
paddle1.shapesize(10,1,5)
paddle1.penup()
paddle1.setx(-300)
paddle1.showturtle()
#Paddle 2
paddle2 = turtle.Turtle()
paddle2.hideturtle()
paddle2.shape("square")
paddle2.color("white")
paddle2.shapesize(10,1,5)
paddle2.penup()
paddle2.setx(300)
paddle2.showturtle()
#Ball
ball = turtle.Turtle()
ball.shape("square")
ball.color("white")
ball.penup()
#Scoreboard
scoreboard = turtle.Turtle()
scoreboard.shape("square")
scoreboard.color("white")
scoreboard.hideturtle()
scoreboard.penup()
scoreboard.setx(-110)
scoreboard.sety(200)
scoreboard.pendown()
scoreboard.write("0 0", font=("Arial Black", "60"))
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment