This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from turtle import * | |
from random import randint | |
def gestalte_spielfiguren(): | |
register_shape("hero.gif") | |
register_shape("block.gif") | |
block.shape("block.gif") | |
hero.shape("hero.gif") | |
block.up() | |
hero.up() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from turtle import * | |
from random import * | |
shape("turtle") | |
def spielfeld(): | |
pass | |
#Spielfeld gestalte | |
#Figur gestalten | |
def teste_ziel(): | |
print(round(xcor()),round(ycor())) | |
if round(xcor())==x and round(ycor())==y: |