Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pong game
#8
Your traceback doesn't seem to align with the code you've posted - it's referring to line 161 and there are only 151 lines in your post. Please make sure you post the full and correct code.

It also seems like you're misunderstanding classes. Why do you have two classes PaddleA and PaddleB? There's one concept there - a paddle. So, you should have one class and two instances.
Reply


Messages In This Thread
Pong game - by buss0140 - Dec-22-2020, 02:19 AM
RE: Pong game - by bowlofred - Dec-22-2020, 03:57 AM
RE: Pong game - by buss0140 - Dec-22-2020, 07:28 AM
RE: Pong game - by buss0140 - Dec-22-2020, 07:44 AM
RE: Pong game - by buss0140 - Dec-26-2020, 05:51 PM
RE: Pong game - by MK_CodingSpace - Dec-26-2020, 10:24 PM
RE: Pong game - by buss0140 - Dec-27-2020, 02:00 AM
RE: Pong game - by ndc85430 - Dec-27-2020, 07:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send a pong on websocket-client tomtom 0 3,829 Aug-15-2022, 05:58 AM
Last Post: tomtom
  Problem with my pong game code Than999 8 3,909 May-15-2022, 06:40 AM
Last Post: deanhystad
  scoring issues in pong wildbill 1 2,250 Aug-05-2019, 01:48 AM
Last Post: metulburr
  PING PONG GAME akea 0 5,737 May-08-2019, 04:30 PM
Last Post: akea
  Python project "pong" without any makefile sylas 5 5,059 Nov-28-2017, 05:55 PM
Last Post: Larz60+
  ping and pong run both well sylas 1 3,222 Sep-24-2017, 05:14 PM
Last Post: sylas

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020