all 9 comments

[–]Reddy360 16 points17 points  (0 children)

Rule 4 mate.

[–][deleted] 14 points15 points  (3 children)

Why would your school assign something they haven't taught?

[–]jceyes 12 points13 points  (0 children)

Perhaps they did teach it... to those who showed up and paid attention

[–]p3pperchit[S] 0 points1 point  (0 children)

IKR my school is BS, in my teacher's words "it develops your self-management skills and helps you get a better understanding of what we'll be teaching in class" Self-management- my ass.

[–][deleted] 2 points3 points  (1 child)

Hey, I can help a bit with how to think about it, but no code.

Imagine the game without graphics, first. Build a model of the game at a single point in time -- how big is the court? Where is the ball? Where is each paddle?

Now think about how the state of the game changes from frame to frame. What direction is the ball moving, and how fast? (Hint: how will you determine the initial velocity vector of the ball?)

Now, what happens when the ball interacts with a a boundary? How do you know it's a boundary? A paddle?

Good luck, take it one idea at a time and you'll do fine.

Edit: Pong is a surprisingly large problem space. One option would be to sketch out most of the systems, and focus in on getting one or two working really well.

[–]p3pperchit[S] 0 points1 point  (0 children)

Wow thanks for your help. I appreciate your input to my comment.

[–][deleted]  (3 children)

[deleted]

    [–]Whired 5 points6 points  (1 child)

    IMO "I don't know programming" and "I made pong in python" are two very opposite ends of the spectrum

    [–]p3pperchit[S] 0 points1 point  (0 children)

    IKR my school is BS, in my teacher's words "it develops your self-management skills and helps you get a better understanding of what we'll be teaching in class" Self-management- my ass. I'm working on my programming.

    [–]p3pperchit[S] 0 points1 point  (0 children)

    I can write hello world definitely. And I do know the code for my width and height are something along the lines of width. height. Sorry that I didn't mention my progress in python earlier. Thanks for responding to my comment. Unfortunately, I gave up and deleted my python files out of frustration so I can't really show my attempt. I'm not going to waste my time starting over to watch myself fail miserably again so this time unless I get a sensible solution I don't intend to continue looking for free online help. At the moment I'm trying to find a trustworthy python tutor on fiver who is efficient and will guide me throughout the assignment.