Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
58 views

I'm trying to draw a grid in the turtle, but doing so requires knowing the positions of the corners of the screen. turtle.goto(0, 0) does not move the turtle to the middle of the screen; instead, it ...
-1 votes
4 answers
87 views

I'm trying to move pieces of a high school comp sci project to trinket and I keep getting the following error: TypeError: <native JS>() got an unexpected keyword argument 'shape' on line __ in ...
0 votes
1 answer
109 views

When trying to write different functions with the turtle module in Thonny, my screen froze. I've been trying to find out why, but haven't had any luck with it. It's a simple code, so I'm unsure what ...
-5 votes
1 answer
107 views

I’m building a turtle race. I want the blue turtle to move to x=280 by repeating this pattern: draw a downward semicircle ("bowl") then a short straight stride to the right repeat until it reaches ...
0 votes
1 answer
163 views

I want to know if Python Turtle has a fill option other than begin_fill() and end_fill(), because my project is to draw Spongebob. Spongebob's body has fractions of ovals on its borders, so I ...
4 votes
1 answer
63 views

Here is a HUGELY simplified version of my code: from turtle import Turtle, Screen import time speed_x = 20 speed_y = 29 def move_right(): print('exectuted') def game_loop(): ball.goto(ball....
1 vote
1 answer
20 views

Here is my code: from turtle import Turtle, Screen import time import random def check_wall_collision(): if ball.xcor() > (window.window_width() / 2) - 20 or ball.xcor() < -(window....
0 votes
1 answer
78 views

I am coding minesweeper in python turtle. I have made it generate 10x10 button layout using this script: position_x = -400 position_y = -200 number_colum = 0 rows_buttons = [] for i in range(10): ...
-1 votes
2 answers
70 views

I'm working on a silly page for my friends, however when the code askes for user input I am incapable of entering any data. How can I possibly fix this? # import the turtle module import turtle as ...
0 votes
1 answer
104 views

I'm trying to create the Breakout game with python's turtle module, but for something I haven't yet identified I can't center the image correctly! from turtle import Turtle class Game(): def ...
0 votes
1 answer
60 views

I have a list with several turtle instances. I want to create a copy of one object and let this one move forward. This works fine. But when I disable screen udpates and do it manually in my code it ...
-1 votes
1 answer
65 views

Im a coding beginner who just got into python turtle. I have recently been working on a project where you control 2 characters. They are trying to shoot each other over a river. But i ran into an ...
0 votes
1 answer
49 views

I'm making a game similar to Subway Surfers where there are 3 lanes and obstacles come at the player. The obstacles move faster and score goes up every 16th time the game loop is repeated. That all ...
2 votes
2 answers
128 views

I was creating a tkinter/turtle program similar to MS paint and I have the barebones Turtle finished but I am unsure of how to add the turtle into tkinter as a sort of window (Having the tkinter as ...
0 votes
0 answers
27 views

I basically tried installing turtle in python and it gave me an error reading ERROR: Could not find a version that satisfies the requirement turtle (from versions: none) ERROR: No matching ...
Unika's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
...
110

AltStyle によって変換されたページ (->オリジナル) /