Skip to content
← Back to Community
PONG
Profile icon
Panda003

Recreation of Pong game. AI and 1vs1 modes (More modes coming soon)
AI Mode: Use Mouse or Keyboard.
1vs1: Both players use the keyboard.
-Player 1: UP and DOWN arrows to move the paddle.
-Player 1: W and S keys to move the paddle.
If you want to pause the game just press P.
Difficult increases as you play.

Enjoy!

Voters
Profile icon
LandonHamilton1
Profile icon
EriksonSanchez
Profile icon
AshtonJohnson10
Profile icon
IsaacSotelo
Profile icon
AlistairNjau
Profile icon
AdiPatel4
Profile icon
ChristopherTard
Profile icon
HomemadeGaming
Profile icon
JonathanDougla4
Profile icon
19porsda
Comments
hotnewtop
Profile icon
coderash

Could you create a 4
player version?

Profile icon
Panda003

@coderash You press start and select multiplayer. There you can play with your friend in the same computer

Profile icon
Panda003

@coderash If you are talking about 2vs2, just wait, I'm working on it.

Profile icon
19porsda
Profile icon
heatcoder

hi

Profile icon
AlexYin2

how do you make the ball reflect off the paddle can u give me the code thx

Profile icon
Panda003

@AlexYin2 all the code is here in the post

Profile icon
idrawhorsechamp

Is it possible to lose?

Profile icon
Labscience

@idrawhorsechamp If you are great at the game

Profile icon
SANDIAL

the boards are too wobbly and the ball bounces before it hits the board(get your geometry and updating right). Also, game speed is too slow.

Profile icon
Luisfetoga

@SANDIAL well, it's PyGame, so don't expect it's speed to be fast, since it's not a coding error ;)

Profile icon
SANDIAL
Profile icon
SebastianCooke

YOU CANNOT WINNNNNN

Profile icon
Panda003

@SebastianCooke Its AI. Its really hard to win. Im converting this to Java to make it smoother.

Profile icon
SANDIAL

@Panda003 You can just make the boards images and move the images around to make it smoother.

Profile icon
Panda003

@SANDIAL thank you for the feedback, i'll try to do it