Skip to content

Just a simple Pong Game written in Python with PyGame library

License

Notifications You must be signed in to change notification settings

dbinagi/PongGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PongGame

PongGame is a clone of the classic game called Pong.

In this case i've written it in Python with the PyGame library and i wanted it to be really simple and no longer than 200 lines of code.

Just made it for fun and to learn how to use PyGame library, i hope someone can find it useful too.

Features

  • Similar to old Pong game
  • Two players game
  • The movement of the ball is diagonal, really simple
  • The code is easy to learn and modify

Things that could be added

I wanted to leave this things our so far so the code dont get longer and more complex, but it could be nice to upgrade the game with some of this features

  • More complex ball movement
  • Game score for each player
  • Game Menu to choose between many game types
  • Play against AI
  • Funnier game mechanics (multiple balls, faster and slower balls, drunk balls, just to name a few)

How to play

Player 1 use the keys "w" and "s" to move

Player 2 use arrows keys to move

Just like the old classic, you must not let the ball hit the border behind you

After one player wins, the game restarts until you use the "Escape" key or just close the window

License

PongGame is released under the MIT License.

About

Just a simple Pong Game written in Python with PyGame library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages