#๐Ÿ”’ Help to program a calculator and a pacman in python

20 messages ยท Page 1 of 1 (latest)

uneven salmon
#

Hello guys, sorry to disturb you all; I just started to learn python and one of the coursework that I will need to submit will be based on creating a calculator or a pacman. Can someone guide me on how I can do these, like if there if some sort of roadmap please; I want to really to a good project... I was asked to used what is known as tkinter but I don't even know what it is or how to implement it; can someone recommend where I should start please. Thanks in advance.

vague locustBOT
#

@uneven salmon

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

final abyss
uneven salmon
final abyss
#

That's a huge undertaking if you're new to python, and even more so if you're new to gui

#

I don't even know where to point you that won't require a weeks worth of understanding

#

how long do you have to make this?

#

I'm personally very experienced in gui and even I think pacman would be difficult for me

north turtle
#

Yes, this would be a ton of work. Just representing the maze itself would be a challenge on its own.

#

That's far from a beginner project. I'd go with the easier one and work up from there. "Shooting for the stars" eventually becomes viable once you have a good foundation, but tends to just lead to frustration and giving up when you don't even know what tools you have available to you.

final abyss
#

the pacman movement, wall collisions, pellet pickup, simple AI ghosts

uneven salmon
uneven salmon
final abyss
#

.rp tkinter

fallen berryBOT
#

Here are the top 5 results:

Python GUI Programming With Tkinter
Build a Tic-Tac-Toe Game With Python and Tkinter
Bypassing the GIL for Parallel Processing in Python
Python sleep(): How to Add Time Delays to Your Code
Arduino With Python: How to Get Started
final abyss
#

these first two links should be good

#

start with the first link as an intro to tkinter

uneven salmon
vague locustBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.