Skip to content

andicodetrf/pongpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Pong Game

This is a simple 2-player game that can only be played on the same machine.

To find out more on game rules, refer to: Wikipedia

wiki-pong-gif

Players:

  • Right Player

    • up-arrow to move paddle upwards
    • down-arrow to move paddle downwards
  • Left Player

    • 'a' to move paddle upwards
    • 'z' to move paddle downwards

Keystroke Behaviour:

  • registers continuous keypress
  • registers holding down of key
  • press 'q' to exit

Limitation:

  • Game only recognizes one keypress at a time

Game Behaviour:

  • Ball speed increases at every paddle hit
  • Ball speed resets once a paddle misses

Initiate Game:

  • run main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages