Share your repls and programming experiences

← Back to all posts
PONG
Panda003 (20)

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!

Commentshotnewtop
coderash (67)

Could you create a 4
player version?

Panda003 (20)

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

Panda003 (20)

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

idrawhorsechamp (5)

Is it possible to lose?

Labscience (45)

@idrawhorsechamp If you are great at the game

SANDIAL (2)

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.

Luisfetoga (118)

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

Panda003 (20)

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

SANDIAL (2)

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

Panda003 (20)

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