- Windows
Python Turtle Help Request.
- Edited
- iPhone
Captain_Jack_Sparrow you could look online for a Python Graphics library.
I know that there’s one for Java, and you can import it into a Java program like this:
import java.awt.Graphics;
Maybe try looking on the Python website:
https://www.python.org
DragonFireGamesLvl 11
Captain_Jack_Sparrow AI is very complicated, and why can't you load images?
- Windows
DragonFireGames I think that I can't load images because my computer's malware detector sees the Python trying to get into an image and blocks it. AI may be hard, but I already coded the one I want so that makes it easier. All I would have to do is modify the choices and the training code.
DragonFireGamesLvl 11
Captain_Jack_Sparrow Allow python access to your filesystem
DragonFireGamesLvl 11
Also, I'd make it in Javascript if I were you so that you can host it on the web. Try https://editor.p5js.org
- Windows
DragonFireGames Ok! is making AI in JavaScript any harder than in python?
- Windows
I was also planning to host it using PyScript.
DragonFireGamesLvl 11
Captain_Jack_Sparrow Not sure, never tried. I would just code a logic-based bot instead of an AI.
- Windows
DragonFireGames Eeeeeh, logic based bot, AI, potato tomato. practically the same thing.
DragonFireGamesLvl 11
Captain_Jack_Sparrow AI implies machine learning of some sort
DragonFireGamesLvl 11
A logic based bot is hand-coded
- Windows
DragonFireGames It was a joke, my good sir. I know the difference between AI and 'em logic bots.