0
Can we make a game with turtle 🐢 python
5 Respuestas
+ 4
Sadly, no you cannot on SoloLearn You still can embed turtle into HTML. Use my code as an example:
https://code.sololearn.com/WagHqG2Pgm9S/?ref=app
https://code.sololearn.com/WvQtxMqvgk1q/?ref=app
https://code.sololearn.com/W49MLySi1Wth/?ref=app
https://code.sololearn.com/WX1HAjN2kCbk/?ref=app
+ 1
you can use pygame!
turtle is more for graphics.
you could make an interactive drawing program with trutle though. map keys to the turtle and make em move
+ 1
Thanks 👍 for helping 😊
+ 1
Yes. turtle is a pre-installed Python library that enables users to create pictures and shapes by providing them with a virtual canvas. You can handle the canvas to generate graphical animation. turtle is mainly used to introduce children to the world of computers. It’s a straightforward yet versatile way to understand the concepts of Python. This makes it a great avenue for kids to take their first steps in Python programming. That being said, the Python turtle library is not restricted to little ones alone! It’s also proved extremely useful for adults who are trying their hands at Python, which makes it great for beginners. The turtle module provides turtle graphics primitives, in both object-oriented and procedure-oriented ways. Because it uses tkinter for the underlying graphics, it needs a version of Python installed with Tk support.
Resource Link:
1. https://repl.it/talk/learn/How-to-create-a-fairly-basic-game-using-Python-with-Turtle-Graphics/8182
2. https://learn.wecode24.com/games-with-turtle-graphics/
3. Check this: https://files.realpython.com/media/Turtle_Initial_Demo_GIF.923f9cc7d490.gif
4. Game resource: https://www.edureka.co/blog/python-turtle-module/
0
Well making games using python turtle is not easy but surely you can make it here is a tutorials where it teaches you to make games in python: https://pythondex.com/games