Commit 946e1905 by BellCodeEditor

save project

parent ede4bdad
Showing with 36 additions and 5 deletions
for i in range(30)
left(6)
\ No newline at end of file
import turtle
pen=turtle.Pen()
def ORing(a,b,color):
pen.pencolor(color)
pen.pensize(5)
pen.penup()
pen.goto(a,b)
pen.pendown()
pen.circle(40)
ORing(-100,50,"blue")
ORing(-15,50,"black")
ORing(70,50,"red")
ORing(-60,-10,"yellow")
ORing(25,-10,"green")
pen.hideturtle()
turtle.done()
\ No newline at end of file
from random import randint
a = randint(666,888)
print(a)
\ No newline at end of file
import pygame
pygame.init()
scrren = pygame.display.set_mode((660,480))
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
\ No newline at end of file
......@@ -4,6 +4,7 @@ class Hero(object):
self.name = name
self.level = 1
self.hp = 250
self.attack = 40
self.max_hp = self.hp
......@@ -57,8 +58,4 @@ while True:
if status==1:
yase.cure()
else:
yase.combat(houyi)
yase.combat(houyi)
\ 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 sign in to comment